Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000946/0.000946, allocations: 99.55 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.0009191/0.0009191, allocations: 177.3 kB / 15.94 MB, free: 228 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.305/1.305, allocations: 223.2 MB / 239.9 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9591/0.9591, allocations: 143.3 MB / 434.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003127, allocations: 8 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1432, allocations: 83.43 MB / 0.5973 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.342/0.4852, allocations: 105.5 MB / 0.7003 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01905/0.5043, allocations: 13.15 MB / 0.7132 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.507, allocations: 62.69 kB / 0.7132 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002799/0.5098, allocations: 0.8273 MB / 0.714 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008254/0.518, allocations: 2.274 MB / 0.7162 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006903/0.525, allocations: 1.984 MB / 0.7182 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006604/0.5316, allocations: 2.764 MB / 0.7209 GB, free: 8.785 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002233/0.5338, allocations: 1.257 MB / 0.7221 GB, free: 8.316 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003433/0.5373, allocations: 1.309 MB / 0.7234 GB, free: 7.676 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/0.5391, allocations: 0.8704 MB / 0.7242 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002317/0.5394, allocations: 71.78 kB / 0.7243 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00354/0.5429, allocations: 1.211 MB / 0.7255 GB, free: 6.883 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003836/0.5433, allocations: 340.2 kB / 0.7258 GB, free: 6.641 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005348/0.5439, allocations: 421.9 kB / 0.7262 GB, free: 6.402 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003237/0.5471, allocations: 2.725 MB / 0.7289 GB, free: 4.473 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.5471, allocations: 1.969 kB / 0.7289 GB, free: 4.473 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5471, allocations: 0 / 0.7289 GB, free: 4.473 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.061e-05/0.5472, allocations: 0 / 0.7289 GB, free: 4.473 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.00364/0.5508, allocations: 2.039 MB / 0.7309 GB, free: 2.926 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.5509, allocations: 9.625 kB / 0.7309 GB, free: 2.926 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005555/0.5564, allocations: 0.7461 MB / 0.7316 GB, free: 2.441 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/0.5591, allocations: 1.558 MB / 0.7331 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.5593, allocations: 140.1 kB / 0.7333 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.5595, allocations: 124 kB / 0.7334 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003828/0.5633, allocations: 1.725 MB / 0.7351 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.5634, allocations: 4 kB / 0.7351 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.5635, allocations: 52 kB / 0.7351 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.585e-05/0.5636, allocations: 43.98 kB / 0.7352 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004618/0.5682, allocations: 1.527 MB / 0.7367 GB, free: 13.11 MB / 0.5606 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.009712/0.5779, allocations: 7.606 MB / 0.7441 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004005/0.582, allocations: 1.18 MB / 0.7452 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/0.5833, allocations: 1.282 MB / 0.7465 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002198/0.5855, allocations: 0.6998 MB / 0.7472 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 3.006e-06/0.5855, allocations: 0 / 0.7472 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.01755/0.6031, allocations: 3.23 MB / 0.7503 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.6032, allocations: 137.2 kB / 0.7505 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.6049, allocations: 1.312 MB / 0.7517 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.605, allocations: 49.7 kB / 0.7518 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000589/0.6056, allocations: 0.727 MB / 0.7525 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/0.6059, allocations: 276.1 kB / 0.7528 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.6059, allocations: 16 kB / 0.7528 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.6061, allocations: 345.9 kB / 0.7531 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001928/0.608, allocations: 0.5289 MB / 0.7536 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002128/0.6101, allocations: 0.8028 MB / 0.7544 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/0.6121, allocations: 0.5845 MB / 0.755 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.6122, allocations: 4 kB / 0.755 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005074/0.6172, allocations: 1.668 MB / 0.7566 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007966/0.618, allocations: 2.401 MB / 0.759 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.6181, allocations: 11.98 kB / 0.759 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001987/0.6201, allocations: 0.5789 MB / 0.7595 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.6214, allocations: 247.6 kB / 0.7598 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.6234, allocations: 1.179 MB / 0.7609 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/0.6254, allocations: 230.8 kB / 0.7611 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.6255, allocations: 59.94 kB / 0.7612 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.6255, allocations: 4.625 kB / 0.7612 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004747/0.6303, allocations: 1.503 MB / 0.7627 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.6303, allocations: 8 kB / 0.7627 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001836/0.6321, allocations: 0.5773 MB / 0.7632 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.6334, allocations: 247.6 kB / 0.7635 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.6353, allocations: 1.17 MB / 0.7646 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/0.6372, allocations: 230.5 kB / 0.7648 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.6373, allocations: 55.95 kB / 0.7649 GB, free: 15.09 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0007701/0.6381, allocations: 480.9 kB / 0.7653 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.6383, allocations: 150.2 kB / 0.7655 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/0.6509, allocations: 2.167 MB / 0.7676 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.651, allocations: 8 kB / 0.7676 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.651, allocations: 0 / 0.7676 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01195/0.6629, allocations: 1.997 MB / 0.7696 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008131/0.6711, allocations: 3.711 MB / 0.7732 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.6711, allocations: 0 / 0.7732 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.6722, allocations: 179.9 kB / 0.7734 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001853/0.6741, allocations: 0.5473 MB / 0.7739 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.554e-05/0.6742, allocations: 35.94 kB / 0.7739 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.6761, allocations: 1.166 MB / 0.7751 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.6761, allocations: 7.938 kB / 0.7751 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004927/0.681, allocations: 1.692 MB / 0.7767 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007956/0.6818, allocations: 434.8 kB / 0.7771 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/0.6821, allocations: 20 kB / 0.7772 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.6838, allocations: 165.7 kB / 0.7773 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.6839, allocations: 52.58 kB / 0.7774 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.684, allocations: 59.92 kB / 0.7774 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00122/0.6852, allocations: 0.8946 MB / 0.7783 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6852, allocations: 0 / 0.7783 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00243/0.6877, allocations: 0.9743 MB / 0.7793 GB, free: 8 kB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001779/0.6895, allocations: 0.8981 MB / 0.7801 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006635/0.6961, allocations: 2.045 MB / 0.7821 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.6961, allocations: 0 / 0.7821 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002103/0.6982, allocations: 0.6438 MB / 0.7828 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/0.7015, allocations: 0.7423 MB / 0.7835 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005544/0.7071, allocations: 3.213 MB / 0.7866 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007906/0.7079, allocations: 1.294 MB / 0.7879 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001665/0.7096, allocations: 371.1 kB / 0.7882 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/0.7099, allocations: 147.3 kB / 0.7884 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of SimCode: time 6.91e-07/0.7099, allocations: 0 / 0.7884 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of Templates: time 0.05552/0.7655, allocations: 38.36 MB / 0.8258 GB, free: 0.9141 MB / 0.6387 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) Environment - environmentSimulation: