Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 97.05 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 174.5 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.67/0.67, allocations: 113.8 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002897, allocations: 13 kB / 493 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1302, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.3465/0.4767, allocations: 109.4 MB / 0.6637 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02977/0.5065, allocations: 21.36 MB / 0.6845 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004501/0.511, allocations: 115.2 kB / 0.6846 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005337/0.5164, allocations: 1.457 MB / 0.6861 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01251/0.5289, allocations: 4.184 MB / 0.6901 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008622/0.5376, allocations: 3.137 MB / 0.6932 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009219/0.5468, allocations: 5.105 MB / 0.6982 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003805/0.5506, allocations: 2.282 MB / 0.7004 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005051/0.5557, allocations: 2.437 MB / 0.7028 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002774/0.5585, allocations: 1.579 MB / 0.7043 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000667/0.5592, allocations: 132 kB / 0.7045 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004987/0.5642, allocations: 1.744 MB / 0.7062 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008675/0.565, allocations: 0.5719 MB / 0.7067 GB, free: 320 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001194/0.5663, allocations: 0.7305 MB / 0.7074 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006044/0.5723, allocations: 4.581 MB / 0.7119 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.5723, allocations: 0 / 0.7119 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5723, allocations: 0 / 0.7119 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001239/0.5725, allocations: 0 / 0.7119 GB, free: 10.98 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.00662/0.5791, allocations: 3.367 MB / 0.7152 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.5791, allocations: 12.02 kB / 0.7152 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/0.5902, allocations: 1.448 MB / 0.7166 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005063/0.5953, allocations: 2.721 MB / 0.7193 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002401/0.5955, allocations: 259.9 kB / 0.7195 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004091/0.596, allocations: 240 kB / 0.7198 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007714/0.6037, allocations: 3.208 MB / 0.7229 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.115e-05/0.6038, allocations: 7.938 kB / 0.7229 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002706/0.604, allocations: 104 kB / 0.723 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.269e-05/0.6041, allocations: 63.98 kB / 0.7231 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009211/0.6133, allocations: 2.885 MB / 0.7259 GB, free: 12.28 MB / 0.545 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.01862/0.632, allocations: 13.53 MB / 0.7391 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004301/0.6363, allocations: 1.525 MB / 0.7406 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001623/0.638, allocations: 1.782 MB / 0.7423 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003657/0.6416, allocations: 1.236 MB / 0.7435 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=130): time 3.316e-06/0.6416, allocations: 0 / 0.7435 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130): time 0.04075/0.6824, allocations: 5.98 MB / 0.7494 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002141/0.6826, allocations: 0.5844 MB / 0.7499 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003774/0.6864, allocations: 2.583 MB / 0.7525 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002501/0.6867, allocations: 69.69 kB / 0.7525 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.6878, allocations: 1.344 MB / 0.7538 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004364/0.6882, allocations: 457.5 kB / 0.7543 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.6883, allocations: 36 kB / 0.7543 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.6885, allocations: 377.9 kB / 0.7547 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003743/0.6922, allocations: 1.015 MB / 0.7557 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004116/0.6964, allocations: 1.6 MB / 0.7572 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003901/0.7003, allocations: 1.166 MB / 0.7584 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.7003, allocations: 7.938 kB / 0.7584 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02155/0.7219, allocations: 4.132 MB / 0.7624 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.001583/0.7235, allocations: 5.025 MB / 0.7673 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/0.7235, allocations: 12 kB / 0.7673 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003342/0.7269, allocations: 0.9536 MB / 0.7682 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/0.7297, allocations: 0.5069 MB / 0.7687 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003142/0.7329, allocations: 1.987 MB / 0.7707 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004966/0.7379, allocations: 0.5293 MB / 0.7712 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003768/0.7383, allocations: 107.9 kB / 0.7713 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.7383, allocations: 6.188 kB / 0.7713 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02107/0.7594, allocations: 3.856 MB / 0.7751 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/0.7594, allocations: 12 kB / 0.7751 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003221/0.7627, allocations: 0.9615 MB / 0.776 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/0.7655, allocations: 0.5031 MB / 0.7765 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003206/0.7687, allocations: 1.994 MB / 0.7785 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004389/0.7731, allocations: 474.7 kB / 0.7789 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002388/0.7734, allocations: 107.9 kB / 0.779 GB, free: 3.738 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (186): * Single equations (assignments): 183 * 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 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001346/0.7747, allocations: 0.7057 MB / 0.7797 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004853/0.7752, allocations: 272.7 kB / 0.78 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/0.7862, allocations: 2.574 MB / 0.7825 GB, free: 160 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.7863, allocations: 20 kB / 0.7825 GB, free: 140 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.7863, allocations: 4 kB / 0.7825 GB, free: 136 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01007/0.7964, allocations: 2.189 MB / 0.7846 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02683/0.8232, allocations: 7.608 MB / 0.7921 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-05/0.8233, allocations: 8 kB / 0.7921 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001833/0.8251, allocations: 299.5 kB / 0.7924 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003276/0.8284, allocations: 0.9383 MB / 0.7933 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/0.8286, allocations: 51.94 kB / 0.7933 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003138/0.8317, allocations: 1.979 MB / 0.7953 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.71e-05/0.8318, allocations: 19.95 kB / 0.7953 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/0.8438, allocations: 4.446 MB / 0.7996 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002444/0.8462, allocations: 0.6963 MB / 0.8003 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008918/0.8472, allocations: 39.95 kB / 0.8003 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003955/0.8511, allocations: 303.2 kB / 0.8006 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/0.8514, allocations: 116.7 kB / 0.8007 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/0.8516, allocations: 75.86 kB / 0.8008 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002992/0.8546, allocations: 1.821 MB / 0.8026 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8546, allocations: 0 / 0.8026 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004695/0.8593, allocations: 1.7 MB / 0.8043 GB, free: 9.074 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,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 (88): * Single equations (assignments): 82 * 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,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001611/0.8609, allocations: 0.8277 MB / 0.8051 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0124/0.8734, allocations: 3.753 MB / 0.8087 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/0.8734, allocations: 4.438 kB / 0.8087 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003821/0.8772, allocations: 1.102 MB / 0.8098 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006713/0.884, allocations: 1.388 MB / 0.8112 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.896, allocations: 5.945 MB / 0.817 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/0.8973, allocations: 1.777 MB / 0.8187 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003525/0.9009, allocations: 0.6934 MB / 0.8194 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006433/0.9015, allocations: 231.3 kB / 0.8196 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of SimCode: time 9.21e-07/0.9015, allocations: 4 kB / 0.8196 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of Templates: time 0.3301/1.232, allocations: 68.17 MB / 0.8862 GB, free: 190.3 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)