Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.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.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 97.91 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.001417/0.001417, 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.318/1.318, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.951/0.951, allocations: 143.3 MB / 434.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003118, allocations: 12 kB / 0.5158 GB, free: 11.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1403, allocations: 83.4 MB / 0.5973 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.2822/0.4225, allocations: 58.55 MB / 0.6544 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01536/0.4379, allocations: 12.14 MB / 0.6663 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.4401, allocations: 61.69 kB / 0.6664 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002438/0.4425, allocations: 0.7855 MB / 0.6671 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006784/0.4493, allocations: 2.238 MB / 0.6693 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005655/0.455, allocations: 1.908 MB / 0.6712 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005276/0.4603, allocations: 2.791 MB / 0.6739 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002541/0.4629, allocations: 1.321 MB / 0.6752 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003129/0.466, allocations: 1.314 MB / 0.6765 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.468, allocations: 0.8819 MB / 0.6773 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004375/0.4684, allocations: 72.44 kB / 0.6774 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003666/0.4721, allocations: 1.176 MB / 0.6786 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006065/0.4727, allocations: 332 kB / 0.6789 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008555/0.4736, allocations: 431.5 kB / 0.6793 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004338/0.4779, allocations: 2.857 MB / 0.6821 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.478, allocations: 0.9062 kB / 0.6821 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.813e-06/0.478, allocations: 0.7031 kB / 0.6821 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.108e-05/0.4781, allocations: 0 / 0.6821 GB, free: 7.586 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.005344/0.4834, allocations: 2.064 MB / 0.6841 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.4835, allocations: 12.44 kB / 0.6841 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005938/0.4894, allocations: 0.761 MB / 0.6848 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003769/0.4932, allocations: 1.565 MB / 0.6864 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.4934, allocations: 139.3 kB / 0.6865 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000278/0.4937, allocations: 136 kB / 0.6866 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004881/0.4986, allocations: 1.822 MB / 0.6884 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.4986, allocations: 5.25 kB / 0.6884 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001881/0.4988, allocations: 63.39 kB / 0.6885 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.953e-05/0.4989, allocations: 40.59 kB / 0.6885 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005354/0.5043, allocations: 1.605 MB / 0.6901 GB, free: 3.629 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.01202/0.5163, allocations: 7.633 MB / 0.6975 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.5188, allocations: 0.9104 MB / 0.6984 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/0.5201, allocations: 1.273 MB / 0.6997 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.5202, allocations: 46.38 kB / 0.6997 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=81): time 2.565e-06/0.5202, allocations: 0 / 0.6997 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=81): time 0.01824/0.5384, allocations: 2.808 MB / 0.7025 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.985e-05/0.5386, allocations: 193.2 kB / 0.7026 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002556/0.5411, allocations: 1.478 MB / 0.7041 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002186/0.5414, allocations: 51.77 kB / 0.7041 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000694/0.5421, allocations: 0.7505 MB / 0.7049 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/0.5424, allocations: 279.2 kB / 0.7051 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-05/0.5425, allocations: 20.41 kB / 0.7052 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5426, allocations: 351.3 kB / 0.7055 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/0.5447, allocations: 0.5443 MB / 0.706 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002255/0.5469, allocations: 0.8596 MB / 0.7069 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/0.5491, allocations: 0.5971 MB / 0.7074 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.5491, allocations: 2.656 kB / 0.7074 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.005429/0.5545, allocations: 1.688 MB / 0.7091 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009388/0.5555, allocations: 2.593 MB / 0.7116 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.5555, allocations: 11 kB / 0.7116 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/0.5573, allocations: 488.3 kB / 0.7121 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.5589, allocations: 287.7 kB / 0.7124 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.5605, allocations: 0.9982 MB / 0.7134 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002795/0.5634, allocations: 299.8 kB / 0.7136 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/0.5635, allocations: 60.5 kB / 0.7137 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.5636, allocations: 3.219 kB / 0.7137 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005106/0.5687, allocations: 1.529 MB / 0.7152 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.5687, allocations: 7.594 kB / 0.7152 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00179/0.5705, allocations: 497.8 kB / 0.7157 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.572, allocations: 281.3 kB / 0.7159 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.5737, allocations: 0.9955 MB / 0.7169 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/0.5763, allocations: 266.8 kB / 0.7172 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.5764, allocations: 67.88 kB / 0.7172 GB, free: 28 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001083/0.5775, allocations: 497.6 kB / 0.7177 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003279/0.5779, allocations: 154.1 kB / 0.7179 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006029/0.5839, allocations: 1.539 MB / 0.7194 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.5839, allocations: 11.95 kB / 0.7194 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5839, allocations: 0 / 0.7194 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005426/0.5894, allocations: 1.307 MB / 0.7206 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/0.6057, allocations: 3.881 MB / 0.7244 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.6058, allocations: 4 kB / 0.7244 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.6069, allocations: 171.7 kB / 0.7246 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001729/0.6087, allocations: 487.5 kB / 0.7251 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.6088, allocations: 36.08 kB / 0.7251 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.6104, allocations: 0.9926 MB / 0.7261 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.6104, allocations: 4 kB / 0.7261 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008105/0.6185, allocations: 2.451 MB / 0.7285 GB, free: 4.102 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/0.6198, allocations: 442.7 kB / 0.7289 GB, free: 3.648 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003078/0.6202, allocations: 27.94 kB / 0.7289 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/0.6221, allocations: 178.6 kB / 0.7291 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.6223, allocations: 76.45 kB / 0.7292 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.6224, allocations: 55.94 kB / 0.7292 GB, free: 3.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001788/0.6242, allocations: 1.05 MB / 0.7302 GB, free: 2.273 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.11e-07/0.6243, allocations: 3.938 kB / 0.7302 GB, free: 2.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003021/0.6273, allocations: 0.9628 MB / 0.7312 GB, free: 1.305 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 5 (heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 4 (heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001352/0.6286, allocations: 0.5689 MB / 0.7317 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006771/0.6354, allocations: 2.017 MB / 0.7337 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.6355, allocations: 4 kB / 0.7337 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002091/0.6376, allocations: 0.6315 MB / 0.7343 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004379/0.642, allocations: 0.7849 MB / 0.7351 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006888/0.6489, allocations: 3.419 MB / 0.7384 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008578/0.6498, allocations: 1.301 MB / 0.7397 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002069/0.6519, allocations: 393.5 kB / 0.7401 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004169/0.6523, allocations: 147.3 kB / 0.7402 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of SimCode: time 1.393e-06/0.6523, allocations: 4 kB / 0.7402 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of Templates: time 0.06226/0.7146, allocations: 38.94 MB / 0.7782 GB, free: 1.562 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1) Environment - environmentSimulation: