Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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: translateModel(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.008418/0.008418, allocations: 171.9 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-master/package.mo): time 0.9133/0.9133, allocations: 135.2 MB / 151.1 MB, free: 13.83 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.651/1.651, allocations: 223.2 MB / 406.9 MB, free: 3.219 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.0009545/0.0009544, allocations: 99.77 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003315, allocations: 12 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3923, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8023/1.195, allocations: 401.6 MB / 1.042 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/1.195, allocations: 98.62 kB / 1.042 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.376/3.571, allocations: 0.5664 GB / 1.608 GB, free: 99.86 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.793e-06/3.571, allocations: 5.312 kB / 1.608 GB, free: 99.86 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001765/3.572, allocations: 49.62 kB / 1.608 GB, free: 99.86 MB / 0.6823 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.005795/3.577, allocations: 2.247 MB / 1.61 GB, free: 98.99 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/3.577, allocations: 7.562 kB / 1.61 GB, free: 98.99 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005295/3.583, allocations: 0.6848 MB / 1.611 GB, free: 98.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004679/3.588, allocations: 1.888 MB / 1.613 GB, free: 98.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/3.588, allocations: 133.7 kB / 1.613 GB, free: 98.54 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/3.588, allocations: 125.5 kB / 1.613 GB, free: 98.54 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003822/3.592, allocations: 1.745 MB / 1.615 GB, free: 98.25 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/3.592, allocations: 0 / 1.615 GB, free: 98.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/3.592, allocations: 58.16 kB / 1.615 GB, free: 98.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.375e-05/3.592, allocations: 58.25 kB / 1.615 GB, free: 98.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004453/3.596, allocations: 1.529 MB / 1.616 GB, free: 98.23 MB / 0.6823 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.01072/3.607, allocations: 7.533 MB / 1.624 GB, free: 94.86 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00392/3.611, allocations: 1.227 MB / 1.625 GB, free: 94.83 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/3.612, allocations: 1.271 MB / 1.626 GB, free: 93.42 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002155/3.614, allocations: 0.7245 MB / 1.627 GB, free: 93.36 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=79): time 4.338e-06/3.614, allocations: 0 / 1.627 GB, free: 93.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=79): time 0.02118/3.636, allocations: 3.578 MB / 1.63 GB, free: 93.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/3.636, allocations: 162.3 kB / 1.631 GB, free: 92.95 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/3.638, allocations: 1.183 MB / 1.632 GB, free: 92.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002401/3.638, allocations: 46.8 kB / 1.632 GB, free: 92.76 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006536/3.639, allocations: 0.7388 MB / 1.633 GB, free: 92.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/3.639, allocations: 274.3 kB / 1.633 GB, free: 92.35 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/3.639, allocations: 19.12 kB / 1.633 GB, free: 92.35 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.43e-05/3.639, allocations: 338.4 kB / 1.633 GB, free: 92.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001858/3.641, allocations: 0.5455 MB / 1.634 GB, free: 92.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/3.643, allocations: 0.8477 MB / 1.634 GB, free: 91.71 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/3.645, allocations: 0.5972 MB / 1.635 GB, free: 91.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/3.645, allocations: 9.641 kB / 1.635 GB, free: 91.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005/3.65, allocations: 1.691 MB / 1.637 GB, free: 91.56 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004797/3.65, allocations: 2.416 MB / 1.639 GB, free: 89.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/3.65, allocations: 7.594 kB / 1.639 GB, free: 89.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001786/3.652, allocations: 0.5695 MB / 1.64 GB, free: 89.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/3.654, allocations: 245 kB / 1.64 GB, free: 89.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/3.655, allocations: 1.182 MB / 1.641 GB, free: 88.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/3.658, allocations: 245.9 kB / 1.641 GB, free: 88.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/3.658, allocations: 57.98 kB / 1.641 GB, free: 88.51 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/3.658, allocations: 3.312 kB / 1.641 GB, free: 88.51 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004508/3.662, allocations: 1.509 MB / 1.643 GB, free: 88.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/3.662, allocations: 3.938 kB / 1.643 GB, free: 88.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001672/3.664, allocations: 0.5749 MB / 1.643 GB, free: 88.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/3.665, allocations: 237.7 kB / 1.644 GB, free: 88.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/3.667, allocations: 1.179 MB / 1.645 GB, free: 87.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/3.669, allocations: 225.5 kB / 1.645 GB, free: 87.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/3.669, allocations: 53.23 kB / 1.645 GB, free: 87.89 MB / 0.6823 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 () * Number of clocked 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.001079/3.67, allocations: 472.8 kB / 1.645 GB, free: 87.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003418/3.671, allocations: 153.3 kB / 1.646 GB, free: 87.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004963/3.676, allocations: 1.67 MB / 1.647 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/3.676, allocations: 11.39 kB / 1.647 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/3.676, allocations: 4.469 kB / 1.647 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004128/3.68, allocations: 1.455 MB / 1.649 GB, free: 87.33 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007345/3.687, allocations: 3.327 MB / 1.652 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/3.687, allocations: 3.719 kB / 1.652 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/3.688, allocations: 184.2 kB / 1.652 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/3.69, allocations: 0.553 MB / 1.653 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.836e-05/3.69, allocations: 41.56 kB / 1.653 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/3.692, allocations: 1.168 MB / 1.654 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/3.692, allocations: 0 / 1.654 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005206/3.697, allocations: 1.706 MB / 1.656 GB, free: 86.01 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/3.698, allocations: 426.6 kB / 1.656 GB, free: 85.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/3.698, allocations: 16.84 kB / 1.656 GB, free: 85.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/3.7, allocations: 167.4 kB / 1.656 GB, free: 85.82 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/3.7, allocations: 56.56 kB / 1.656 GB, free: 85.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/3.701, allocations: 54.12 kB / 1.656 GB, free: 85.82 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001486/3.702, allocations: 0.929 MB / 1.657 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.92e-07/3.702, allocations: 6.469 kB / 1.657 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003386/3.705, allocations: 1.072 MB / 1.658 GB, free: 85.54 MB / 0.6823 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) * Number of clocked states: 0 () * 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.00263/3.708, allocations: 1.24 MB / 1.659 GB, free: 85.31 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006611/3.715, allocations: 2.074 MB / 1.661 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/3.715, allocations: 3.375 kB / 1.661 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002064/3.717, allocations: 0.6652 MB / 1.662 GB, free: 85.26 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003602/3.72, allocations: 0.7584 MB / 1.663 GB, free: 85.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005722/3.726, allocations: 3.28 MB / 1.666 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006492/3.727, allocations: 1.306 MB / 1.667 GB, free: 83.08 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001941/3.729, allocations: 382.4 kB / 1.668 GB, free: 83.07 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003502/3.729, allocations: 150.8 kB / 1.668 GB, free: 83.06 MB / 0.6823 GB Notification: Performance of SimCode: time 7.61e-07/3.729, allocations: 2.156 kB / 1.668 GB, free: 83.06 MB / 0.6823 GB Notification: Performance of Templates: time 0.06048/3.79, allocations: 41.71 MB / 1.709 GB, free: 80.57 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)