Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 92.14 kB / 16.67 MB, free: 6.594 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.001205/0.001205, allocations: 182 kB / 17.58 MB, free: 6.188 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.375/1.375, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.771/0.771, allocations: 115.5 MB / 408.2 MB, free: 7.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003797, allocations: 12 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4355, allocations: 77.52 MB / 0.5606 GB, free: 36.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.06627/0.5018, allocations: 68.2 MB / 0.6272 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02489/0.5267, allocations: 14.38 MB / 0.6412 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004267/0.531, allocations: 63.62 kB / 0.6413 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003419/0.5345, allocations: 0.7499 MB / 0.642 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009154/0.5437, allocations: 2.345 MB / 0.6443 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006228/0.5499, allocations: 1.785 MB / 0.646 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008758/0.5587, allocations: 5.907 MB / 0.6518 GB, free: 5.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003044/0.5618, allocations: 1.299 MB / 0.6531 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00421/0.566, allocations: 1.423 MB / 0.6545 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0028/0.5689, allocations: 1.197 MB / 0.6556 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006356/0.5695, allocations: 72 kB / 0.6557 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005135/0.5747, allocations: 1.735 MB / 0.6574 GB, free: 20 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008856/0.5756, allocations: 322.5 kB / 0.6577 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002352/0.578, allocations: 0.8956 MB / 0.6586 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00505/0.5831, allocations: 2.658 MB / 0.6612 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.5831, allocations: 3.938 kB / 0.6612 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5831, allocations: 4 kB / 0.6612 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001044/0.5832, allocations: 0 / 0.6612 GB, free: 12.12 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005654/0.5889, allocations: 1.928 MB / 0.6631 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.5889, allocations: 8.031 kB / 0.6631 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006082/0.595, allocations: 0.7363 MB / 0.6638 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00362/0.5987, allocations: 1.559 MB / 0.6653 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/0.599, allocations: 128 kB / 0.6654 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004235/0.5994, allocations: 124 kB / 0.6656 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004708/0.6041, allocations: 1.656 MB / 0.6672 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.6042, allocations: 7.922 kB / 0.6672 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.6043, allocations: 52 kB / 0.6672 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.736e-05/0.6044, allocations: 36 kB / 0.6673 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004831/0.6092, allocations: 1.496 MB / 0.6687 GB, free: 4.172 MB / 0.4981 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.01086/0.6201, allocations: 7.019 MB / 0.6756 GB, free: 12.81 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.6224, allocations: 0.7651 MB / 0.6763 GB, free: 12.04 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.6242, allocations: 0.5061 MB / 0.6768 GB, free: 11.53 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/0.6255, allocations: 1.267 MB / 0.6781 GB, free: 9.984 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.6256, allocations: 39.12 kB / 0.6781 GB, free: 9.938 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=68): time 2.985e-06/0.6256, allocations: 0 / 0.6781 GB, free: 9.938 MB / 0.5138 GB Notification: Performance of matching and sorting (n=68): time 0.02107/0.6467, allocations: 3.133 MB / 0.6812 GB, free: 6.773 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.6468, allocations: 107.4 kB / 0.6813 GB, free: 6.645 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002644/0.6494, allocations: 1.363 MB / 0.6826 GB, free: 5.27 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.6496, allocations: 45.7 kB / 0.6826 GB, free: 5.219 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006993/0.6504, allocations: 0.6995 MB / 0.6833 GB, free: 4.512 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/0.6507, allocations: 236.6 kB / 0.6835 GB, free: 4.277 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.6509, allocations: 77.67 kB / 0.6836 GB, free: 4.195 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.651, allocations: 345.9 kB / 0.6839 GB, free: 3.852 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/0.653, allocations: 0.5172 MB / 0.6845 GB, free: 3.336 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002217/0.6553, allocations: 0.794 MB / 0.6852 GB, free: 2.426 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003818/0.6591, allocations: 1.176 MB / 0.6864 GB, free: 1.168 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.6591, allocations: 0 / 0.6864 GB, free: 1.168 MB / 0.5138 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005529/0.6647, allocations: 1.601 MB / 0.6879 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.6649, allocations: 272.9 kB / 0.6882 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.6649, allocations: 7.938 kB / 0.6882 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001864/0.6668, allocations: 491.8 kB / 0.6887 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.6682, allocations: 271.5 kB / 0.6889 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.67, allocations: 1.004 MB / 0.6899 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/0.6726, allocations: 282.6 kB / 0.6902 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.6727, allocations: 55.94 kB / 0.6902 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.6727, allocations: 4 kB / 0.6902 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004906/0.6777, allocations: 1.437 MB / 0.6916 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.6777, allocations: 8 kB / 0.6917 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001749/0.6794, allocations: 494.1 kB / 0.6921 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.6808, allocations: 263.6 kB / 0.6924 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.6825, allocations: 0.9906 MB / 0.6933 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/0.6849, allocations: 246.8 kB / 0.6936 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/0.6851, allocations: 59.94 kB / 0.6936 GB, free: 9.582 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0009816/0.6861, allocations: 452.8 kB / 0.6941 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004959/0.6866, allocations: 150.2 kB / 0.6942 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004631/0.6912, allocations: 1.343 MB / 0.6955 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.6912, allocations: 4 kB / 0.6955 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.6912, allocations: 4 kB / 0.6955 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003816/0.6951, allocations: 1.147 MB / 0.6966 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008262/0.7034, allocations: 3.077 MB / 0.6997 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.7034, allocations: 4 kB / 0.6997 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009583/0.7044, allocations: 151.8 kB / 0.6998 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/0.7061, allocations: 487.9 kB / 0.7003 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-05/0.7062, allocations: 35.91 kB / 0.7003 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001663/0.7078, allocations: 0.9856 MB / 0.7013 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.7079, allocations: 4 kB / 0.7013 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006235/0.7141, allocations: 1.975 MB / 0.7032 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.7152, allocations: 390.9 kB / 0.7036 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000404/0.7156, allocations: 28 kB / 0.7036 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/0.7175, allocations: 158.4 kB / 0.7037 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.7177, allocations: 64.17 kB / 0.7038 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.7178, allocations: 47.95 kB / 0.7039 GB, free: 14.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001925/0.7197, allocations: 0.9816 MB / 0.7048 GB, free: 13.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7198, allocations: 3.938 kB / 0.7048 GB, free: 13.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002855/0.7226, allocations: 0.8851 MB / 0.7057 GB, free: 12.93 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001388/0.724, allocations: 0.5322 MB / 0.7062 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006663/0.7307, allocations: 1.873 MB / 0.708 GB, free: 10.53 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.7307, allocations: 3.781 kB / 0.708 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001937/0.7327, allocations: 0.5259 MB / 0.7085 GB, free: 9.996 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00541/0.7381, allocations: 0.8121 MB / 0.7093 GB, free: 9.211 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007293/0.7454, allocations: 3.334 MB / 0.7126 GB, free: 5.793 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.7464, allocations: 1.207 MB / 0.7138 GB, free: 4.559 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005971/0.7471, allocations: 151.3 kB / 0.7139 GB, free: 4.41 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.7471, allocations: 0 / 0.7139 GB, free: 4.41 MB / 0.545 GB Notification: Performance of Templates: time 0.05428/0.8014, allocations: 35.97 MB / 0.7491 GB, free: 0.6289 MB / 0.5763 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)