Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009893/0.0009893, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 181.4 kB / 16.92 MB, free: 6.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7228/0.7228, allocations: 115.5 MB / 407.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003184, allocations: 8 kB / 495.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1456, allocations: 77.53 MB / 0.5599 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.3517/0.4973, allocations: 73.41 MB / 0.6316 GB, free: 5.797 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02309/0.5205, allocations: 15.05 MB / 0.6463 GB, free: 10.27 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003537/0.5241, allocations: 55.09 kB / 0.6464 GB, free: 10.24 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002546/0.5266, allocations: 0.6744 MB / 0.647 GB, free: 9.668 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00735/0.534, allocations: 2.392 MB / 0.6494 GB, free: 7.738 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003466/0.5375, allocations: 1.277 MB / 0.6506 GB, free: 6.773 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006873/0.5444, allocations: 5.548 MB / 0.6561 GB, free: 3.691 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/0.5465, allocations: 1.169 MB / 0.6572 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003163/0.5497, allocations: 1.317 MB / 0.6585 GB, free: 1.848 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002292/0.552, allocations: 1.155 MB / 0.6596 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003409/0.5523, allocations: 56 kB / 0.6597 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00317/0.5555, allocations: 1.236 MB / 0.6609 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004404/0.556, allocations: 282.6 kB / 0.6611 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.5574, allocations: 0.8022 MB / 0.6619 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004409/0.5618, allocations: 2.718 MB / 0.6646 GB, free: 11.58 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5618, allocations: 0 / 0.6646 GB, free: 11.58 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5618, allocations: 0 / 0.6646 GB, free: 11.58 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.651e-05/0.5619, allocations: 0 / 0.6646 GB, free: 11.58 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004048/0.5659, allocations: 1.783 MB / 0.6663 GB, free: 9.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.566, allocations: 12.03 kB / 0.6663 GB, free: 9.719 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009856/0.567, allocations: 234.9 kB / 0.6665 GB, free: 9.488 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003216/0.5702, allocations: 1.497 MB / 0.668 GB, free: 7.934 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.312e-05/0.5703, allocations: 78 kB / 0.6681 GB, free: 7.859 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/0.5706, allocations: 100 kB / 0.6682 GB, free: 7.762 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002701/0.5733, allocations: 1.12 MB / 0.6693 GB, free: 6.605 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.789e-05/0.5734, allocations: 7.938 kB / 0.6693 GB, free: 6.598 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.5735, allocations: 39.98 kB / 0.6693 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.11e-05/0.5735, allocations: 28 kB / 0.6693 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/0.5757, allocations: 0.9329 MB / 0.6703 GB, free: 5.602 MB / 494.1 MB 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.006249/0.5819, allocations: 4.92 MB / 0.6751 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.5834, allocations: 0.6363 MB / 0.6757 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007628/0.5842, allocations: 370.3 kB / 0.676 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000637/0.5849, allocations: 0.8277 MB / 0.6768 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.5849, allocations: 39.12 kB / 0.6769 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 3.066e-06/0.5849, allocations: 0 / 0.6769 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.0079/0.5928, allocations: 1.9 MB / 0.6787 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.5929, allocations: 59.97 kB / 0.6788 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.5947, allocations: 1.214 MB / 0.68 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-05/0.5948, allocations: 41.7 kB / 0.68 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000546/0.5954, allocations: 0.6064 MB / 0.6806 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/0.5956, allocations: 213 kB / 0.6808 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.626e-05/0.5957, allocations: 61.67 kB / 0.6809 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5958, allocations: 334 kB / 0.6812 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007246/0.5966, allocations: 301.8 kB / 0.6815 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008903/0.5975, allocations: 0.5124 MB / 0.682 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.599, allocations: 0.7518 MB / 0.6827 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.5991, allocations: 3.938 kB / 0.6827 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005253/0.6043, allocations: 1.402 MB / 0.6841 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.6045, allocations: 202 kB / 0.6843 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.6045, allocations: 4 kB / 0.6843 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006153/0.6051, allocations: 140.8 kB / 0.6844 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006386/0.6058, allocations: 171.7 kB / 0.6846 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008842/0.6067, allocations: 0.7278 MB / 0.6853 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.6079, allocations: 170.5 kB / 0.6855 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.558e-05/0.608, allocations: 35.97 kB / 0.6855 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.608, allocations: 4 kB / 0.6855 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004835/0.6129, allocations: 1.257 MB / 0.6867 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.6129, allocations: 4.375 kB / 0.6867 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000515/0.6134, allocations: 151.8 kB / 0.6869 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/0.614, allocations: 163.8 kB / 0.687 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008826/0.6149, allocations: 0.7201 MB / 0.6877 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.6162, allocations: 151.2 kB / 0.6879 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.1e-05/0.6163, allocations: 35.98 kB / 0.6879 GB, free: 2.699 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0007228/0.617, allocations: 416.9 kB / 0.6883 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/0.6173, allocations: 138.2 kB / 0.6884 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005225/0.6226, allocations: 1.4 MB / 0.6898 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/0.6226, allocations: 12 kB / 0.6898 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.6226, allocations: 4 kB / 0.6898 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0046/0.6272, allocations: 1.236 MB / 0.691 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007241/0.6345, allocations: 2.743 MB / 0.6937 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.6345, allocations: 4.438 kB / 0.6937 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005174/0.635, allocations: 123.8 kB / 0.6938 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005269/0.6356, allocations: 136.8 kB / 0.694 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-05/0.6357, allocations: 19.98 kB / 0.694 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005125/0.6408, allocations: 2.49 MB / 0.6964 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.6408, allocations: 7.938 kB / 0.6964 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00581/0.6466, allocations: 1.844 MB / 0.6982 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007322/0.6474, allocations: 339.2 kB / 0.6985 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.6476, allocations: 23.92 kB / 0.6986 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009965/0.6486, allocations: 87.81 kB / 0.6986 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.6488, allocations: 60.31 kB / 0.6987 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.148e-05/0.6488, allocations: 35.92 kB / 0.6987 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001372/0.6502, allocations: 0.8662 MB / 0.6996 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.5e-07/0.6502, allocations: 0 / 0.6996 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002105/0.6523, allocations: 0.7096 MB / 0.7003 GB, free: 5.617 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/0.6534, allocations: 454.6 kB / 0.7007 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002919/0.6563, allocations: 1.164 MB / 0.7019 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.6564, allocations: 4 kB / 0.7019 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00162/0.658, allocations: 0.5994 MB / 0.7024 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004499/0.6625, allocations: 0.7977 MB / 0.7032 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/0.6669, allocations: 2.817 MB / 0.706 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008104/0.6677, allocations: 1.183 MB / 0.7071 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001255/0.669, allocations: 299.4 kB / 0.7074 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/0.6693, allocations: 115.4 kB / 0.7075 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of SimCode: time 2.234e-06/0.6693, allocations: 0 / 0.7075 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of Templates: time 0.05294/0.7222, allocations: 31.9 MB / 0.7387 GB, free: 14.54 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)