Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009036/0.0009036, 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.0009732/0.0009732, 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.304/1.304, 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.9592/0.9592, allocations: 143.3 MB / 434.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003051/0.0003052, allocations: 12 kB / 0.5158 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1443, allocations: 83.41 MB / 0.5973 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.339/0.4833, allocations: 109.4 MB / 0.7041 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0341/0.5174, allocations: 21.4 MB / 0.725 GB, free: 4.898 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005309/0.5228, allocations: 117 kB / 0.7251 GB, free: 4.848 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.006145/0.529, allocations: 1.461 MB / 0.7265 GB, free: 4.023 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01587/0.5449, allocations: 4.179 MB / 0.7306 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01101/0.5559, allocations: 3.141 MB / 0.7337 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01047/0.5664, allocations: 5.083 MB / 0.7386 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004742/0.5712, allocations: 2.274 MB / 0.7409 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005937/0.5771, allocations: 2.417 MB / 0.7432 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003296/0.5804, allocations: 1.579 MB / 0.7448 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007473/0.5812, allocations: 128 kB / 0.7449 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005751/0.587, allocations: 1.744 MB / 0.7466 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009193/0.5879, allocations: 0.5719 MB / 0.7471 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.5892, allocations: 0.7305 MB / 0.7479 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006262/0.5955, allocations: 4.868 MB / 0.7526 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5955, allocations: 0 / 0.7526 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5955, allocations: 0 / 0.7526 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.366e-05/0.5956, allocations: 0 / 0.7526 GB, free: 13.02 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.006394/0.602, allocations: 3.365 MB / 0.7559 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.6021, allocations: 11.97 kB / 0.7559 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/0.6131, allocations: 1.459 MB / 0.7573 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00497/0.6181, allocations: 2.725 MB / 0.76 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002429/0.6184, allocations: 255.9 kB / 0.7602 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003955/0.6188, allocations: 232 kB / 0.7605 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007616/0.6264, allocations: 3.202 MB / 0.7636 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.853e-05/0.6265, allocations: 7.938 kB / 0.7636 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002856/0.6268, allocations: 112 kB / 0.7637 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.666e-05/0.6269, allocations: 63.94 kB / 0.7638 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009305/0.6362, allocations: 2.881 MB / 0.7666 GB, free: 14.32 MB / 0.5919 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.02047/0.6567, allocations: 13.76 MB / 0.78 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004357/0.6611, allocations: 1.514 MB / 0.7815 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001751/0.6628, allocations: 1.783 MB / 0.7832 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0037/0.6665, allocations: 1.212 MB / 0.7844 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=126): time 3.206e-06/0.6666, allocations: 0 / 0.7844 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=130): time 0.05573/0.7223, allocations: 11.82 MB / 0.796 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002557/0.7226, allocations: 0.5921 MB / 0.7965 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004601/0.7272, allocations: 2.678 MB / 0.7992 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003594/0.7276, allocations: 61.7 kB / 0.7992 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001206/0.7288, allocations: 1.333 MB / 0.8005 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005625/0.7294, allocations: 453.6 kB / 0.801 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.7295, allocations: 39.94 kB / 0.801 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.7297, allocations: 373.9 kB / 0.8013 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003808/0.7335, allocations: 0.9915 MB / 0.8023 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004308/0.7378, allocations: 1.586 MB / 0.8039 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00403/0.7419, allocations: 1.128 MB / 0.805 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.7419, allocations: 4 kB / 0.805 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02379/0.7657, allocations: 4.236 MB / 0.8091 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.002314/0.7681, allocations: 5.237 MB / 0.8142 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-05/0.7681, allocations: 14.11 kB / 0.8142 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004231/0.7724, allocations: 1.167 MB / 0.8154 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/0.775, allocations: 467.2 kB / 0.8158 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004098/0.7792, allocations: 2.384 MB / 0.8181 GB, free: 7.332 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005177/0.7844, allocations: 419 kB / 0.8185 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004571/0.7849, allocations: 107.9 kB / 0.8186 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.7849, allocations: 4 kB / 0.8187 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02307/0.808, allocations: 3.949 MB / 0.8225 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.072e-05/0.8081, allocations: 16.06 kB / 0.8225 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003906/0.812, allocations: 1.173 MB / 0.8237 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002606/0.8146, allocations: 467.2 kB / 0.8241 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004006/0.8186, allocations: 2.375 MB / 0.8264 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0044/0.823, allocations: 375.3 kB / 0.8268 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000344/0.8234, allocations: 103.9 kB / 0.8269 GB, free: 14.31 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.001533/0.825, allocations: 0.6938 MB / 0.8276 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000692/0.8257, allocations: 284.8 kB / 0.8278 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01601/0.8417, allocations: 3.042 MB / 0.8308 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.328e-05/0.8418, allocations: 19.94 kB / 0.8308 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.8418, allocations: 4 kB / 0.8308 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01504/0.8568, allocations: 2.634 MB / 0.8334 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02291/0.8798, allocations: 7.066 MB / 0.8403 GB, free: 332 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.451e-05/0.8798, allocations: 7.953 kB / 0.8403 GB, free: 324 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/0.8816, allocations: 280.2 kB / 0.8406 GB, free: 44 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003727/0.8854, allocations: 1.025 MB / 0.8416 GB, free: 15.02 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002304/0.8856, allocations: 51.94 kB / 0.8416 GB, free: 14.96 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003662/0.8893, allocations: 2.152 MB / 0.8437 GB, free: 12.76 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.8894, allocations: 16 kB / 0.8437 GB, free: 12.75 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02045/0.9098, allocations: 5.011 MB / 0.8486 GB, free: 7.32 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002001/0.9118, allocations: 0.6924 MB / 0.8493 GB, free: 6.605 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008925/0.9128, allocations: 44.05 kB / 0.8494 GB, free: 6.562 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003859/0.9166, allocations: 297.5 kB / 0.8496 GB, free: 6.273 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002696/0.9169, allocations: 116.7 kB / 0.8498 GB, free: 6.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002274/0.9172, allocations: 75.92 kB / 0.8498 GB, free: 6.086 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003729/0.9209, allocations: 1.887 MB / 0.8517 GB, free: 4.199 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.21e-07/0.9209, allocations: 4 kB / 0.8517 GB, free: 4.195 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005735/0.9267, allocations: 1.496 MB / 0.8531 GB, free: 2.699 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001971/0.9287, allocations: 0.8337 MB / 0.8539 GB, free: 1.871 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.2554/1.184, allocations: 3.76 MB / 0.8576 GB, free: 204.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/1.184, allocations: 3.156 kB / 0.8576 GB, free: 204.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003622/1.188, allocations: 1.1 MB / 0.8587 GB, free: 204.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006751/1.195, allocations: 1.467 MB / 0.8601 GB, free: 204 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/1.205, allocations: 5.814 MB / 0.8658 GB, free: 201.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009716/1.206, allocations: 1.769 MB / 0.8675 GB, free: 200.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003236/1.209, allocations: 0.6568 MB / 0.8682 GB, free: 200.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005258/1.209, allocations: 240.1 kB / 0.8684 GB, free: 200.7 MB / 0.67 GB Notification: Performance of SimCode: time 6.22e-07/1.209, allocations: 0 / 0.8684 GB, free: 200.7 MB / 0.67 GB Notification: Performance of Templates: time 0.1043/1.314, allocations: 72.77 MB / 0.9395 GB, free: 167.7 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) Environment - environmentSimulation: