Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.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.001903/0.001903, allocations: 100.3 kB / 19.72 MB, free: 424 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.002065/0.002065, allocations: 224.2 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.754/1.754, allocations: 230.6 MB / 256.8 MB, free: 9.648 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.276/3.276, allocations: 0.5045 GB / 0.8104 GB, free: 2.828 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.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource") translateModel(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.004762/0.004762, allocations: 68.08 kB / 1.177 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.066, allocations: 180 MB / 1.353 GB, free: 1.676 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.3297/1.396, allocations: 199.8 MB / 1.548 GB, free: 9.117 MB / 1.229 GB Notification: Performance of NFInst.instExpressions: time 0.02484/1.421, allocations: 11.79 MB / 1.56 GB, free: 13.29 MB / 1.245 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003784/1.425, allocations: 91.25 kB / 1.56 GB, free: 13.2 MB / 1.245 GB Notification: Performance of NFTyping.typeComponents: time 0.004209/1.429, allocations: 1.165 MB / 1.561 GB, free: 12.03 MB / 1.245 GB Notification: Performance of NFTyping.typeBindings: time 0.01182/1.441, allocations: 3.294 MB / 1.564 GB, free: 8.727 MB / 1.245 GB Notification: Performance of NFTyping.typeClassSections: time 0.006625/1.447, allocations: 1.829 MB / 1.566 GB, free: 6.91 MB / 1.245 GB Notification: Performance of NFFlatten.flatten: time 0.009171/1.456, allocations: 4.179 MB / 1.57 GB, free: 2.723 MB / 1.245 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002574/1.459, allocations: 1.076 MB / 1.571 GB, free: 1.617 MB / 1.245 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007554/1.466, allocations: 2.209 MB / 1.573 GB, free: 15.4 MB / 1.26 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00404/1.471, allocations: 1.374 MB / 1.574 GB, free: 14.03 MB / 1.26 GB Notification: Performance of NFPackage.collectConstants: time 0.0005557/1.471, allocations: 180 kB / 1.575 GB, free: 13.85 MB / 1.26 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007196/1.478, allocations: 2.28 MB / 1.577 GB, free: 11.57 MB / 1.26 GB Notification: Performance of NFScalarize.scalarize: time 0.001725/1.48, allocations: 0.9891 MB / 1.578 GB, free: 10.57 MB / 1.26 GB Notification: Performance of NFVerifyModel.verify: time 0.003247/1.483, allocations: 1.065 MB / 1.579 GB, free: 9.504 MB / 1.26 GB Notification: Performance of NFConvertDAE.convert: time 0.01114/1.494, allocations: 4.387 MB / 1.583 GB, free: 5.102 MB / 1.26 GB Notification: Performance of FrontEnd - DAE generated: time 1.164e-05/1.494, allocations: 0 / 1.583 GB, free: 5.102 MB / 1.26 GB Notification: Performance of FrontEnd: time 2.545e-06/1.494, allocations: 0 / 1.583 GB, free: 5.102 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.0001033/1.494, allocations: 0 / 1.583 GB, free: 5.102 MB / 1.26 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.007647/1.502, allocations: 3.087 MB / 1.586 GB, free: 1.953 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/1.502, allocations: 12.92 kB / 1.586 GB, free: 1.941 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00483/1.507, allocations: 0.8022 MB / 1.587 GB, free: 1.137 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006239/1.513, allocations: 2.459 MB / 1.589 GB, free: 14.61 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/1.513, allocations: 141.5 kB / 1.589 GB, free: 14.46 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002394/1.514, allocations: 108 kB / 1.59 GB, free: 14.36 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00478/1.518, allocations: 2.249 MB / 1.592 GB, free: 11.99 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.595e-05/1.519, allocations: 4 kB / 1.592 GB, free: 11.99 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/1.519, allocations: 40 kB / 1.592 GB, free: 11.95 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.208e-05/1.519, allocations: 46.08 kB / 1.592 GB, free: 11.9 MB / 1.276 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005308/1.524, allocations: 2.616 MB / 1.594 GB, free: 9.266 MB / 1.276 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.01452/1.539, allocations: 6.624 MB / 1.601 GB, free: 2.527 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004418/1.543, allocations: 2.002 MB / 1.603 GB, free: 0.5 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/1.545, allocations: 0.9489 MB / 1.604 GB, free: 15.54 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007628/1.546, allocations: 172.5 kB / 1.604 GB, free: 15.37 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002275/1.548, allocations: 1.176 MB / 1.605 GB, free: 14.13 MB / 1.292 GB Notification: Performance of pre-optimization done (n=91): time 3.416e-06/1.548, allocations: 0 / 1.605 GB, free: 14.13 MB / 1.292 GB Notification: Performance of matching and sorting (n=91): time 0.02399/1.572, allocations: 5.736 MB / 1.611 GB, free: 8.336 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000322/1.572, allocations: 145.2 kB / 1.611 GB, free: 8.164 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006919/1.579, allocations: 3.698 MB / 1.614 GB, free: 4.441 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003406/1.58, allocations: 53.69 kB / 1.614 GB, free: 4.383 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001306/1.581, allocations: 1.026 MB / 1.615 GB, free: 3.348 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005243/1.582, allocations: 313.4 kB / 1.616 GB, free: 3.039 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005061/1.582, allocations: 222.5 kB / 1.616 GB, free: 2.816 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0002372/1.582, allocations: 349.8 kB / 1.616 GB, free: 2.469 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002299/1.585, allocations: 1.153 MB / 1.617 GB, free: 1.297 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00301/1.588, allocations: 1.6 MB / 1.619 GB, free: 15.57 MB / 1.307 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004103/1.592, allocations: 2.182 MB / 1.621 GB, free: 13.29 MB / 1.307 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/1.592, allocations: 0 / 1.621 GB, free: 13.29 MB / 1.307 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009648/1.601, allocations: 3.727 MB / 1.625 GB, free: 9.523 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 9.946e-05/1.601, allocations: 75.39 kB / 1.625 GB, free: 9.438 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/1.601, allocations: 4 kB / 1.625 GB, free: 9.434 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004927/1.606, allocations: 1.921 MB / 1.627 GB, free: 7.5 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000988/1.607, allocations: 187.8 kB / 1.627 GB, free: 7.316 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/1.618, allocations: 6.345 MB / 1.633 GB, free: 0.707 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003004/1.621, allocations: 191.3 kB / 1.633 GB, free: 0.5195 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/1.621, allocations: 55.97 kB / 1.633 GB, free: 476 kB / 1.307 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 17 (THotIn_set.nextEventScaled,THotIn_set.nextEvent,$PRE.THotIn_set.nextEvent,THotIn_set.last,THotIn_set.b,THotIn_set.a,mHot_flow_set.nextEventScaled,mHot_flow_set.nextEvent,$PRE.mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.b,mHot_flow_set.a,orc.cyc.hys.y,$PRE.orc.cyc.hys.y,orc.on_actual,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 79 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001552/1.623, allocations: 0.6528 MB / 1.634 GB, free: 15.79 MB / 1.323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007118/1.623, allocations: 238.5 kB / 1.634 GB, free: 15.55 MB / 1.323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008503/1.632, allocations: 3.236 MB / 1.637 GB, free: 12.27 MB / 1.323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/1.632, allocations: 8 kB / 1.637 GB, free: 12.27 MB / 1.323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.632, allocations: 0 / 1.637 GB, free: 12.27 MB / 1.323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/1.632, allocations: 3.984 kB / 1.637 GB, free: 12.26 MB / 1.323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/1.646, allocations: 5.173 MB / 1.642 GB, free: 6.977 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/1.646, allocations: 0 / 1.642 GB, free: 6.977 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006329/1.647, allocations: 99.88 kB / 1.643 GB, free: 6.879 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004825/1.652, allocations: 1.916 MB / 1.644 GB, free: 4.949 MB / 1.323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001433/1.652, allocations: 31.98 kB / 1.644 GB, free: 4.918 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009705/1.662, allocations: 6.309 MB / 1.651 GB, free: 14.36 MB / 1.339 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.662, allocations: 4 kB / 1.651 GB, free: 14.35 MB / 1.339 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008742/1.67, allocations: 3.306 MB / 1.654 GB, free: 10.95 MB / 1.339 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/1.672, allocations: 430 kB / 1.654 GB, free: 10.53 MB / 1.339 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003549/1.672, allocations: 28 kB / 1.654 GB, free: 10.5 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/1.674, allocations: 107.9 kB / 1.654 GB, free: 10.4 MB / 1.339 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/1.674, allocations: 84.41 kB / 1.654 GB, free: 10.32 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/1.674, allocations: 43.97 kB / 1.654 GB, free: 10.27 MB / 1.339 GB Notification: Performance of sorting global known variables: time 0.00413/1.678, allocations: 2.709 MB / 1.657 GB, free: 7.551 MB / 1.339 GB Notification: Performance of sort global known variables: time 1.2e-07/1.678, allocations: 0 / 1.657 GB, free: 7.551 MB / 1.339 GB Notification: Performance of remove unused functions: time 0.002578/1.681, allocations: 0.7409 MB / 1.658 GB, free: 6.809 MB / 1.339 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,orc.on_actual,orc.cyc.hys.y,mHot_flow_set.a,mHot_flow_set.b,mHot_flow_set.last,mHot_flow_set.nextEvent,mHot_flow_set.nextEventScaled,THotIn_set.a,THotIn_set.b,THotIn_set.last,THotIn_set.nextEvent,THotIn_set.nextEventScaled) * Number of discrete states: 13 (THotIn_set.nextEvent,THotIn_set.last,THotIn_set.nextEventScaled,THotIn_set.b,THotIn_set.a,$whenCondition2,mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.nextEventScaled,mHot_flow_set.b,mHot_flow_set.a,$whenCondition1,orc.cyc.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00132/1.682, allocations: 494.2 kB / 1.658 GB, free: 6.312 MB / 1.339 GB Notification: Performance of simCode: created initialization part: time 0.005881/1.688, allocations: 2.669 MB / 1.661 GB, free: 3.57 MB / 1.339 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/1.688, allocations: 3.938 kB / 1.661 GB, free: 3.566 MB / 1.339 GB Notification: Performance of simCode: created simulation system equations: time 0.002865/1.691, allocations: 1.402 MB / 1.662 GB, free: 2.105 MB / 1.339 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004026/1.695, allocations: 0.7675 MB / 1.663 GB, free: 1.344 MB / 1.339 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/1.706, allocations: 4.771 MB / 1.668 GB, free: 12.5 MB / 1.354 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/1.707, allocations: 1.11 MB / 1.669 GB, free: 11.35 MB / 1.354 GB Notification: Performance of simCode: alias equations: time 0.001573/1.709, allocations: 338.1 kB / 1.669 GB, free: 11.02 MB / 1.354 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003664/1.709, allocations: 123.4 kB / 1.669 GB, free: 10.9 MB / 1.354 GB Notification: Performance of SimCode: time 1.393e-06/1.709, allocations: 3.938 kB / 1.669 GB, free: 10.89 MB / 1.354 GB Notification: Performance of Templates: time 0.8256/2.535, allocations: 47.83 MB / 1.716 GB, free: 352.6 MB / 1.385 GB " [Timeout remaining time 297] make -j1 -f Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & ./Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 13.759243478998542]