Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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/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/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: translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009844/0.009844, allocations: 173.6 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8389/0.8389, allocations: 132.3 MB / 148.1 MB, free: 236 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.2 MB / 403.2 MB, free: 6.652 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 94.08 kB / 485.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003642, allocations: 8 kB / 0.5641 GB, free: 2.082 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4797/0.48, allocations: 81.58 MB / 0.6438 GB, free: 39.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8768/1.357, allocations: 398.5 MB / 1.033 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/1.357, allocations: 94.52 kB / 1.033 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.783/5.141, allocations: 1.065 GB / 2.098 GB, free: 1.879 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.154e-06/5.141, allocations: 0 / 2.098 GB, free: 1.879 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002813/5.141, allocations: 83.98 kB / 2.098 GB, free: 1.797 MB / 0.698 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.00875/5.15, allocations: 3.703 MB / 2.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/5.15, allocations: 12.03 kB / 2.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/5.161, allocations: 1.319 MB / 2.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/5.171, allocations: 3.345 MB / 2.106 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/5.171, allocations: 255.9 kB / 2.107 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006237/5.172, allocations: 236 kB / 2.107 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00839/5.181, allocations: 3.201 MB / 2.11 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.118e-05/5.181, allocations: 7.938 kB / 2.11 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002849/5.181, allocations: 100 kB / 2.11 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.134e-05/5.181, allocations: 67.98 kB / 2.11 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009884/5.191, allocations: 2.889 MB / 2.113 GB, free: 2.277 MB / 0.7136 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.4899/5.681, allocations: 13.31 MB / 2.126 GB, free: 53.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004572/5.685, allocations: 1.599 MB / 2.128 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001552/5.687, allocations: 1.779 MB / 2.129 GB, free: 51.65 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003851/5.691, allocations: 1.28 MB / 2.131 GB, free: 51.37 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=122): time 5.22e-06/5.691, allocations: 0 / 2.131 GB, free: 51.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.03951/5.73, allocations: 6.124 MB / 2.137 GB, free: 50.97 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002302/5.731, allocations: 0.9364 MB / 2.138 GB, free: 49.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004364/5.735, allocations: 2.342 MB / 2.14 GB, free: 49.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0006173/5.736, allocations: 60.17 kB / 2.14 GB, free: 49.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001447/5.737, allocations: 1.362 MB / 2.141 GB, free: 49.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006848/5.738, allocations: 424.1 kB / 2.142 GB, free: 49.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/5.738, allocations: 37 kB / 2.142 GB, free: 49.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.929e-05/5.738, allocations: 375.3 kB / 2.142 GB, free: 48.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00365/5.742, allocations: 1.001 MB / 2.143 GB, free: 48.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00407/5.746, allocations: 1.615 MB / 2.145 GB, free: 48.05 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003689/5.75, allocations: 1.128 MB / 2.146 GB, free: 48.01 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/5.75, allocations: 3.5 kB / 2.146 GB, free: 48.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01841/5.768, allocations: 3.644 MB / 2.149 GB, free: 47.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000951/5.769, allocations: 5.04 MB / 2.154 GB, free: 42.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/5.769, allocations: 17.06 kB / 2.154 GB, free: 42.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003166/5.772, allocations: 0.9574 MB / 2.155 GB, free: 42.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/5.775, allocations: 0.4911 MB / 2.156 GB, free: 42.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002839/5.778, allocations: 1.994 MB / 2.157 GB, free: 41.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005755/5.784, allocations: 0.5256 MB / 2.158 GB, free: 41.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003858/5.784, allocations: 108 kB / 2.158 GB, free: 41.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/5.784, allocations: 8.422 kB / 2.158 GB, free: 41.34 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01694/5.801, allocations: 3.317 MB / 2.161 GB, free: 41.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.765e-05/5.801, allocations: 13.81 kB / 2.161 GB, free: 41.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003075/5.804, allocations: 0.9626 MB / 2.162 GB, free: 41.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003044/5.807, allocations: 487.4 kB / 2.163 GB, free: 41.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/5.81, allocations: 1.984 MB / 2.165 GB, free: 40.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005254/5.815, allocations: 454.8 kB / 2.165 GB, free: 40.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004081/5.816, allocations: 108.9 kB / 2.165 GB, free: 40.14 MB / 0.7136 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,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * 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.001946/5.818, allocations: 0.6951 MB / 2.166 GB, free: 39.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008483/5.819, allocations: 282.1 kB / 2.166 GB, free: 39.81 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01688/5.836, allocations: 2.936 MB / 2.169 GB, free: 39.69 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.302e-05/5.836, allocations: 14.16 kB / 2.169 GB, free: 39.69 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/5.836, allocations: 10.7 kB / 2.169 GB, free: 39.69 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01567/5.851, allocations: 2.712 MB / 2.172 GB, free: 39.39 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02323/5.875, allocations: 7.669 MB / 2.179 GB, free: 37.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-05/5.875, allocations: 9.062 kB / 2.179 GB, free: 37.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/5.877, allocations: 284.2 kB / 2.18 GB, free: 37.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002999/5.88, allocations: 0.9415 MB / 2.18 GB, free: 37.38 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002381/5.88, allocations: 51.23 kB / 2.18 GB, free: 37.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002725/5.883, allocations: 1.982 MB / 2.182 GB, free: 36.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/5.883, allocations: 8.969 kB / 2.182 GB, free: 36.33 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/5.894, allocations: 4.319 MB / 2.187 GB, free: 34.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00237/5.897, allocations: 0.675 MB / 2.187 GB, free: 34.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009697/5.898, allocations: 39.42 kB / 2.187 GB, free: 34.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004241/5.902, allocations: 292.1 kB / 2.188 GB, free: 34.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002788/5.902, allocations: 112.3 kB / 2.188 GB, free: 34.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/5.903, allocations: 70.78 kB / 2.188 GB, free: 34.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00335/5.906, allocations: 1.832 MB / 2.19 GB, free: 34.46 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.7e-07/5.906, allocations: 1.312 kB / 2.19 GB, free: 34.46 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007369/5.913, allocations: 1.861 MB / 2.191 GB, free: 34.38 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * 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 (84): * Single equations (assignments): 78 * 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.002948/5.916, allocations: 1.507 MB / 2.193 GB, free: 34.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01281/5.929, allocations: 3.656 MB / 2.196 GB, free: 33.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.29e-05/5.929, allocations: 3.906 kB / 2.196 GB, free: 33.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0038/5.933, allocations: 1.094 MB / 2.198 GB, free: 33.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007638/5.941, allocations: 1.384 MB / 2.199 GB, free: 33.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/5.953, allocations: 5.95 MB / 2.205 GB, free: 30.99 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/5.954, allocations: 1.77 MB / 2.206 GB, free: 30.22 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003903/5.958, allocations: 0.6927 MB / 2.207 GB, free: 30.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006529/5.959, allocations: 237.8 kB / 2.207 GB, free: 30.08 MB / 0.7136 GB Notification: Performance of SimCode: time 1.513e-06/5.959, allocations: 0 / 2.207 GB, free: 30.08 MB / 0.7136 GB Notification: Performance of Templates: time 0.1076/6.066, allocations: 74.31 MB / 2.28 GB, free: 25.52 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)