Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 117.8 kB / 16.42 MB, free: 6.5 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.001065/0.001066, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.297/1.297, allocations: 222.9 MB / 241 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.7651/0.7651, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 68.22 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1376, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.06801/0.2056, allocations: 69.9 MB / 0.7286 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01936/0.225, allocations: 14.36 MB / 0.7426 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002252/0.2273, allocations: 75.5 kB / 0.7427 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002329/0.2297, allocations: 0.9473 MB / 0.7436 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006673/0.2364, allocations: 2.659 MB / 0.7462 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004778/0.2412, allocations: 1.978 MB / 0.7481 GB, free: 92 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3221/0.5633, allocations: 4.676 MB / 0.7527 GB, free: 23.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/0.5659, allocations: 1.623 MB / 0.7543 GB, free: 23.3 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004562/0.5705, allocations: 1.821 MB / 0.7561 GB, free: 23.29 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002481/0.5729, allocations: 1.275 MB / 0.7573 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004692/0.5734, allocations: 197.1 kB / 0.7575 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004533/0.578, allocations: 1.978 MB / 0.7594 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004881/0.5785, allocations: 468.2 kB / 0.7599 GB, free: 23.05 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001283/0.5798, allocations: 1.02 MB / 0.7609 GB, free: 22.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005303/0.5851, allocations: 3.521 MB / 0.7643 GB, free: 22.49 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5851, allocations: 0.6562 kB / 0.7643 GB, free: 22.49 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.003e-06/0.5851, allocations: 0 / 0.7643 GB, free: 22.49 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.426e-05/0.5852, allocations: 3.281 kB / 0.7643 GB, free: 22.49 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004409/0.5896, allocations: 2.294 MB / 0.7666 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.5896, allocations: 7.844 kB / 0.7666 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005621/0.5952, allocations: 0.6967 MB / 0.7673 GB, free: 21.22 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/0.5979, allocations: 1.593 MB / 0.7688 GB, free: 20.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.5981, allocations: 132.5 kB / 0.7689 GB, free: 20.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.5983, allocations: 121.5 kB / 0.7691 GB, free: 20.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003849/0.6021, allocations: 1.63 MB / 0.7706 GB, free: 20.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/0.6022, allocations: 4.781 kB / 0.7706 GB, free: 20.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/0.6023, allocations: 52.78 kB / 0.7707 GB, free: 20.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-05/0.6024, allocations: 34.95 kB / 0.7707 GB, free: 20.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004748/0.6071, allocations: 1.457 MB / 0.7722 GB, free: 20.48 MB / 0.5762 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.009612/0.6168, allocations: 6.992 MB / 0.779 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002136/0.6189, allocations: 0.7357 MB / 0.7797 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.6206, allocations: 494.4 kB / 0.7802 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009831/0.6216, allocations: 1.271 MB / 0.7814 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.6216, allocations: 40.12 kB / 0.7815 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=68): time 2.695e-06/0.6216, allocations: 1 kB / 0.7815 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=68): time 0.01966/0.6413, allocations: 3.017 MB / 0.7844 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.6414, allocations: 113.1 kB / 0.7845 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/0.6436, allocations: 1.378 MB / 0.7859 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000146/0.6438, allocations: 45.7 kB / 0.7859 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005025/0.6443, allocations: 0.6961 MB / 0.7866 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.6445, allocations: 241.6 kB / 0.7868 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003641/0.6449, allocations: 232.4 kB / 0.787 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.443e-05/0.6449, allocations: 346 kB / 0.7874 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.6468, allocations: 0.5033 MB / 0.7879 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/0.6488, allocations: 0.784 MB / 0.7886 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003424/0.6523, allocations: 1.142 MB / 0.7897 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.6523, allocations: 0 / 0.7897 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004995/0.6573, allocations: 1.566 MB / 0.7913 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.6573, allocations: 8 kB / 0.7913 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.6574, allocations: 8.812 kB / 0.7913 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/0.659, allocations: 489.8 kB / 0.7917 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.6604, allocations: 257.5 kB / 0.792 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.6618, allocations: 0.9883 MB / 0.793 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/0.6642, allocations: 227.3 kB / 0.7932 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.6644, allocations: 53.36 kB / 0.7932 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00232/0.6667, allocations: 0.7991 MB / 0.794 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00193/0.6686, allocations: 0.7784 MB / 0.7948 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003328/0.672, allocations: 1.133 MB / 0.7959 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.199e-06/0.672, allocations: 3.625 kB / 0.7959 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.004836/0.6768, allocations: 1.553 MB / 0.7974 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.6769, allocations: 12.78 kB / 0.7974 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.6769, allocations: 7 kB / 0.7974 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001571/0.6784, allocations: 478.2 kB / 0.7979 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.6798, allocations: 256.2 kB / 0.7981 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.6813, allocations: 0.9959 MB / 0.7991 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/0.6838, allocations: 187.7 kB / 0.7993 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.6839, allocations: 62.44 kB / 0.7993 GB, free: 8.051 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * 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 {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003895/0.6843, allocations: 234.1 kB / 0.7995 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000572/0.6849, allocations: 146 kB / 0.7997 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004293/0.6892, allocations: 1.302 MB / 0.801 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003492/0.6927, allocations: 1.112 MB / 0.802 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.6927, allocations: 3.984 kB / 0.802 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009134/0.6936, allocations: 355.9 kB / 0.8024 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000544/0.6942, allocations: 13.22 kB / 0.8024 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/0.6961, allocations: 113.6 kB / 0.8025 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.6962, allocations: 39.12 kB / 0.8025 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006229/0.7025, allocations: 1.426 MB / 0.8039 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005141/0.7076, allocations: 1.735 MB / 0.8056 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001456/0.7091, allocations: 442.6 kB / 0.806 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0016/0.7107, allocations: 0.973 MB / 0.807 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of Backend: time 4.21e-07/0.7107, allocations: 0 / 0.807 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00813/0.7188, allocations: 2.143 MB / 0.8091 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of SimCode: time 0.007492/0.7264, allocations: 3.488 MB / 0.8125 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of Templates: time 0.07087/0.7973, allocations: 45 MB / 0.8564 GB, free: 1.191 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)