Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 100.3 kB / 19.72 MB, free: 420 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 210.3 kB / 23.02 MB, free: 2.961 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.713/1.713, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.302/3.302, allocations: 0.5045 GB / 0.8104 GB, free: 2.754 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003536/0.003536, allocations: 67.89 kB / 1.177 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168/1.171, allocations: 180 MB / 1.353 GB, free: 1.605 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.107/1.278, allocations: 77.31 MB / 1.428 GB, free: 4.043 MB / 1.104 GB Notification: Performance of NFInst.instExpressions: time 0.04087/1.319, allocations: 19.89 MB / 1.448 GB, free: 100 kB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00522/1.324, allocations: 154.8 kB / 1.448 GB, free: 15.94 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 0.007549/1.332, allocations: 2.005 MB / 1.45 GB, free: 13.93 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 0.01198/1.344, allocations: 3.142 MB / 1.453 GB, free: 10.77 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.009148/1.353, allocations: 2.678 MB / 1.456 GB, free: 8.109 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 0.0334/1.387, allocations: 20.57 MB / 1.476 GB, free: 3.492 MB / 1.151 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01268/1.399, allocations: 5.446 MB / 1.481 GB, free: 13.96 MB / 1.167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02432/1.424, allocations: 7.276 MB / 1.488 GB, free: 6.688 MB / 1.167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01479/1.438, allocations: 6.141 MB / 1.494 GB, free: 0.5234 MB / 1.167 GB Notification: Performance of NFPackage.collectConstants: time 0.003559/1.442, allocations: 0.6016 MB / 1.495 GB, free: 15.92 MB / 1.182 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009136/1.451, allocations: 1.9 MB / 1.497 GB, free: 14.02 MB / 1.182 GB Notification: Performance of NFScalarize.scalarize: time 0.005008/1.456, allocations: 1.985 MB / 1.498 GB, free: 12.03 MB / 1.182 GB Notification: Performance of NFVerifyModel.verify: time 0.01004/1.466, allocations: 3.205 MB / 1.502 GB, free: 8.809 MB / 1.182 GB Notification: Performance of NFConvertDAE.convert: time 0.02145/1.488, allocations: 10.62 MB / 1.512 GB, free: 14.15 MB / 1.198 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/1.488, allocations: 0 / 1.512 GB, free: 14.15 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.124e-06/1.488, allocations: 0 / 1.512 GB, free: 14.15 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0004459/1.488, allocations: 0 / 1.512 GB, free: 14.15 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 955 * Number of variables: 955 Notification: Performance of Generate backend data structure: time 0.02418/1.512, allocations: 7.749 MB / 1.52 GB, free: 6.312 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/1.512, allocations: 12.92 kB / 1.52 GB, free: 6.301 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02463/1.537, allocations: 3.683 MB / 1.523 GB, free: 2.609 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02023/1.557, allocations: 6.93 MB / 1.53 GB, free: 11.59 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000474/1.558, allocations: 295.5 kB / 1.53 GB, free: 11.3 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002019/1.56, allocations: 392 kB / 1.531 GB, free: 10.92 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0243/1.584, allocations: 8.279 MB / 1.539 GB, free: 2.18 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-05/1.584, allocations: 11.88 kB / 1.539 GB, free: 2.168 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007268/1.585, allocations: 168 kB / 1.539 GB, free: 2.004 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.774e-05/1.585, allocations: 92 kB / 1.539 GB, free: 1.914 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02941/1.614, allocations: 8.149 MB / 1.547 GB, free: 9.754 MB / 1.229 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.05259/1.667, allocations: 21.9 MB / 1.568 GB, free: 3.215 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/1.681, allocations: 4.226 MB / 1.572 GB, free: 14.99 MB / 1.26 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01053/1.691, allocations: 2.993 MB / 1.575 GB, free: 11.99 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0191/1.71, allocations: 6.956 MB / 1.582 GB, free: 4.859 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01219/1.723, allocations: 3.993 MB / 1.586 GB, free: 0.6914 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006779/1.729, allocations: 1.357 MB / 1.587 GB, free: 15.33 MB / 1.276 GB Notification: Performance of pre-optimization done (n=222): time 1.763e-05/1.729, allocations: 0 / 1.587 GB, free: 15.33 MB / 1.276 GB Notification: Performance of matching and sorting (n=222): time 0.2848/2.014, allocations: 47.25 MB / 1.633 GB, free: 20 kB / 1.307 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/2.014, allocations: 77.41 kB / 1.634 GB, free: 15.93 MB / 1.323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0158/2.03, allocations: 5.779 MB / 1.639 GB, free: 10.14 MB / 1.323 GB Notification: Performance of collectPreVariables (initialization): time 0.00116/2.031, allocations: 77.7 kB / 1.639 GB, free: 10.05 MB / 1.323 GB Notification: Performance of collectInitialEqns (initialization): time 0.005084/2.036, allocations: 2.924 MB / 1.642 GB, free: 7.113 MB / 1.323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002184/2.039, allocations: 0.8251 MB / 1.643 GB, free: 6.281 MB / 1.323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003788/2.042, allocations: 0.8986 MB / 1.644 GB, free: 5.375 MB / 1.323 GB Notification: Performance of setup shared object (initialization): time 0.0001603/2.043, allocations: 301.1 kB / 1.644 GB, free: 5.078 MB / 1.323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01131/2.054, allocations: 3.213 MB / 1.647 GB, free: 1.852 MB / 1.323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01403/2.068, allocations: 5.214 MB / 1.652 GB, free: 11.9 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02383/2.092, allocations: 7.425 MB / 1.66 GB, free: 3.961 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-05/2.092, allocations: 12 kB / 1.66 GB, free: 3.949 MB / 1.339 GB Notification: Performance of matching and sorting (n=479) (initialization): time 0.06585/2.158, allocations: 13.97 MB / 1.673 GB, free: 5.891 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/2.158, allocations: 50.67 kB / 1.673 GB, free: 5.836 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/2.158, allocations: 36.05 kB / 1.673 GB, free: 5.801 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0726/2.23, allocations: 13.88 MB / 1.687 GB, free: 7.895 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004631/2.235, allocations: 0.9126 MB / 1.688 GB, free: 6.98 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073/3.308, allocations: 40.14 MB / 1.727 GB, free: 336.6 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008657/3.317, allocations: 0.7346 MB / 1.728 GB, free: 336.5 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/3.318, allocations: 237.7 kB / 1.728 GB, free: 336.5 MB / 1.385 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01283/3.331, allocations: 4.75 MB / 1.733 GB, free: 335 MB / 1.385 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01068/3.341, allocations: 5.183 MB / 1.738 GB, free: 331.7 MB / 1.385 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01853/3.36, allocations: 7.336 MB / 1.745 GB, free: 328.3 MB / 1.385 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.186e-05/3.36, allocations: 12 kB / 1.745 GB, free: 328.3 MB / 1.385 GB Notification: Performance of matching and sorting (n=479) (initialization_lambda0): time 0.04008/3.4, allocations: 11.17 MB / 1.756 GB, free: 317.4 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-05/3.4, allocations: 45.7 kB / 1.756 GB, free: 317.4 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.172e-05/3.4, allocations: 36 kB / 1.756 GB, free: 317.3 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05969/3.46, allocations: 13.66 MB / 1.769 GB, free: 303.8 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005238/3.465, allocations: 0.901 MB / 1.77 GB, free: 302.9 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1732/3.638, allocations: 43.2 MB / 1.812 GB, free: 259.6 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007828/3.646, allocations: 0.7452 MB / 1.813 GB, free: 258.9 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009655/3.647, allocations: 235.8 kB / 1.813 GB, free: 258.7 MB / 1.385 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (384): * Single equations (assignments): 378 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(11,25), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001628/3.649, allocations: 403.8 kB / 1.813 GB, free: 258.3 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002129/3.651, allocations: 0.5533 MB / 1.814 GB, free: 257.9 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08187/3.733, allocations: 15.62 MB / 1.829 GB, free: 242.3 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.435e-05/3.733, allocations: 43.91 kB / 1.829 GB, free: 242.3 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/3.733, allocations: 0 / 1.829 GB, free: 242.3 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08046/3.813, allocations: 16.58 MB / 1.846 GB, free: 225.5 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08407/3.897, allocations: 21.08 MB / 1.866 GB, free: 204.4 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.693e-05/3.897, allocations: 3.938 kB / 1.866 GB, free: 204.4 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00235/3.9, allocations: 487.3 kB / 1.867 GB, free: 203.9 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02602/3.926, allocations: 6.998 MB / 1.873 GB, free: 196.9 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007446/3.926, allocations: 83.92 kB / 1.873 GB, free: 196.8 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1108/4.037, allocations: 28.4 MB / 1.901 GB, free: 168.2 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/4.037, allocations: 0 / 1.901 GB, free: 168.2 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08236/4.12, allocations: 19.93 MB / 1.921 GB, free: 148.2 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003157/4.123, allocations: 1.081 MB / 1.922 GB, free: 147.1 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001598/4.124, allocations: 51.94 kB / 1.922 GB, free: 147.1 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006684/4.131, allocations: 0.6516 MB / 1.922 GB, free: 146.4 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006466/4.132, allocations: 185.7 kB / 1.923 GB, free: 146.2 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004855/4.132, allocations: 123.8 kB / 1.923 GB, free: 146.1 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.006393/4.139, allocations: 3.891 MB / 1.927 GB, free: 142.2 MB / 1.385 GB Notification: Performance of sort global known variables: time 2.01e-07/4.139, allocations: 0 / 1.927 GB, free: 142.2 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.01133/4.15, allocations: 3.514 MB / 1.93 GB, free: 138.7 MB / 1.385 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (pump.vol.dynBal.U,hea.outCon.T,val.actPos.y,senTem[1].T,senTem[2].T,senTem[3].T,senTem[4].T,senTem[5].T,senTem[6].T,senTem[7].T,senTem[8].T,senTem[9].T,senTem[10].T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(11,15), (2,5), (10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001767/4.152, allocations: 0.6757 MB / 1.931 GB, free: 138 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.03297/4.185, allocations: 12.09 MB / 1.942 GB, free: 125.8 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/4.185, allocations: 0 / 1.942 GB, free: 125.8 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.01174/4.196, allocations: 3.648 MB / 1.946 GB, free: 122.1 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01463/4.211, allocations: 3.053 MB / 1.949 GB, free: 119.2 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02903/4.24, allocations: 13.59 MB / 1.962 GB, free: 105.5 MB / 1.385 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004182/4.244, allocations: 3.436 MB / 1.966 GB, free: 102.1 MB / 1.385 GB Notification: Performance of simCode: alias equations: time 0.007229/4.252, allocations: 2.146 MB / 1.968 GB, free: 99.9 MB / 1.385 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/4.253, allocations: 459.1 kB / 1.968 GB, free: 99.45 MB / 1.385 GB Notification: Performance of SimCode: time 1.312e-06/4.253, allocations: 0 / 1.968 GB, free: 99.45 MB / 1.385 GB Notification: Performance of Templates: time 0.2536/4.507, allocations: 179.2 MB / 2.143 GB, free: 1.73 MB / 1.464 GB " [Timeout remaining time 295] make -j1 -f Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 18.798294316977262]