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.006296/0.006296, allocations: 170.8 kB / 15.11 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.7418/0.7418, allocations: 132.3 MB / 148.1 MB, free: 232 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.559/1.559, allocations: 223.1 MB / 403.2 MB, free: 6.738 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.001095/0.001096, allocations: 97.94 kB / 485.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003569, allocations: 12 kB / 0.5641 GB, free: 2.102 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5067/0.5071, allocations: 81.58 MB / 0.6437 GB, free: 39.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8542/1.361, allocations: 401.4 MB / 1.036 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/1.362, allocations: 106.9 kB / 1.036 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.259/3.62, allocations: 0.5664 GB / 1.602 GB, free: 98.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.964e-06/3.62, allocations: 2.188 kB / 1.602 GB, free: 98.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002046/3.621, allocations: 50.16 kB / 1.602 GB, free: 98.23 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.006377/3.627, allocations: 2.257 MB / 1.604 GB, free: 97.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/3.627, allocations: 11.47 kB / 1.604 GB, free: 97.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00545/3.632, allocations: 0.6826 MB / 1.605 GB, free: 97.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004719/3.637, allocations: 1.878 MB / 1.607 GB, free: 97.01 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/3.637, allocations: 139.6 kB / 1.607 GB, free: 96.97 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003371/3.638, allocations: 122.8 kB / 1.607 GB, free: 96.97 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004425/3.642, allocations: 1.75 MB / 1.609 GB, free: 96.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/3.642, allocations: 0.6562 kB / 1.609 GB, free: 96.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/3.642, allocations: 58.92 kB / 1.609 GB, free: 96.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.188e-05/3.643, allocations: 56.64 kB / 1.609 GB, free: 96.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004693/3.647, allocations: 1.53 MB / 1.611 GB, free: 96.66 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.01193/3.659, allocations: 7.511 MB / 1.618 GB, free: 93.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004151/3.663, allocations: 1.227 MB / 1.619 GB, free: 93.27 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/3.665, allocations: 1.275 MB / 1.62 GB, free: 91.86 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002267/3.667, allocations: 0.7218 MB / 1.621 GB, free: 91.81 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=79): time 4.558e-06/3.667, allocations: 0 / 1.621 GB, free: 91.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=79): time 0.02286/3.69, allocations: 3.585 MB / 1.624 GB, free: 91.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.12e-05/3.69, allocations: 164.5 kB / 1.625 GB, free: 91.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/3.693, allocations: 1.192 MB / 1.626 GB, free: 91.23 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004727/3.693, allocations: 48.2 kB / 1.626 GB, free: 91.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009975/3.694, allocations: 0.7347 MB / 1.627 GB, free: 90.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000489/3.695, allocations: 270.8 kB / 1.627 GB, free: 90.83 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/3.695, allocations: 17.22 kB / 1.627 GB, free: 90.83 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.75e-05/3.695, allocations: 344.2 kB / 1.627 GB, free: 90.53 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/3.697, allocations: 0.5466 MB / 1.628 GB, free: 90.53 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/3.699, allocations: 0.8438 MB / 1.629 GB, free: 90.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/3.702, allocations: 0.5947 MB / 1.629 GB, free: 90.19 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/3.702, allocations: 0 / 1.629 GB, free: 90.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005806/3.708, allocations: 1.695 MB / 1.631 GB, free: 90.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005164/3.708, allocations: 2.409 MB / 1.633 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/3.708, allocations: 10.73 kB / 1.633 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/3.71, allocations: 0.5726 MB / 1.634 GB, free: 87.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/3.712, allocations: 247.8 kB / 1.634 GB, free: 87.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/3.713, allocations: 1.189 MB / 1.635 GB, free: 87.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002593/3.716, allocations: 245.2 kB / 1.635 GB, free: 86.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/3.716, allocations: 56.33 kB / 1.635 GB, free: 86.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/3.716, allocations: 7.75 kB / 1.635 GB, free: 86.99 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005154/3.721, allocations: 1.502 MB / 1.637 GB, free: 86.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/3.722, allocations: 6.375 kB / 1.637 GB, free: 86.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/3.723, allocations: 0.5703 MB / 1.637 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/3.725, allocations: 237.6 kB / 1.638 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/3.726, allocations: 1.187 MB / 1.639 GB, free: 86.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/3.729, allocations: 222.5 kB / 1.639 GB, free: 86.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/3.729, allocations: 52.06 kB / 1.639 GB, free: 86.38 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.001163/3.73, allocations: 474.2 kB / 1.64 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005496/3.731, allocations: 153.6 kB / 1.64 GB, free: 86.11 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005469/3.736, allocations: 1.668 MB / 1.641 GB, free: 86 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/3.736, allocations: 10.5 kB / 1.641 GB, free: 86 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/3.736, allocations: 0 / 1.641 GB, free: 86 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004408/3.741, allocations: 1.45 MB / 1.643 GB, free: 85.81 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008771/3.749, allocations: 3.345 MB / 1.646 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/3.75, allocations: 3.969 kB / 1.646 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/3.751, allocations: 186.7 kB / 1.646 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001729/3.752, allocations: 0.5452 MB / 1.647 GB, free: 85.38 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/3.753, allocations: 40.08 kB / 1.647 GB, free: 85.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/3.754, allocations: 1.171 MB / 1.648 GB, free: 84.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/3.754, allocations: 0 / 1.648 GB, free: 84.84 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005282/3.76, allocations: 1.707 MB / 1.65 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/3.761, allocations: 416.3 kB / 1.65 GB, free: 84.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005231/3.761, allocations: 25.23 kB / 1.65 GB, free: 84.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/3.764, allocations: 164.2 kB / 1.65 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/3.764, allocations: 56.53 kB / 1.65 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/3.764, allocations: 56.91 kB / 1.65 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001743/3.766, allocations: 0.9247 MB / 1.651 GB, free: 84.19 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/3.766, allocations: 3.375 kB / 1.651 GB, free: 84.19 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004357/3.77, allocations: 1.072 MB / 1.652 GB, free: 84.02 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.003361/3.773, allocations: 1.254 MB / 1.653 GB, free: 83.78 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007314/3.781, allocations: 2.073 MB / 1.655 GB, free: 83.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/3.781, allocations: 0 / 1.655 GB, free: 83.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00224/3.783, allocations: 0.662 MB / 1.656 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004052/3.787, allocations: 0.7598 MB / 1.657 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007467/3.795, allocations: 3.285 MB / 1.66 GB, free: 82.28 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/3.796, allocations: 1.299 MB / 1.661 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002517/3.798, allocations: 392 kB / 1.662 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005408/3.799, allocations: 144.2 kB / 1.662 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of SimCode: time 1.092e-06/3.799, allocations: 0 / 1.662 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of Templates: time 0.06042/3.859, allocations: 41.72 MB / 1.703 GB, free: 79.21 MB / 0.6823 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)