Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="IDEAS_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.001291/0.001291, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7424/0.7424, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.621/1.621, allocations: 221.3 MB / 400.4 MB, free: 5.875 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.0009004/0.0009005, allocations: 103.2 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.083e-05/5.116e-05, allocations: 3.406 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1781, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.348/1.527, allocations: 398.8 MB / 1.03 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/1.527, allocations: 90.19 kB / 1.03 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.573/6.1, allocations: 1.063 GB / 2.093 GB, free: 58.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.593e-06/6.1, allocations: 0 / 2.093 GB, free: 58.55 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004688/6.101, allocations: 81.56 kB / 2.093 GB, free: 58.54 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.008803/6.109, allocations: 3.188 MB / 2.096 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/6.109, allocations: 11.53 kB / 2.096 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000976/6.11, allocations: 322.1 kB / 2.096 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00989/6.12, allocations: 1.318 MB / 2.097 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01052/6.131, allocations: 3.31 MB / 2.101 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004341/6.131, allocations: 254.3 kB / 2.101 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001111/6.132, allocations: 230.2 kB / 2.101 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007815/6.14, allocations: 2.83 MB / 2.104 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/6.14, allocations: 6.969 kB / 2.104 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008053/6.141, allocations: 101.4 kB / 2.104 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/6.141, allocations: 71.23 kB / 2.104 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005474/6.147, allocations: 2.165 MB / 2.106 GB, free: 55.75 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.0192/6.166, allocations: 13.51 MB / 2.119 GB, free: 49.88 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/6.168, allocations: 1.227 MB / 2.121 GB, free: 49.65 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008565/6.169, allocations: 0.641 MB / 2.121 GB, free: 49.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001454/6.17, allocations: 1.774 MB / 2.123 GB, free: 47.67 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001357/6.171, allocations: 0.9822 MB / 2.124 GB, free: 47.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 3.336e-06/6.171, allocations: 1.781 kB / 2.124 GB, free: 47.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.01608/6.188, allocations: 10.11 MB / 2.134 GB, free: 41.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002435/6.188, allocations: 0.9418 MB / 2.135 GB, free: 40.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00391/6.192, allocations: 2.342 MB / 2.137 GB, free: 39.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004028/6.192, allocations: 59.83 kB / 2.137 GB, free: 39.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001056/6.193, allocations: 1.361 MB / 2.138 GB, free: 39.47 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004293/6.194, allocations: 420.4 kB / 2.139 GB, free: 39.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/6.194, allocations: 32.66 kB / 2.139 GB, free: 39.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001032/6.194, allocations: 367.9 kB / 2.139 GB, free: 38.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/6.195, allocations: 0.6322 MB / 2.14 GB, free: 38.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/6.196, allocations: 1.265 MB / 2.141 GB, free: 38.21 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/6.198, allocations: 0.7718 MB / 2.142 GB, free: 38.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/6.198, allocations: 2.625 kB / 2.142 GB, free: 38.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004096/6.202, allocations: 2.38 MB / 2.144 GB, free: 37.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001005/6.203, allocations: 5.248 MB / 2.149 GB, free: 32.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/6.203, allocations: 13.81 kB / 2.149 GB, free: 32.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002893/6.206, allocations: 1.053 MB / 2.15 GB, free: 32.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002424/6.208, allocations: 451 kB / 2.151 GB, free: 32.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/6.211, allocations: 2.206 MB / 2.153 GB, free: 31.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005213/6.216, allocations: 434.5 kB / 2.153 GB, free: 31.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002742/6.216, allocations: 108.6 kB / 2.153 GB, free: 31.31 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/6.216, allocations: 2.938 kB / 2.153 GB, free: 31.31 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003534/6.22, allocations: 2.097 MB / 2.155 GB, free: 31.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/6.22, allocations: 10.16 kB / 2.155 GB, free: 31.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002697/6.222, allocations: 1.049 MB / 2.156 GB, free: 31.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/6.225, allocations: 437.8 kB / 2.157 GB, free: 31.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/6.227, allocations: 2.201 MB / 2.159 GB, free: 30.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004704/6.232, allocations: 374.6 kB / 2.159 GB, free: 30.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002407/6.232, allocations: 104.7 kB / 2.159 GB, free: 30.11 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.0005907/6.232, allocations: 219 kB / 2.16 GB, free: 30 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006115/6.233, allocations: 286.6 kB / 2.16 GB, free: 29.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004833/6.238, allocations: 1.774 MB / 2.162 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/6.238, allocations: 14.72 kB / 2.162 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/6.238, allocations: 7.516 kB / 2.162 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003587/6.241, allocations: 1.531 MB / 2.163 GB, free: 29.44 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009671/6.251, allocations: 6.435 MB / 2.169 GB, free: 27.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/6.251, allocations: 10.77 kB / 2.169 GB, free: 27.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002027/6.253, allocations: 272.7 kB / 2.17 GB, free: 27.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003027/6.256, allocations: 0.8884 MB / 2.171 GB, free: 27.47 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002129/6.257, allocations: 50.95 kB / 2.171 GB, free: 27.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002312/6.259, allocations: 1.964 MB / 2.173 GB, free: 26.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/6.259, allocations: 12.56 kB / 2.173 GB, free: 26.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006725/6.266, allocations: 3.43 MB / 2.176 GB, free: 24.99 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002326/6.268, allocations: 0.6607 MB / 2.177 GB, free: 24.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006095/6.269, allocations: 38.55 kB / 2.177 GB, free: 24.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003774/6.272, allocations: 292.2 kB / 2.177 GB, free: 24.74 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002589/6.273, allocations: 111.8 kB / 2.177 GB, free: 24.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/6.273, allocations: 73.33 kB / 2.177 GB, free: 24.74 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003436/6.276, allocations: 1.82 MB / 2.179 GB, free: 24.58 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.61e-07/6.276, allocations: 0 / 2.179 GB, free: 24.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006381/6.283, allocations: 1.648 MB / 2.18 GB, free: 24.46 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.01019/6.293, allocations: 6.836 MB / 2.187 GB, free: 36.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005433/6.298, allocations: 2.852 MB / 2.19 GB, free: 36.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.561e-05/6.298, allocations: 9.625 kB / 2.19 GB, free: 36.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/6.3, allocations: 0.8026 MB / 2.191 GB, free: 36.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007625/6.308, allocations: 1.484 MB / 2.192 GB, free: 36.67 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009913/6.317, allocations: 4.352 MB / 2.196 GB, free: 35.38 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/6.319, allocations: 1.772 MB / 2.198 GB, free: 34.64 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004054/6.323, allocations: 0.8436 MB / 2.199 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/6.324, allocations: 1.13 MB / 2.2 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of SimCode: time 8.62e-07/6.324, allocations: 0 / 2.2 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1694/6.494, allocations: 110.4 MB / 2.308 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002363/6.494, allocations: 225.7 kB / 2.308 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.38/12.87, allocations: 4 kB / 2.308 GB, free: 5.543 MB / 0.7448 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)