Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001549, allocations: 173.8 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7555/0.7555, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.678/1.678, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009644/0.0009645, allocations: 98.08 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.772e-05/3.775e-05, allocations: 3.094 kB / 0.5601 GB, free: 87.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1729, allocations: 82.29 MB / 0.6405 GB, free: 7.754 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.295/1.468, allocations: 398.8 MB / 1.03 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/1.468, allocations: 83.95 kB / 1.03 GB, free: 223 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.154/5.622, allocations: 1.063 GB / 2.093 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.733e-06/5.622, allocations: 3.094 kB / 2.093 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0005259/5.623, allocations: 81.42 kB / 2.093 GB, free: 57.79 MB / 0.7136 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.009482/5.632, allocations: 3.187 MB / 2.096 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/5.633, allocations: 14.72 kB / 2.096 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001193/5.634, allocations: 317.9 kB / 2.096 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/5.645, allocations: 1.321 MB / 2.097 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009936/5.655, allocations: 3.31 MB / 2.101 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003576/5.655, allocations: 257.7 kB / 2.101 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009238/5.656, allocations: 231.3 kB / 2.101 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007081/5.663, allocations: 2.831 MB / 2.104 GB, free: 55.08 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.577e-05/5.663, allocations: 9.406 kB / 2.104 GB, free: 55.08 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006005/5.664, allocations: 102.6 kB / 2.104 GB, free: 55.08 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.268e-05/5.664, allocations: 66.38 kB / 2.104 GB, free: 55.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004519/5.669, allocations: 2.168 MB / 2.106 GB, free: 55.05 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.01939/5.688, allocations: 13.51 MB / 2.119 GB, free: 49.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/5.69, allocations: 1.223 MB / 2.121 GB, free: 48.96 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008768/5.691, allocations: 0.6411 MB / 2.121 GB, free: 48.95 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/5.692, allocations: 1.773 MB / 2.123 GB, free: 46.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/5.693, allocations: 0.9747 MB / 2.124 GB, free: 46.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 3.486e-06/5.693, allocations: 0 / 2.124 GB, free: 46.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.0148/5.708, allocations: 10.12 MB / 2.134 GB, free: 40.65 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002026/5.708, allocations: 0.936 MB / 2.135 GB, free: 39.53 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003177/5.712, allocations: 2.342 MB / 2.137 GB, free: 39.28 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002785/5.712, allocations: 59.67 kB / 2.137 GB, free: 39.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009479/5.713, allocations: 1.353 MB / 2.138 GB, free: 38.79 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000347/5.713, allocations: 432.3 kB / 2.139 GB, free: 38.53 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/5.713, allocations: 34.09 kB / 2.139 GB, free: 38.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.957e-05/5.713, allocations: 362.7 kB / 2.139 GB, free: 38.22 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/5.714, allocations: 0.6376 MB / 2.14 GB, free: 38.22 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/5.716, allocations: 1.268 MB / 2.141 GB, free: 37.53 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/5.717, allocations: 0.7731 MB / 2.142 GB, free: 37.47 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/5.717, allocations: 3.062 kB / 2.142 GB, free: 37.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.003966/5.721, allocations: 2.381 MB / 2.144 GB, free: 37.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008765/5.722, allocations: 5.251 MB / 2.149 GB, free: 31.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/5.722, allocations: 18.91 kB / 2.149 GB, free: 31.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002829/5.725, allocations: 1.05 MB / 2.15 GB, free: 31.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002439/5.727, allocations: 445.5 kB / 2.151 GB, free: 31.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/5.73, allocations: 2.207 MB / 2.153 GB, free: 30.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005263/5.735, allocations: 426.6 kB / 2.153 GB, free: 30.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002856/5.735, allocations: 112 kB / 2.153 GB, free: 30.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/5.735, allocations: 3.438 kB / 2.153 GB, free: 30.63 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003364/5.739, allocations: 2.096 MB / 2.155 GB, free: 30.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/5.739, allocations: 13.06 kB / 2.155 GB, free: 30.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002723/5.741, allocations: 1.049 MB / 2.156 GB, free: 30.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/5.743, allocations: 433.8 kB / 2.157 GB, free: 30.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/5.746, allocations: 2.202 MB / 2.159 GB, free: 29.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004418/5.75, allocations: 377.7 kB / 2.159 GB, free: 29.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002109/5.75, allocations: 106.2 kB / 2.159 GB, free: 29.43 MB / 0.7136 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,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * 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 {5 24,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.000502/5.751, allocations: 219 kB / 2.16 GB, free: 29.31 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006388/5.751, allocations: 287.3 kB / 2.16 GB, free: 29.17 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00481/5.756, allocations: 1.773 MB / 2.162 GB, free: 29.05 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/5.756, allocations: 15.09 kB / 2.162 GB, free: 29.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/5.756, allocations: 6.312 kB / 2.162 GB, free: 29.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003702/5.76, allocations: 1.53 MB / 2.163 GB, free: 28.76 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009243/5.769, allocations: 6.432 MB / 2.169 GB, free: 26.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/5.769, allocations: 3.875 kB / 2.169 GB, free: 26.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/5.771, allocations: 281.2 kB / 2.17 GB, free: 26.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00237/5.773, allocations: 0.884 MB / 2.171 GB, free: 26.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/5.773, allocations: 53.08 kB / 2.171 GB, free: 26.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/5.775, allocations: 1.97 MB / 2.173 GB, free: 25.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/5.775, allocations: 8.719 kB / 2.173 GB, free: 25.71 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005911/5.781, allocations: 3.431 MB / 2.176 GB, free: 24.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001755/5.783, allocations: 0.6617 MB / 2.177 GB, free: 24.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007811/5.784, allocations: 36.22 kB / 2.177 GB, free: 24.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003709/5.787, allocations: 297.1 kB / 2.177 GB, free: 24.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/5.788, allocations: 113.8 kB / 2.177 GB, free: 24.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/5.788, allocations: 71.03 kB / 2.177 GB, free: 24.04 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003027/5.791, allocations: 1.821 MB / 2.179 GB, free: 23.88 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.5e-07/5.791, allocations: 0 / 2.179 GB, free: 23.88 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.008279/5.799, allocations: 1.646 MB / 2.18 GB, free: 23.77 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 70 * 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.009267/5.809, allocations: 6.826 MB / 2.187 GB, free: 20.22 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005151/5.814, allocations: 2.852 MB / 2.19 GB, free: 20.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.749e-05/5.814, allocations: 9.469 kB / 2.19 GB, free: 20.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001437/5.815, allocations: 0.8045 MB / 2.191 GB, free: 20 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007381/5.823, allocations: 1.488 MB / 2.192 GB, free: 19.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/5.835, allocations: 4.358 MB / 2.196 GB, free: 18.69 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/5.837, allocations: 1.778 MB / 2.198 GB, free: 17.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00474/5.841, allocations: 0.8344 MB / 2.199 GB, free: 17.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001433/5.843, allocations: 1.128 MB / 2.2 GB, free: 17.83 MB / 0.7136 GB Notification: Performance of SimCode: time 1.573e-06/5.843, allocations: 0 / 2.2 GB, free: 17.83 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1553/5.998, allocations: 110.4 MB / 2.308 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/5.998, allocations: 228.6 kB / 2.308 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.196/12.19, allocations: 4 kB / 2.308 GB, free: 14.25 MB / 0.7448 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)