Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.689/1.689, allocations: 288.4 MB / 304.3 MB, free: 8.047 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 168.6 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.4 MB / 0.6316 GB, free: 9.867 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007836/0.0007835, allocations: 86.28 kB / 0.745 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003677, allocations: 11.28 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.155, allocations: 115.3 MB / 0.9807 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.06125/0.2163, allocations: 74.42 MB / 1.053 GB, free: 0.7031 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.3783/0.5946, allocations: 20.96 MB / 1.074 GB, free: 18.94 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002926/0.5976, allocations: 92.72 kB / 1.074 GB, free: 18.94 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002776/0.6004, allocations: 0.8867 MB / 1.075 GB, free: 18.94 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006699/0.6071, allocations: 2.416 MB / 1.077 GB, free: 18.85 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007491/0.6146, allocations: 2.85 MB / 1.08 GB, free: 18.77 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01864/0.6333, allocations: 17.56 MB / 1.097 GB, free: 17.71 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008005/0.6413, allocations: 5.966 MB / 1.103 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00892/0.6503, allocations: 4.665 MB / 1.107 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00808/0.6584, allocations: 4.579 MB / 1.112 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001563/0.66, allocations: 260.5 kB / 1.112 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006955/0.6669, allocations: 1.565 MB / 1.114 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003067/0.67, allocations: 1.223 MB / 1.115 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00681/0.6769, allocations: 2.782 MB / 1.118 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008396/0.6853, allocations: 6.928 MB / 1.124 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.6854, allocations: 3.656 kB / 1.124 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6854, allocations: 2.516 kB / 1.124 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002865/0.6857, allocations: 0.9688 kB / 1.124 GB, free: 9.762 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 835 * Number of variables: 835 Notification: Performance of Generate backend data structure: time 0.01307/0.6987, allocations: 5.366 MB / 1.13 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.6988, allocations: 8.375 kB / 1.13 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004413/0.7032, allocations: 0.8405 MB / 1.131 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009916/0.7131, allocations: 5.191 MB / 1.136 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002502/0.7134, allocations: 265 kB / 1.136 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001317/0.7148, allocations: 339 kB / 1.136 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009697/0.7245, allocations: 5.731 MB / 1.142 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.546e-05/0.7246, allocations: 15.56 kB / 1.142 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000506/0.7251, allocations: 147.7 kB / 1.142 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-05/0.7251, allocations: 82.56 kB / 1.142 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00867/0.7338, allocations: 5.557 MB / 1.147 GB, free: 0.6797 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03487/0.7687, allocations: 24.01 MB / 1.171 GB, free: 10 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004952/0.7737, allocations: 2.805 MB / 1.174 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002892/0.7766, allocations: 1.918 MB / 1.175 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01248/0.7891, allocations: 7.141 MB / 1.182 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003061/0.7922, allocations: 1.949 MB / 1.184 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00445/0.7967, allocations: 1.242 MB / 1.186 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=155): time 6.362e-06/0.7967, allocations: 4 kB / 1.186 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=155): time 0.02096/0.8177, allocations: 7.66 MB / 1.193 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.8178, allocations: 149.8 kB / 1.193 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006878/0.8247, allocations: 4.847 MB / 1.198 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0004289/0.8251, allocations: 65.7 kB / 1.198 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002157/0.8273, allocations: 2.444 MB / 1.2 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007172/0.828, allocations: 0.5498 MB / 1.201 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.8282, allocations: 48 kB / 1.201 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.8284, allocations: 423.4 kB / 1.201 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002748/0.8311, allocations: 1.66 MB / 1.203 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003413/0.8346, allocations: 2.888 MB / 1.206 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006115/0.8407, allocations: 4.55 MB / 1.21 GB, free: 292 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.617e-05/0.8407, allocations: 8 kB / 1.21 GB, free: 284 kB / 0.7448 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01111/0.8518, allocations: 6.035 MB / 1.216 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007475/0.8526, allocations: 1.108 MB / 1.217 GB, free: 8.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.313e-05/0.8527, allocations: 36 kB / 1.217 GB, free: 8.625 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07051/0.9232, allocations: 11.87 MB / 1.229 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002997/0.9262, allocations: 0.663 MB / 1.229 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007801/0.934, allocations: 5.038 MB / 1.234 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004866/0.9389, allocations: 347.7 kB / 1.235 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003555/0.9393, allocations: 159.9 kB / 1.235 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.9393, allocations: 8 kB / 1.235 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008508/0.9478, allocations: 5.369 MB / 1.24 GB, free: 1.129 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-05/0.9479, allocations: 39.98 kB / 1.24 GB, free: 1.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07058/1.018, allocations: 11.67 MB / 1.252 GB, free: 5.453 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003027/1.022, allocations: 0.6552 MB / 1.252 GB, free: 4.797 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/1.034, allocations: 8.078 MB / 1.26 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00533/1.039, allocations: 323.9 kB / 1.26 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004959/1.04, allocations: 163.8 kB / 1.261 GB, free: 11.96 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.003069/1.043, allocations: 1.55 MB / 1.262 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/1.044, allocations: 466.3 kB / 1.263 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008771/1.053, allocations: 4.86 MB / 1.267 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01921/1.072, allocations: 7 MB / 1.274 GB, free: 13.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/1.072, allocations: 4 kB / 1.274 GB, free: 13.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003688/1.076, allocations: 1.073 MB / 1.275 GB, free: 12.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/1.077, allocations: 31.98 kB / 1.275 GB, free: 12.67 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002988/1.08, allocations: 271.3 kB / 1.275 GB, free: 12.41 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003972/1.081, allocations: 125.1 kB / 1.276 GB, free: 12.28 MB / 0.823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01176/1.092, allocations: 5.401 MB / 1.281 GB, free: 6.875 MB / 0.823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009609/1.102, allocations: 6.087 MB / 1.287 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002797/1.105, allocations: 1.963 MB / 1.289 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.005037/1.11, allocations: 3.31 MB / 1.292 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of Backend: time 3.71e-07/1.11, allocations: 0 / 1.292 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01687/1.127, allocations: 6.228 MB / 1.298 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of SimCode: time 0.02522/1.152, allocations: 12.9 MB / 1.311 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of Templates: time 0.1668/1.319, allocations: 112.3 MB / 1.42 GB, free: 8.797 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)