Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009092/0.0009092, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009334/0.0009336, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9431/0.9431, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003117, allocations: 8 kB / 0.5158 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1466, allocations: 83.41 MB / 0.5973 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.2907/0.4374, allocations: 62.98 MB / 0.6588 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01637/0.4538, allocations: 13.01 MB / 0.6715 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001914/0.4557, allocations: 53.44 kB / 0.6715 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00222/0.4579, allocations: 0.7477 MB / 0.6723 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007105/0.4651, allocations: 2.402 MB / 0.6746 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004602/0.4697, allocations: 1.528 MB / 0.6761 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005255/0.4749, allocations: 2.518 MB / 0.6786 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.4767, allocations: 1.048 MB / 0.6796 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002705/0.4795, allocations: 1.17 MB / 0.6807 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.4809, allocations: 0.7845 MB / 0.6815 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001893/0.4811, allocations: 55.62 kB / 0.6815 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.4837, allocations: 0.8326 MB / 0.6824 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003386/0.4841, allocations: 263.6 kB / 0.6826 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004538/0.4845, allocations: 356.7 kB / 0.683 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00278/0.4873, allocations: 2.158 MB / 0.6851 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.4873, allocations: 0 / 0.6851 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of FrontEnd: time 5.059e-06/0.4873, allocations: 0 / 0.6851 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.766e-05/0.4874, allocations: 7.875 kB / 0.6851 GB, free: 4.805 MB / 0.5137 GB 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.003583/0.491, allocations: 1.784 MB / 0.6868 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.491, allocations: 9 kB / 0.6868 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008349/0.4919, allocations: 241.1 kB / 0.687 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002886/0.4948, allocations: 1.377 MB / 0.6884 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.669e-05/0.4949, allocations: 77.12 kB / 0.6885 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.495, allocations: 104.9 kB / 0.6886 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/0.4973, allocations: 1.11 MB / 0.6897 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.4973, allocations: 5.094 kB / 0.6897 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-05/0.4974, allocations: 41.88 kB / 0.6897 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.4974, allocations: 25.44 kB / 0.6897 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/0.4995, allocations: 0.9273 MB / 0.6906 GB, free: 1.805 MB / 0.5137 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.006408/0.5059, allocations: 4.959 MB / 0.6955 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.5074, allocations: 0.6368 MB / 0.6961 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006288/0.5081, allocations: 0.8292 MB / 0.6969 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.5081, allocations: 39.44 kB / 0.6969 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.244e-06/0.5081, allocations: 0 / 0.6969 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007553/0.5157, allocations: 1.887 MB / 0.6988 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.5157, allocations: 57.47 kB / 0.6988 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.5176, allocations: 1.25 MB / 0.7001 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.5177, allocations: 47.36 kB / 0.7001 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005161/0.5182, allocations: 0.6103 MB / 0.7007 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.5184, allocations: 213.7 kB / 0.7009 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.5185, allocations: 14.59 kB / 0.7009 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.5186, allocations: 332.8 kB / 0.7012 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000696/0.5193, allocations: 293.7 kB / 0.7015 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008833/0.5202, allocations: 0.4984 MB / 0.702 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007703/0.521, allocations: 369.6 kB / 0.7024 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.521, allocations: 2.438 kB / 0.7024 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004882/0.5259, allocations: 1.395 MB / 0.7037 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000509/0.5264, allocations: 1.421 MB / 0.7051 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.5264, allocations: 3.438 kB / 0.7051 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005971/0.527, allocations: 147.5 kB / 0.7052 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/0.5277, allocations: 168.5 kB / 0.7054 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008413/0.5286, allocations: 0.7158 MB / 0.7061 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.5299, allocations: 171.9 kB / 0.7063 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-05/0.53, allocations: 27.47 kB / 0.7063 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.53, allocations: 3.812 kB / 0.7063 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004644/0.5347, allocations: 1.256 MB / 0.7075 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.5347, allocations: 5.125 kB / 0.7075 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005011/0.5352, allocations: 146.7 kB / 0.7077 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006183/0.5358, allocations: 167.8 kB / 0.7078 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008363/0.5367, allocations: 0.7133 MB / 0.7085 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.538, allocations: 158.5 kB / 0.7087 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.831e-05/0.5381, allocations: 31.55 kB / 0.7087 GB, free: 6.02 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007754/0.5388, allocations: 418 kB / 0.7091 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.5391, allocations: 152.5 kB / 0.7093 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004988/0.5441, allocations: 1.396 MB / 0.7106 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.5441, allocations: 6.75 kB / 0.7106 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.5441, allocations: 0 / 0.7106 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004355/0.5485, allocations: 1.242 MB / 0.7118 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00684/0.5553, allocations: 2.771 MB / 0.7145 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.5554, allocations: 8 kB / 0.7146 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005027/0.5559, allocations: 121.5 kB / 0.7147 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000485/0.5564, allocations: 138.8 kB / 0.7148 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/0.5564, allocations: 20.05 kB / 0.7148 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005054/0.5615, allocations: 2.545 MB / 0.7173 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5615, allocations: 4 kB / 0.7173 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005716/0.5672, allocations: 2.054 MB / 0.7193 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007903/0.568, allocations: 354.9 kB / 0.7197 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/0.5682, allocations: 16 kB / 0.7197 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009213/0.5692, allocations: 91.97 kB / 0.7198 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.5693, allocations: 56.31 kB / 0.7198 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.99e-05/0.5694, allocations: 31.98 kB / 0.7198 GB, free: 13.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001289/0.5707, allocations: 0.8974 MB / 0.7207 GB, free: 12.31 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.603e-06/0.5707, allocations: 0 / 0.7207 GB, free: 12.31 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002051/0.5727, allocations: 0.7251 MB / 0.7214 GB, free: 11.59 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.000889/0.5736, allocations: 467.7 kB / 0.7219 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002659/0.5763, allocations: 1.163 MB / 0.723 GB, free: 9.984 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5763, allocations: 0 / 0.723 GB, free: 9.984 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.5778, allocations: 0.5995 MB / 0.7236 GB, free: 9.371 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003445/0.5813, allocations: 0.7547 MB / 0.7243 GB, free: 8.625 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.5852, allocations: 2.762 MB / 0.727 GB, free: 5.785 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007241/0.5859, allocations: 1.21 MB / 0.7282 GB, free: 4.547 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001221/0.5872, allocations: 311.4 kB / 0.7285 GB, free: 4.246 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.5874, allocations: 107.4 kB / 0.7286 GB, free: 4.141 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.5874, allocations: 0 / 0.7286 GB, free: 4.141 MB / 0.545 GB Notification: Performance of Templates: time 0.04679/0.6342, allocations: 30.44 MB / 0.7583 GB, free: 6.137 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) Environment - environmentSimulation: