Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009652/0.0009651, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7486/0.7486, allocations: 130.7 MB / 138.7 MB, free: 3.512 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 221.5 MB / 391.8 MB, free: 14.18 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.001022/0.001023, allocations: 102.5 kB / 473.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.088e-05/2.083e-05, allocations: 4 kB / 0.5485 GB, free: 13.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5436/0.5436, allocations: 81.57 MB / 0.6282 GB, free: 42.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9241/1.468, allocations: 400.6 MB / 1.019 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/1.468, allocations: 87.52 kB / 1.019 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.922/4.39, allocations: 0.5616 GB / 1.581 GB, free: 91.88 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.285e-06/4.39, allocations: 0 / 1.581 GB, free: 91.88 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003402/4.39, allocations: 46.42 kB / 1.581 GB, free: 91.88 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.006772/4.397, allocations: 1.966 MB / 1.583 GB, free: 91.15 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/4.397, allocations: 7.594 kB / 1.583 GB, free: 91.15 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00565/4.403, allocations: 0.6815 MB / 1.584 GB, free: 91.05 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008315/4.411, allocations: 1.884 MB / 1.586 GB, free: 90.73 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/4.411, allocations: 92.47 kB / 1.586 GB, free: 90.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006134/4.412, allocations: 74.55 kB / 1.586 GB, free: 90.7 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003336/4.415, allocations: 1.107 MB / 1.587 GB, free: 90.69 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004316/4.42, allocations: 1.383 MB / 1.588 GB, free: 90.41 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.022e-05/4.42, allocations: 4.844 kB / 1.588 GB, free: 90.41 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002811/4.42, allocations: 5.594 kB / 1.588 GB, free: 90.41 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/4.42, allocations: 52.27 kB / 1.588 GB, free: 90.41 MB / 0.6667 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.01323/4.434, allocations: 7.275 MB / 1.595 GB, free: 87.11 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/4.435, allocations: 0.8975 MB / 1.596 GB, free: 87.08 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007668/4.436, allocations: 451.8 kB / 1.597 GB, free: 87.06 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/4.437, allocations: 1.274 MB / 1.598 GB, free: 85.65 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/4.438, allocations: 0.5448 MB / 1.598 GB, free: 85.6 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=79): time 4.519e-06/4.438, allocations: 3.391 kB / 1.598 GB, free: 85.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=79): time 0.005663/4.444, allocations: 1.285 MB / 1.6 GB, free: 85.46 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/4.444, allocations: 164.3 kB / 1.6 GB, free: 85.28 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/4.446, allocations: 1.003 MB / 1.601 GB, free: 85.13 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001765/4.447, allocations: 29.36 kB / 1.601 GB, free: 85.1 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006998/4.447, allocations: 0.7419 MB / 1.602 GB, free: 84.86 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/4.448, allocations: 264.7 kB / 1.602 GB, free: 84.69 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/4.448, allocations: 3.719 kB / 1.602 GB, free: 84.69 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.397e-05/4.448, allocations: 340.5 kB / 1.602 GB, free: 84.39 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/4.448, allocations: 372 kB / 1.603 GB, free: 84.38 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006901/4.449, allocations: 0.6586 MB / 1.603 GB, free: 84.05 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/4.451, allocations: 0.544 MB / 1.604 GB, free: 84.04 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/4.451, allocations: 3.406 kB / 1.604 GB, free: 84.04 MB / 0.6667 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003326/4.454, allocations: 1.371 MB / 1.605 GB, free: 83.91 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000537/4.455, allocations: 2.389 MB / 1.607 GB, free: 81.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/4.455, allocations: 10.08 kB / 1.607 GB, free: 81.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009631/4.456, allocations: 430.4 kB / 1.608 GB, free: 81.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/4.457, allocations: 251 kB / 1.608 GB, free: 81.45 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/4.459, allocations: 1.146 MB / 1.609 GB, free: 80.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/4.461, allocations: 215.4 kB / 1.609 GB, free: 80.87 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/4.461, allocations: 57.38 kB / 1.609 GB, free: 80.87 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/4.461, allocations: 6.219 kB / 1.609 GB, free: 80.87 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002943/4.464, allocations: 1.187 MB / 1.611 GB, free: 80.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/4.464, allocations: 7.469 kB / 1.611 GB, free: 80.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008648/4.465, allocations: 434.4 kB / 1.611 GB, free: 80.83 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/4.466, allocations: 241.2 kB / 1.611 GB, free: 80.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/4.467, allocations: 1.155 MB / 1.612 GB, free: 80.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/4.47, allocations: 185.1 kB / 1.613 GB, free: 80.26 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/4.47, allocations: 58.22 kB / 1.613 GB, free: 80.26 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0004124/4.47, allocations: 136 kB / 1.613 GB, free: 80.15 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/4.471, allocations: 142.3 kB / 1.613 GB, free: 80.07 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/4.473, allocations: 1.282 MB / 1.614 GB, free: 79.98 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/4.473, allocations: 7.719 kB / 1.614 GB, free: 79.98 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/4.473, allocations: 1.844 kB / 1.614 GB, free: 79.98 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001842/4.475, allocations: 1.097 MB / 1.615 GB, free: 79.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004914/4.48, allocations: 2.835 MB / 1.618 GB, free: 79.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/4.48, allocations: 0 / 1.618 GB, free: 79.41 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/4.481, allocations: 184.7 kB / 1.618 GB, free: 79.41 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008692/4.482, allocations: 426.6 kB / 1.619 GB, free: 79.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-05/4.482, allocations: 29 kB / 1.619 GB, free: 79.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/4.484, allocations: 1.137 MB / 1.62 GB, free: 78.87 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/4.484, allocations: 2.344 kB / 1.62 GB, free: 78.87 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/4.486, allocations: 1.337 MB / 1.621 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008822/4.487, allocations: 412.9 kB / 1.621 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/4.487, allocations: 6.656 kB / 1.621 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/4.489, allocations: 154.2 kB / 1.622 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/4.489, allocations: 61.56 kB / 1.622 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/4.489, allocations: 55.67 kB / 1.622 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00118/4.491, allocations: 0.7589 MB / 1.622 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.31e-07/4.491, allocations: 0 / 1.622 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003526/4.494, allocations: 1.052 MB / 1.623 GB, free: 78.04 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002751/4.497, allocations: 1.162 MB / 1.625 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003058/4.5, allocations: 1.559 MB / 1.626 GB, free: 77.77 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/4.5, allocations: 0 / 1.626 GB, free: 77.77 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008212/4.501, allocations: 0.4884 MB / 1.627 GB, free: 77.76 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003834/4.505, allocations: 0.6578 MB / 1.627 GB, free: 77.76 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/4.509, allocations: 1.871 MB / 1.629 GB, free: 77.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007196/4.51, allocations: 1.314 MB / 1.63 GB, free: 76.48 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002325/4.512, allocations: 458.1 kB / 1.631 GB, free: 76.46 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/4.513, allocations: 106.7 kB / 1.631 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of SimCode: time 3.527e-06/4.513, allocations: 0 / 1.631 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of Templates: time 0.06097/4.574, allocations: 38.35 MB / 1.668 GB, free: 74.47 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)