Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater.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.001678/0.001678, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 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.00175/0.00175, allocations: 207.5 kB / 23 MB, free: 4.934 MB / 14.72 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.618/1.618, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.595/3.595, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Examples.ORCHotWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pum.m_flow|orc.PExp|orc.PPum|orc.QEva_flow|orc.QCon_flow|senTWatSup.T|senTWatRet.T",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater") translateModel(Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pum.m_flow|orc.PExp|orc.PPum|orc.QEva_flow|orc.QCon_flow|senTWatSup.T|senTWatRet.T",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002616/0.002616, allocations: 72.8 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5295/0.5322, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater): time 0.4141/0.9463, allocations: 282.4 MB / 1.603 GB, free: 5.574 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 1.32/2.267, allocations: 31.14 MB / 1.633 GB, free: 31.05 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0109/2.278, allocations: 250.8 kB / 1.634 GB, free: 31.05 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01542/2.293, allocations: 3.303 MB / 1.637 GB, free: 30.98 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02894/2.322, allocations: 6.696 MB / 1.643 GB, free: 30.78 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01691/2.339, allocations: 4.368 MB / 1.648 GB, free: 30.7 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.03333/2.372, allocations: 16.53 MB / 1.664 GB, free: 30.66 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007967/2.38, allocations: 2.961 MB / 1.667 GB, free: 30.45 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01705/2.397, allocations: 5.016 MB / 1.672 GB, free: 30.41 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01039/2.408, allocations: 3.441 MB / 1.675 GB, free: 30.22 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.00254/2.41, allocations: 422.5 kB / 1.675 GB, free: 30.22 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01469/2.425, allocations: 3.943 MB / 1.679 GB, free: 30.16 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.004262/2.429, allocations: 1.697 MB / 1.681 GB, free: 29.93 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.008473/2.438, allocations: 2.185 MB / 1.683 GB, free: 29.33 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02606/2.464, allocations: 8.816 MB / 1.692 GB, free: 28.13 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/2.464, allocations: 2.875 kB / 1.692 GB, free: 28.13 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.655e-06/2.464, allocations: 0.7188 kB / 1.692 GB, free: 28.13 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0004089/2.464, allocations: 0.8125 kB / 1.692 GB, free: 28.13 MB / 1.295 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.0232/2.487, allocations: 5.958 MB / 1.697 GB, free: 25.32 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/2.487, allocations: 8.969 kB / 1.697 GB, free: 25.32 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007595/2.495, allocations: 1.112 MB / 1.698 GB, free: 25.01 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01631/2.511, allocations: 5.028 MB / 1.703 GB, free: 24.02 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004974/2.512, allocations: 257.7 kB / 1.704 GB, free: 23.95 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001854/2.514, allocations: 269.1 kB / 1.704 GB, free: 23.95 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01412/2.528, allocations: 4.067 MB / 1.708 GB, free: 23.05 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002188/2.528, allocations: 7.094 kB / 1.708 GB, free: 23.05 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001255/2.529, allocations: 100.9 kB / 1.708 GB, free: 23.05 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001777/2.529, allocations: 95.73 kB / 1.708 GB, free: 23.05 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/2.541, allocations: 3.7 MB / 1.712 GB, free: 22.65 MB / 1.295 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.02447/2.565, allocations: 11.68 MB / 1.723 GB, free: 16.76 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004867/2.57, allocations: 2.536 MB / 1.726 GB, free: 15.83 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002498/2.572, allocations: 1.401 MB / 1.727 GB, free: 15.32 MB / 1.295 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.01016/2.583, allocations: 3.896 MB / 1.731 GB, free: 12.9 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002761/2.585, allocations: 1.968 MB / 1.733 GB, free: 11.57 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002167/2.588, allocations: 202.4 kB / 1.733 GB, free: 11.44 MB / 1.295 GB Notification: Performance of pre-optimization done (n=178): time 7.484e-06/2.588, allocations: 0 / 1.733 GB, free: 11.44 MB / 1.295 GB Notification: Performance of matching and sorting (n=180): time 0.03022/2.618, allocations: 9.869 MB / 1.742 GB, free: 6.395 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/2.618, allocations: 155.9 kB / 1.743 GB, free: 6.23 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009065/2.627, allocations: 5.342 MB / 1.748 GB, free: 3.562 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0007496/2.628, allocations: 73.86 kB / 1.748 GB, free: 3.5 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001801/2.629, allocations: 2.079 MB / 1.75 GB, free: 1.688 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009534/2.63, allocations: 0.6343 MB / 1.751 GB, free: 1.141 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009571/2.631, allocations: 0.5522 MB / 1.751 GB, free: 0.832 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.65e-05/2.631, allocations: 301.1 kB / 1.751 GB, free: 0.5352 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003005/2.634, allocations: 1.934 MB / 1.753 GB, free: 15.63 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00425/2.639, allocations: 2.981 MB / 1.756 GB, free: 13.46 MB / 1.311 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.04023/2.679, allocations: 12.36 MB / 1.768 GB, free: 2.426 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.249e-05/2.679, allocations: 8 kB / 1.768 GB, free: 2.418 MB / 1.311 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01185/2.691, allocations: 5.601 MB / 1.774 GB, free: 12.9 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 8.338e-05/2.691, allocations: 41.75 kB / 1.774 GB, free: 12.86 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-05/2.691, allocations: 16 kB / 1.774 GB, free: 12.84 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004072/2.695, allocations: 1.694 MB / 1.775 GB, free: 11.14 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002822/2.698, allocations: 0.5217 MB / 1.776 GB, free: 10.64 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006694/2.705, allocations: 5.031 MB / 1.781 GB, free: 5.457 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004411/2.709, allocations: 160 kB / 1.781 GB, free: 5.301 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005057/2.709, allocations: 132 kB / 1.781 GB, free: 5.172 MB / 1.326 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.005856/2.715, allocations: 2.693 MB / 1.784 GB, free: 2.469 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004395/2.72, allocations: 2.869 MB / 1.787 GB, free: 15.27 MB / 1.342 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.04036/2.76, allocations: 11.98 MB / 1.798 GB, free: 3.117 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.575e-05/2.76, allocations: 0 / 1.798 GB, free: 3.117 MB / 1.342 GB Notification: Performance of matching and sorting (n=347) (initialization_lambda0): time 0.01214/2.772, allocations: 5.367 MB / 1.803 GB, free: 13.76 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/2.772, allocations: 45.69 kB / 1.804 GB, free: 13.71 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.124e-05/2.772, allocations: 16.03 kB / 1.804 GB, free: 13.7 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004035/2.776, allocations: 1.666 MB / 1.805 GB, free: 12.02 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/2.779, allocations: 0.5217 MB / 1.806 GB, free: 11.53 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007179/2.786, allocations: 5.304 MB / 1.811 GB, free: 6.023 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00485/2.791, allocations: 179.8 kB / 1.811 GB, free: 5.848 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007216/2.792, allocations: 131.9 kB / 1.811 GB, free: 5.719 MB / 1.357 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.001038/2.793, allocations: 363.4 kB / 1.811 GB, free: 5.383 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001593/2.795, allocations: 449 kB / 1.812 GB, free: 4.941 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/2.805, allocations: 4.208 MB / 1.816 GB, free: 0.7109 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007837/2.813, allocations: 3.502 MB / 1.819 GB, free: 13.17 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/2.813, allocations: 0 / 1.819 GB, free: 13.17 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003366/2.816, allocations: 0.6783 MB / 1.82 GB, free: 12.49 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001293/2.818, allocations: 43.98 kB / 1.82 GB, free: 12.45 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003294/2.821, allocations: 132.6 kB / 1.82 GB, free: 12.32 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004779/2.821, allocations: 133.7 kB / 1.82 GB, free: 12.19 MB / 1.373 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01547/2.837, allocations: 4.075 MB / 1.824 GB, free: 8.113 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01552/2.852, allocations: 5.166 MB / 1.829 GB, free: 2.914 MB / 1.373 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003958/2.856, allocations: 1.31 MB / 1.831 GB, free: 1.594 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.0125/2.869, allocations: 3.729 MB / 1.834 GB, free: 13.87 MB / 1.389 GB Notification: Performance of Backend: time 8.91e-07/2.869, allocations: 3.938 kB / 1.834 GB, free: 13.87 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.0326/2.901, allocations: 6.704 MB / 1.841 GB, free: 7.488 MB / 1.389 GB Notification: Performance of SimCode: time 0.03884/2.94, allocations: 10.1 MB / 1.851 GB, free: 13.4 MB / 1.404 GB Notification: Performance of Templates: time 0.2271/3.167, allocations: 112.2 MB / 1.96 GB, free: 14.98 MB / 1.514 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater.sim & ./Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Examples.ORCHotWater.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 16.56350997899426] Failed to read output from testmodel.py, exit status != 0: 3.1798691590083763 3.195611636 0.728027926 Calling exit ...