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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001551/0.001551, allocations: 193.6 kB / 16.14 MB, free: 6.648 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.329/1.329, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9114/0.9114, allocations: 135.1 MB / 425.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 61.16 kB / 0.5047 GB, free: 5.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1879, allocations: 80.92 MB / 0.5837 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.3927/0.5807, allocations: 125.2 MB / 0.706 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0244/0.6051, allocations: 15.56 MB / 0.7212 GB, free: 8.172 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004694/0.6099, allocations: 69.44 kB / 0.7213 GB, free: 8.145 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003652/0.6136, allocations: 0.7956 MB / 0.722 GB, free: 7.684 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009381/0.623, allocations: 2.396 MB / 0.7244 GB, free: 6.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006216/0.6292, allocations: 1.904 MB / 0.7262 GB, free: 5.145 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007463/0.6367, allocations: 6.013 MB / 0.7321 GB, free: 2.484 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/0.6388, allocations: 1.408 MB / 0.7335 GB, free: 1.598 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003271/0.6421, allocations: 1.538 MB / 0.735 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.6447, allocations: 1.314 MB / 0.7363 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004884/0.6452, allocations: 90.5 kB / 0.7364 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005005/0.6502, allocations: 1.824 MB / 0.7381 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005865/0.6508, allocations: 404.6 kB / 0.7385 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00158/0.6524, allocations: 0.9732 MB / 0.7395 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005034/0.6575, allocations: 3.598 MB / 0.743 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6575, allocations: 4 kB / 0.743 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6575, allocations: 0 / 0.743 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.984e-05/0.6575, allocations: 0 / 0.743 GB, free: 10.36 MB / 0.5606 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.00423/0.6618, allocations: 2.449 MB / 0.7454 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.6618, allocations: 8.031 kB / 0.7454 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006102/0.6679, allocations: 0.7163 MB / 0.7461 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002785/0.6707, allocations: 1.666 MB / 0.7477 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.6709, allocations: 128.2 kB / 0.7478 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.6711, allocations: 132 kB / 0.748 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003987/0.6751, allocations: 1.735 MB / 0.7497 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.6751, allocations: 0 / 0.7497 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/0.6753, allocations: 52 kB / 0.7497 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-05/0.6753, allocations: 39.98 kB / 0.7498 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004739/0.6801, allocations: 1.511 MB / 0.7512 GB, free: 1.688 MB / 0.5606 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.01055/0.6906, allocations: 7.545 MB / 0.7586 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004251/0.6949, allocations: 1.166 MB / 0.7597 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/0.6969, allocations: 0.5883 MB / 0.7603 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/0.6982, allocations: 1.271 MB / 0.7616 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00233/0.7005, allocations: 0.6912 MB / 0.7622 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.876e-06/0.7006, allocations: 4 kB / 0.7622 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.01806/0.7186, allocations: 3.163 MB / 0.7653 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.7188, allocations: 141.2 kB / 0.7655 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.721, allocations: 1.278 MB / 0.7667 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.7211, allocations: 45.7 kB / 0.7668 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007837/0.7219, allocations: 0.7193 MB / 0.7675 GB, free: 304 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003164/0.7222, allocations: 276 kB / 0.7677 GB, free: 24 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004194/0.7227, allocations: 222.5 kB / 0.7679 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.7228, allocations: 345.9 kB / 0.7683 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002117/0.7249, allocations: 0.5278 MB / 0.7688 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002228/0.7272, allocations: 0.806 MB / 0.7696 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004037/0.7312, allocations: 1.229 MB / 0.7708 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.7312, allocations: 0 / 0.7708 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005355/0.7366, allocations: 1.66 MB / 0.7724 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.7366, allocations: 11.94 kB / 0.7724 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.7367, allocations: 4.625 kB / 0.7724 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002023/0.7387, allocations: 0.58 MB / 0.773 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.7401, allocations: 251.6 kB / 0.7732 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.7422, allocations: 1.17 MB / 0.7743 GB, free: 9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/0.7443, allocations: 222.8 kB / 0.7746 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.7445, allocations: 59.94 kB / 0.7746 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002576/0.747, allocations: 0.8259 MB / 0.7754 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002336/0.7494, allocations: 0.7944 MB / 0.7762 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00412/0.7535, allocations: 1.213 MB / 0.7774 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.446e-06/0.7535, allocations: 4 kB / 0.7774 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005565/0.7591, allocations: 1.64 MB / 0.779 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.7592, allocations: 4 kB / 0.779 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.7592, allocations: 11.94 kB / 0.779 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001974/0.7612, allocations: 0.5597 MB / 0.7796 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.7626, allocations: 239.6 kB / 0.7798 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.7646, allocations: 1.178 MB / 0.7809 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/0.7667, allocations: 199.2 kB / 0.7811 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/0.7669, allocations: 59.94 kB / 0.7812 GB, free: 1.77 MB / 0.5919 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.0003948/0.7673, allocations: 251 kB / 0.7814 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007839/0.7681, allocations: 154.2 kB / 0.7816 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/0.7818, allocations: 2.118 MB / 0.7836 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.7819, allocations: 8 kB / 0.7836 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.7819, allocations: 0 / 0.7836 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01236/0.7943, allocations: 1.958 MB / 0.7856 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00872/0.803, allocations: 3.649 MB / 0.7891 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.8031, allocations: 0 / 0.7891 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.8043, allocations: 171.8 kB / 0.7893 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001906/0.8062, allocations: 0.5476 MB / 0.7898 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.8063, allocations: 39.94 kB / 0.7899 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.8083, allocations: 1.15 MB / 0.791 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.8084, allocations: 4 kB / 0.791 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005342/0.8137, allocations: 1.596 MB / 0.7925 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.8147, allocations: 382.9 kB / 0.7929 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003945/0.8152, allocations: 24 kB / 0.7929 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/0.8172, allocations: 147.8 kB / 0.7931 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.8174, allocations: 56.52 kB / 0.7931 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/0.8176, allocations: 51.92 kB / 0.7932 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0019/0.8195, allocations: 0.875 MB / 0.794 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8195, allocations: 0 / 0.794 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003644/0.8231, allocations: 0.9704 MB / 0.795 GB, free: 3.32 MB / 0.6075 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.002408/0.8256, allocations: 0.8645 MB / 0.7958 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007596/0.8332, allocations: 2.01 MB / 0.7978 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.8332, allocations: 0 / 0.7978 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002327/0.8355, allocations: 0.6282 MB / 0.7984 GB, free: 4 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004363/0.8399, allocations: 0.7633 MB / 0.7991 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007266/0.8472, allocations: 3.312 MB / 0.8024 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/0.8484, allocations: 1.263 MB / 0.8036 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002206/0.8507, allocations: 367.9 kB / 0.804 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005086/0.8512, allocations: 139.3 kB / 0.8041 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of SimCode: time 1.132e-06/0.8512, allocations: 0 / 0.8041 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of Templates: time 0.06557/0.9168, allocations: 38.41 MB / 0.8416 GB, free: 4.062 MB / 0.6544 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)