Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009162/0.0009161, allocations: 99.7 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.0009345/0.0009345, 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.292/1.292, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.942/0.942, allocations: 143.3 MB / 434.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.0003099, allocations: 12 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1427, allocations: 83.41 MB / 0.5973 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.3052/0.448, allocations: 62.95 MB / 0.6588 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01685/0.4649, allocations: 13.01 MB / 0.6715 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002495/0.4674, allocations: 53.94 kB / 0.6715 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002888/0.4703, allocations: 0.7443 MB / 0.6722 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008262/0.4786, allocations: 2.408 MB / 0.6746 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005533/0.4841, allocations: 1.519 MB / 0.6761 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005622/0.4898, allocations: 2.521 MB / 0.6785 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002811/0.4926, allocations: 1.044 MB / 0.6795 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003315/0.496, allocations: 1.171 MB / 0.6807 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.4981, allocations: 0.7889 MB / 0.6815 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004212/0.4985, allocations: 55.06 kB / 0.6815 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003373/0.5019, allocations: 0.8288 MB / 0.6823 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004914/0.5024, allocations: 259.6 kB / 0.6826 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000846/0.5033, allocations: 357 kB / 0.6829 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004148/0.5075, allocations: 2.161 MB / 0.685 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5075, allocations: 4 kB / 0.685 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.865e-06/0.5075, allocations: 0 / 0.685 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.506e-05/0.5076, allocations: 1.281 kB / 0.685 GB, free: 4.676 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.004747/0.5123, allocations: 1.785 MB / 0.6868 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.5124, allocations: 9 kB / 0.6868 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.5134, allocations: 245.4 kB / 0.687 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003007/0.5165, allocations: 1.381 MB / 0.6884 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.373e-05/0.5165, allocations: 76.97 kB / 0.6884 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.5167, allocations: 101 kB / 0.6885 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/0.5191, allocations: 1.11 MB / 0.6896 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.5191, allocations: 0.7031 kB / 0.6896 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-05/0.5192, allocations: 37.69 kB / 0.6897 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-05/0.5193, allocations: 29.58 kB / 0.6897 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/0.5214, allocations: 0.9317 MB / 0.6906 GB, free: 1.672 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.006982/0.5284, allocations: 4.963 MB / 0.6954 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.53, allocations: 0.6398 MB / 0.6961 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006163/0.5306, allocations: 0.8297 MB / 0.6969 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.5306, allocations: 38.81 kB / 0.6969 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.675e-06/0.5307, allocations: 1.406 kB / 0.6969 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007838/0.5385, allocations: 1.886 MB / 0.6988 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.5386, allocations: 58.81 kB / 0.6988 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.5407, allocations: 1.25 MB / 0.7 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000151/0.5409, allocations: 39.08 kB / 0.7001 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005902/0.5415, allocations: 0.601 MB / 0.7007 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.5418, allocations: 221.8 kB / 0.7009 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.5418, allocations: 10.94 kB / 0.7009 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.5419, allocations: 335 kB / 0.7012 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007027/0.5427, allocations: 298.4 kB / 0.7015 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000862/0.5435, allocations: 0.4935 MB / 0.702 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007958/0.5443, allocations: 367 kB / 0.7023 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.5443, allocations: 0.9375 kB / 0.7023 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005039/0.5494, allocations: 1.396 MB / 0.7037 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004743/0.5499, allocations: 1.424 MB / 0.7051 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.5499, allocations: 4 kB / 0.7051 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005989/0.5505, allocations: 150.7 kB / 0.7052 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006572/0.5512, allocations: 172.5 kB / 0.7054 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008409/0.552, allocations: 0.7116 MB / 0.7061 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.5535, allocations: 172.2 kB / 0.7062 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.641e-05/0.5536, allocations: 31.95 kB / 0.7063 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.5537, allocations: 3.375 kB / 0.7063 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004693/0.5584, allocations: 1.255 MB / 0.7075 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.5584, allocations: 3.312 kB / 0.7075 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005157/0.5589, allocations: 145.3 kB / 0.7076 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006382/0.5596, allocations: 168.1 kB / 0.7078 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008175/0.5604, allocations: 0.72 MB / 0.7085 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.5618, allocations: 163.2 kB / 0.7087 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.968e-05/0.5619, allocations: 31.3 kB / 0.7087 GB, free: 5.918 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.0007611/0.5627, allocations: 411.5 kB / 0.7091 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002567/0.5629, allocations: 138.6 kB / 0.7092 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004878/0.5678, allocations: 1.409 MB / 0.7106 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.5679, allocations: 6.531 kB / 0.7106 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5679, allocations: 0 / 0.7106 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004374/0.5723, allocations: 1.241 MB / 0.7118 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007035/0.5793, allocations: 2.76 MB / 0.7145 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.5793, allocations: 4.188 kB / 0.7145 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005129/0.5799, allocations: 121.1 kB / 0.7146 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000519/0.5804, allocations: 150.4 kB / 0.7148 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.133e-05/0.5805, allocations: 24.55 kB / 0.7148 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005031/0.5855, allocations: 2.539 MB / 0.7173 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.5855, allocations: 7.938 kB / 0.7173 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005702/0.5912, allocations: 2.054 MB / 0.7193 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008635/0.5921, allocations: 347 kB / 0.7196 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.5923, allocations: 20 kB / 0.7196 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009256/0.5933, allocations: 95.91 kB / 0.7197 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.5934, allocations: 64.25 kB / 0.7198 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-05/0.5935, allocations: 27.98 kB / 0.7198 GB, free: 13.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001259/0.5947, allocations: 0.8935 MB / 0.7207 GB, free: 12.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5948, allocations: 0 / 0.7207 GB, free: 12.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002053/0.5968, allocations: 0.7214 MB / 0.7214 GB, free: 11.53 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.000827/0.5977, allocations: 476.5 kB / 0.7218 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002633/0.6003, allocations: 1.163 MB / 0.723 GB, free: 9.918 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6003, allocations: 0 / 0.723 GB, free: 9.918 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.6018, allocations: 0.6033 MB / 0.7236 GB, free: 9.301 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/0.6055, allocations: 0.7446 MB / 0.7243 GB, free: 8.562 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.6095, allocations: 2.754 MB / 0.727 GB, free: 5.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/0.6102, allocations: 1.206 MB / 0.7282 GB, free: 4.496 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001267/0.6115, allocations: 305 kB / 0.7285 GB, free: 4.195 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.6117, allocations: 103.4 kB / 0.7286 GB, free: 4.094 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.6117, allocations: 3.938 kB / 0.7286 GB, free: 4.09 MB / 0.545 GB Notification: Performance of Templates: time 0.04731/0.659, allocations: 30.4 MB / 0.7582 GB, free: 6.113 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: