Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 102.7 kB / 18.05 MB, free: 4.289 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 192.4 kB / 21.17 MB, free: 1.18 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 249.7 MB, free: 3.227 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 489.7 MB / 0.7759 GB, free: 2.418 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=509,variableFilter="time|pum.m_flow|orc.PExp|orc.PPum|orc.QEva_flow|orc.QCon_flow|senTWatSup.T|senTWatRet.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater") translateModel(Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=509,variableFilter="time|pum.m_flow|orc.PExp|orc.PPum|orc.QEva_flow|orc.QCon_flow|senTWatSup.T|senTWatRet.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 71.89 kB / 1.126 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.011, allocations: 172.1 MB / 1.294 GB, free: 38.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater): time 0.3701/1.381, allocations: 316 MB / 1.603 GB, free: 6.008 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.05582/1.437, allocations: 33.39 MB / 1.636 GB, free: 4.539 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009251/1.446, allocations: 179 kB / 1.636 GB, free: 4.363 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.01173/1.458, allocations: 3.378 MB / 1.639 GB, free: 0.9688 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.01884/1.477, allocations: 6.571 MB / 1.646 GB, free: 10.37 MB / 1.326 GB Notification: Performance of NFTyping.typeClassSections: time 0.01235/1.489, allocations: 4.32 MB / 1.65 GB, free: 6.078 MB / 1.326 GB Notification: Performance of NFFlatten.flatten: time 0.027/1.516, allocations: 16.22 MB / 1.666 GB, free: 5.832 MB / 1.342 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007624/1.524, allocations: 3.03 MB / 1.669 GB, free: 2.73 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01376/1.538, allocations: 4.823 MB / 1.673 GB, free: 13.89 MB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007704/1.545, allocations: 3.443 MB / 1.677 GB, free: 10.44 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.001845/1.547, allocations: 440 kB / 1.677 GB, free: 10.01 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01148/1.559, allocations: 4.659 MB / 1.682 GB, free: 5.344 MB / 1.357 GB Notification: Performance of NFScalarize.scalarize: time 0.003078/1.562, allocations: 1.721 MB / 1.683 GB, free: 3.617 MB / 1.357 GB Notification: Performance of NFVerifyModel.verify: time 0.006011/1.568, allocations: 2.764 MB / 1.686 GB, free: 0.8398 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.01832/1.586, allocations: 8.914 MB / 1.695 GB, free: 7.895 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/1.586, allocations: 0 / 1.695 GB, free: 7.895 MB / 1.373 GB Notification: Performance of FrontEnd: time 2.174e-06/1.586, allocations: 0 / 1.695 GB, free: 7.895 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.0002661/1.586, allocations: 0 / 1.695 GB, free: 7.895 MB / 1.373 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 622 * Number of variables: 622 Notification: Performance of Generate backend data structure: time 0.01601/1.602, allocations: 6.06 MB / 1.701 GB, free: 1.719 MB / 1.373 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/1.602, allocations: 8.031 kB / 1.701 GB, free: 1.711 MB / 1.373 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006724/1.609, allocations: 1.117 MB / 1.702 GB, free: 0.5898 MB / 1.373 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01323/1.622, allocations: 5.241 MB / 1.707 GB, free: 11.27 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003621/1.623, allocations: 243.1 kB / 1.707 GB, free: 11.03 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001123/1.624, allocations: 259.9 kB / 1.707 GB, free: 10.77 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00862/1.633, allocations: 3.61 MB / 1.711 GB, free: 7.039 MB / 1.389 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-05/1.633, allocations: 7.938 kB / 1.711 GB, free: 7.031 MB / 1.389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002957/1.633, allocations: 112 kB / 1.711 GB, free: 6.922 MB / 1.389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/1.633, allocations: 88.72 kB / 1.711 GB, free: 6.832 MB / 1.389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006821/1.64, allocations: 3.669 MB / 1.715 GB, free: 3.148 MB / 1.389 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.02661/1.666, allocations: 16.16 MB / 1.73 GB, free: 2.035 MB / 1.404 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005535/1.672, allocations: 2.559 MB / 1.733 GB, free: 15.45 MB / 1.42 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00281/1.675, allocations: 1.369 MB / 1.734 GB, free: 14.09 MB / 1.42 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 evalFunc (simulation): time 0.01148/1.686, allocations: 5.956 MB / 1.74 GB, free: 7.742 MB / 1.42 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003228/1.689, allocations: 1.566 MB / 1.742 GB, free: 6.156 MB / 1.42 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001845/1.691, allocations: 234.5 kB / 1.742 GB, free: 5.926 MB / 1.42 GB Notification: Performance of pre-optimization done (n=178): time 7.935e-06/1.691, allocations: 0 / 1.742 GB, free: 5.926 MB / 1.42 GB Notification: Performance of matching and sorting (n=180): time 0.03262/1.724, allocations: 10.09 MB / 1.752 GB, free: 11.7 MB / 1.436 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/1.724, allocations: 180.1 kB / 1.752 GB, free: 11.48 MB / 1.436 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009794/1.734, allocations: 5.545 MB / 1.757 GB, free: 5.938 MB / 1.436 GB Notification: Performance of collectPreVariables (initialization): time 0.0005063/1.734, allocations: 73.7 kB / 1.757 GB, free: 5.859 MB / 1.436 GB Notification: Performance of collectInitialEqns (initialization): time 0.002287/1.737, allocations: 2.033 MB / 1.759 GB, free: 3.812 MB / 1.436 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009601/1.738, allocations: 0.639 MB / 1.76 GB, free: 3.168 MB / 1.436 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001302/1.739, allocations: 0.556 MB / 1.761 GB, free: 2.605 MB / 1.436 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.739, allocations: 305.1 kB / 1.761 GB, free: 2.305 MB / 1.436 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003339/1.742, allocations: 1.875 MB / 1.763 GB, free: 432 kB / 1.436 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003874/1.746, allocations: 2.465 MB / 1.765 GB, free: 13.73 MB / 1.451 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: orc.vol1.dynBal.medium.p = orc.vol1.dynBal.p_start (sinHot.p = orc.vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.04063/1.787, allocations: 12.32 MB / 1.777 GB, free: 1.148 MB / 1.451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/1.787, allocations: 4 kB / 1.777 GB, free: 1.145 MB / 1.451 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01112/1.798, allocations: 5.558 MB / 1.783 GB, free: 11.52 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 7.784e-05/1.798, allocations: 46.34 kB / 1.783 GB, free: 11.47 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/1.798, allocations: 12 kB / 1.783 GB, free: 11.46 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00404/1.802, allocations: 1.693 MB / 1.784 GB, free: 9.762 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002899/1.805, allocations: 0.5266 MB / 1.785 GB, free: 9.234 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006355/1.811, allocations: 5.155 MB / 1.79 GB, free: 3.863 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004702/1.816, allocations: 183.8 kB / 1.79 GB, free: 3.684 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003642/1.816, allocations: 128 kB / 1.79 GB, free: 3.559 MB / 1.467 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: orc.vol1.dynBal.medium.p = orc.vol1.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005142/1.822, allocations: 2.645 MB / 1.793 GB, free: 0.9062 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003639/1.825, allocations: 2.359 MB / 1.795 GB, free: 14.32 MB / 1.482 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: orc.vol1.dynBal.medium.p = orc.vol1.dynBal.p_start (sinHot.p = orc.vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03971/1.865, allocations: 11.96 MB / 1.807 GB, free: 2.09 MB / 1.482 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.459e-05/1.865, allocations: 4 kB / 1.807 GB, free: 2.086 MB / 1.482 GB Notification: Performance of matching and sorting (n=347) (initialization_lambda0): time 0.01062/1.876, allocations: 5.316 MB / 1.812 GB, free: 12.71 MB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 6.217e-05/1.876, allocations: 42.36 kB / 1.812 GB, free: 12.66 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/1.876, allocations: 12 kB / 1.812 GB, free: 12.65 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00363/1.879, allocations: 1.681 MB / 1.814 GB, free: 10.96 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002675/1.882, allocations: 0.5149 MB / 1.814 GB, free: 10.45 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006342/1.888, allocations: 5.573 MB / 1.819 GB, free: 4.574 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004416/1.893, allocations: 188.1 kB / 1.82 GB, free: 4.391 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005565/1.893, allocations: 120 kB / 1.82 GB, free: 4.273 MB / 1.498 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: orc.vol1.dynBal.medium.p = orc.vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.orc.cyc.hys.y,$PRE.hys.y,booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y,and1.y,hys.y,TWatRet.nextEventScaled,TWatRet.nextEvent,$PRE.TWatRet.nextEvent,TWatRet.last,TWatRet.b,TWatRet.a,orc.cyc.hys.y,orc.on_actual,$whenCondition2,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (272): * Single equations (assignments): 264 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(3,27), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0009785/1.894, allocations: 369 kB / 1.82 GB, free: 3.898 MB / 1.498 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001237/1.896, allocations: 465 kB / 1.821 GB, free: 3.441 MB / 1.498 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008676/1.904, allocations: 4.061 MB / 1.825 GB, free: 15.35 MB / 1.514 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006298/1.91, allocations: 3.331 MB / 1.828 GB, free: 11.97 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/1.91, allocations: 7.984 kB / 1.828 GB, free: 11.96 MB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002248/1.913, allocations: 0.7827 MB / 1.829 GB, free: 11.16 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008329/1.914, allocations: 40 kB / 1.829 GB, free: 11.12 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/1.916, allocations: 135.8 kB / 1.829 GB, free: 10.99 MB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003276/1.916, allocations: 137.8 kB / 1.829 GB, free: 10.86 MB / 1.514 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01068/1.927, allocations: 4.036 MB / 1.833 GB, free: 6.781 MB / 1.514 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00986/1.937, allocations: 5.07 MB / 1.838 GB, free: 1.688 MB / 1.514 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002472/1.939, allocations: 1.265 MB / 1.839 GB, free: 428 kB / 1.514 GB Notification: Performance of sorting global known variables: time 0.006648/1.946, allocations: 3.875 MB / 1.843 GB, free: 12.55 MB / 1.529 GB Notification: Performance of Backend: time 7.92e-07/1.946, allocations: 3.938 kB / 1.843 GB, free: 12.55 MB / 1.529 GB Notification: Performance of simCode: created initialization part: time 0.01808/1.964, allocations: 6.631 MB / 1.849 GB, free: 6.02 MB / 1.529 GB Notification: Performance of SimCode: time 0.0215/1.985, allocations: 10.28 MB / 1.859 GB, free: 11.71 MB / 1.545 GB Notification: Performance of Templates: time 0.8624/2.848, allocations: 108.7 MB / 1.965 GB, free: 478.1 MB / 1.545 GB [Timeout remaining time 297] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater.pipe 2>&1) [Timeout 400]