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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006359/0.006359, allocations: 103.2 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 190.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8473/0.8473, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 66.5 kB / 0.5814 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1593, allocations: 80.22 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.5374/0.6967, allocations: 126.1 MB / 0.7828 GB, free: 19.65 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01986/0.7166, allocations: 15.41 MB / 0.7979 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004256/0.7209, allocations: 74.34 kB / 0.798 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003596/0.7246, allocations: 0.9893 MB / 0.7989 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008875/0.7335, allocations: 2.724 MB / 0.8016 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00603/0.7395, allocations: 2.139 MB / 0.8037 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007575/0.7471, allocations: 4.795 MB / 0.8084 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003609/0.7508, allocations: 1.703 MB / 0.81 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005118/0.7559, allocations: 1.887 MB / 0.8119 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003276/0.7592, allocations: 1.336 MB / 0.8132 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000678/0.7599, allocations: 204 kB / 0.8134 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00521/0.7651, allocations: 2.044 MB / 0.8154 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008176/0.766, allocations: 0.5006 MB / 0.8159 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002141/0.7681, allocations: 1.084 MB / 0.8169 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007008/0.7751, allocations: 3.702 MB / 0.8205 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7752, allocations: 2.688 kB / 0.8205 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7752, allocations: 0 / 0.8205 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001068/0.7753, allocations: 4 kB / 0.8205 GB, free: 4.371 MB / 0.5762 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.005282/0.7806, allocations: 2.449 MB / 0.8229 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.7806, allocations: 9.5 kB / 0.8229 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005857/0.7865, allocations: 0.7181 MB / 0.8236 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003422/0.79, allocations: 1.7 MB / 0.8253 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.7901, allocations: 130.6 kB / 0.8254 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003011/0.7904, allocations: 125 kB / 0.8255 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004275/0.7947, allocations: 1.725 MB / 0.8272 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.7948, allocations: 2.219 kB / 0.8272 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.795, allocations: 56.77 kB / 0.8273 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-05/0.795, allocations: 45.98 kB / 0.8273 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004829/0.7999, allocations: 1.505 MB / 0.8288 GB, free: 14.8 MB / 0.5919 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.01095/0.8108, allocations: 7.533 MB / 0.8361 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004237/0.8151, allocations: 1.152 MB / 0.8373 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002018/0.8171, allocations: 0.5927 MB / 0.8379 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/0.8185, allocations: 1.271 MB / 0.8391 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002424/0.8209, allocations: 0.6913 MB / 0.8398 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.737e-06/0.8209, allocations: 0 / 0.8398 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.01918/0.8401, allocations: 3.171 MB / 0.8429 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/0.8402, allocations: 141.2 kB / 0.843 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/0.8426, allocations: 1.288 MB / 0.8443 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001882/0.8428, allocations: 53.64 kB / 0.8443 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006791/0.8434, allocations: 0.727 MB / 0.845 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000342/0.8438, allocations: 276.1 kB / 0.8453 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004125/0.8442, allocations: 218.4 kB / 0.8455 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.8443, allocations: 341.9 kB / 0.8458 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/0.8464, allocations: 0.5317 MB / 0.8463 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002283/0.8487, allocations: 0.8027 MB / 0.8471 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004132/0.8528, allocations: 1.229 MB / 0.8483 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.8529, allocations: 4 kB / 0.8483 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005579/0.8584, allocations: 1.652 MB / 0.8499 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.8585, allocations: 8 kB / 0.8499 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.8585, allocations: 4 kB / 0.8499 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002107/0.8606, allocations: 0.5812 MB / 0.8505 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.862, allocations: 243.6 kB / 0.8507 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.8641, allocations: 1.173 MB / 0.8519 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/0.8662, allocations: 178.8 kB / 0.8521 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.8663, allocations: 59.94 kB / 0.8521 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002594/0.8689, allocations: 0.8298 MB / 0.8529 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002247/0.8712, allocations: 0.7827 MB / 0.8537 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004073/0.8753, allocations: 1.219 MB / 0.8549 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/0.8753, allocations: 4 kB / 0.8549 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005532/0.8808, allocations: 1.641 MB / 0.8565 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.8809, allocations: 11.94 kB / 0.8565 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.8809, allocations: 7.938 kB / 0.8565 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/0.8828, allocations: 0.5656 MB / 0.8571 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.8842, allocations: 243.6 kB / 0.8573 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.8862, allocations: 1.174 MB / 0.8584 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/0.8882, allocations: 159.2 kB / 0.8586 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.8884, allocations: 51.95 kB / 0.8586 GB, free: 15.12 MB / 0.6231 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 ($PRE.calDat.nextTimeEvent,$whenCondition1,heaPum.com.isOn,$PRE.heaPum.com.isOn,calDat.nextTimeEventScaled,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0003966/0.8888, allocations: 254.8 kB / 0.8589 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005063/0.8893, allocations: 150.2 kB / 0.859 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/0.903, allocations: 2.119 MB / 0.8611 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/0.903, allocations: 8 kB / 0.8611 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.903, allocations: 4 kB / 0.8611 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01284/0.9159, allocations: 1.954 MB / 0.863 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009765/0.9257, allocations: 3.654 MB / 0.8666 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.9257, allocations: 8.188 kB / 0.8666 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.9269, allocations: 171.7 kB / 0.8668 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001911/0.9288, allocations: 0.5437 MB / 0.8673 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.9289, allocations: 31.95 kB / 0.8673 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.931, allocations: 1.166 MB / 0.8685 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.931, allocations: 0 / 0.8685 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00516/0.9362, allocations: 1.592 MB / 0.87 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000787/0.937, allocations: 379 kB / 0.8704 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003627/0.9373, allocations: 20 kB / 0.8704 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/0.9391, allocations: 111.9 kB / 0.8705 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.9392, allocations: 52.53 kB / 0.8706 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.9394, allocations: 59.92 kB / 0.8706 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001426/0.9408, allocations: 0.8829 MB / 0.8715 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9408, allocations: 0 / 0.8715 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002795/0.9436, allocations: 0.9742 MB / 0.8724 GB, free: 0.7031 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002093/0.9457, allocations: 0.8909 MB / 0.8733 GB, free: 28 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006963/0.9527, allocations: 2.022 MB / 0.8753 GB, free: 14 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.9527, allocations: 0 / 0.8753 GB, free: 14 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002247/0.955, allocations: 0.6282 MB / 0.8759 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003761/0.9588, allocations: 0.7669 MB / 0.8766 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005898/0.9647, allocations: 2.681 MB / 0.8792 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009028/0.9656, allocations: 1.255 MB / 0.8805 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001539/0.9672, allocations: 363.9 kB / 0.8808 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003804/0.9676, allocations: 147.2 kB / 0.881 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of SimCode: time 6.81e-07/0.9676, allocations: 3.938 kB / 0.881 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of Templates: time 0.06102/1.029, allocations: 40.29 MB / 0.9203 GB, free: 120 kB / 0.67 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)