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.007305/0.007305, allocations: 100.7 kB / 15.73 MB, free: 6.438 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.001689/0.001689, allocations: 194.9 kB / 16.68 MB, free: 6.355 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7774/0.7774, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001286, allocations: 59.91 kB / 0.5814 GB, free: 7.574 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3772, allocations: 80.2 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.06552/0.4428, allocations: 69.92 MB / 0.728 GB, free: 192 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02051/0.4633, allocations: 14.34 MB / 0.742 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002704/0.466, allocations: 71.56 kB / 0.742 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002792/0.4689, allocations: 0.9512 MB / 0.743 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008073/0.477, allocations: 2.661 MB / 0.7456 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005271/0.4823, allocations: 1.983 MB / 0.7475 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006186/0.4885, allocations: 4.688 MB / 0.7521 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002544/0.4911, allocations: 1.614 MB / 0.7536 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004005/0.4951, allocations: 1.823 MB / 0.7554 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.4971, allocations: 1.273 MB / 0.7567 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000451/0.4975, allocations: 196 kB / 0.7569 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004049/0.5016, allocations: 1.981 MB / 0.7588 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005922/0.5022, allocations: 474.5 kB / 0.7592 GB, free: 56 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00149/0.5037, allocations: 1.015 MB / 0.7602 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0052/0.5089, allocations: 3.524 MB / 0.7637 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5089, allocations: 0 / 0.7637 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5089, allocations: 0 / 0.7637 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.607e-05/0.509, allocations: 0 / 0.7637 GB, free: 11.5 MB / 0.5919 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.004453/0.5135, allocations: 2.294 MB / 0.7659 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.5135, allocations: 8.031 kB / 0.7659 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005324/0.5188, allocations: 0.7046 MB / 0.7666 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002665/0.5215, allocations: 1.58 MB / 0.7682 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.5217, allocations: 128 kB / 0.7683 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.5219, allocations: 120 kB / 0.7684 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003751/0.5256, allocations: 1.636 MB / 0.77 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.5257, allocations: 7.938 kB / 0.77 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.5258, allocations: 48 kB / 0.77 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.423e-05/0.5259, allocations: 43.92 kB / 0.7701 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004451/0.5304, allocations: 1.453 MB / 0.7715 GB, free: 3.254 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.01015/0.5405, allocations: 6.999 MB / 0.7783 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/0.5427, allocations: 0.7326 MB / 0.7791 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.5443, allocations: 495.7 kB / 0.7795 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/0.5455, allocations: 1.267 MB / 0.7808 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.5456, allocations: 43.12 kB / 0.7808 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=68): time 2.705e-06/0.5456, allocations: 0 / 0.7808 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=68): time 0.01877/0.5643, allocations: 3.019 MB / 0.7838 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.5644, allocations: 107.4 kB / 0.7839 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.5665, allocations: 1.378 MB / 0.7852 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.5666, allocations: 45.7 kB / 0.7852 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005697/0.5672, allocations: 0.6879 MB / 0.7859 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/0.5674, allocations: 244.5 kB / 0.7861 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003956/0.5678, allocations: 242.2 kB / 0.7864 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.568, allocations: 341.8 kB / 0.7867 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001859/0.5698, allocations: 0.5083 MB / 0.7872 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/0.5719, allocations: 0.7784 MB / 0.788 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003416/0.5753, allocations: 1.137 MB / 0.7891 GB, free: 348 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.5754, allocations: 8 kB / 0.7891 GB, free: 340 kB / 0.6075 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004915/0.5803, allocations: 1.558 MB / 0.7906 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.5803, allocations: 8 kB / 0.7906 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.5803, allocations: 8 kB / 0.7906 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/0.582, allocations: 488.8 kB / 0.7911 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.5834, allocations: 255.6 kB / 0.7913 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.5851, allocations: 0.9963 MB / 0.7923 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/0.5873, allocations: 222.7 kB / 0.7925 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.5874, allocations: 55.95 kB / 0.7926 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002408/0.5899, allocations: 0.7992 MB / 0.7933 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002054/0.5919, allocations: 0.7745 MB / 0.7941 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003489/0.5954, allocations: 1.125 MB / 0.7952 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.599e-06/0.5954, allocations: 0 / 0.7952 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.004952/0.6004, allocations: 1.558 MB / 0.7967 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.6004, allocations: 8 kB / 0.7967 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.6005, allocations: 11.94 kB / 0.7967 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/0.6021, allocations: 480.3 kB / 0.7972 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.6034, allocations: 255.6 kB / 0.7974 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.605, allocations: 1.001 MB / 0.7984 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/0.6073, allocations: 187.3 kB / 0.7986 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.6074, allocations: 55.94 kB / 0.7987 GB, free: 6.25 MB / 0.6231 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.0003253/0.6077, allocations: 244.7 kB / 0.7989 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/0.608, allocations: 142.2 kB / 0.799 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004203/0.6122, allocations: 1.308 MB / 0.8003 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.6123, allocations: 8 kB / 0.8003 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.6123, allocations: 0 / 0.8003 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003586/0.6159, allocations: 1.111 MB / 0.8014 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007293/0.6232, allocations: 3.046 MB / 0.8044 GB, free: 228 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.6232, allocations: 4 kB / 0.8044 GB, free: 224 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008823/0.6241, allocations: 151.9 kB / 0.8045 GB, free: 72 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001629/0.6258, allocations: 474.5 kB / 0.805 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.566e-05/0.6259, allocations: 35.91 kB / 0.805 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/0.6274, allocations: 0.9779 MB / 0.806 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.6274, allocations: 15.88 kB / 0.806 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005671/0.6331, allocations: 1.916 MB / 0.8078 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007119/0.6338, allocations: 366.9 kB / 0.8082 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.6341, allocations: 16 kB / 0.8082 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/0.6356, allocations: 119.9 kB / 0.8083 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.6357, allocations: 60.25 kB / 0.8084 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-05/0.6358, allocations: 43.94 kB / 0.8084 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001539/0.6374, allocations: 0.9972 MB / 0.8094 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6374, allocations: 0 / 0.8094 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002211/0.6396, allocations: 0.8968 MB / 0.8103 GB, free: 10.05 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001084/0.6407, allocations: 0.5472 MB / 0.8108 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006153/0.6469, allocations: 1.826 MB / 0.8126 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.6469, allocations: 7.938 kB / 0.8126 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/0.6487, allocations: 0.5177 MB / 0.8131 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/0.6518, allocations: 0.8301 MB / 0.8139 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00523/0.657, allocations: 2.673 MB / 0.8165 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007329/0.6578, allocations: 1.203 MB / 0.8177 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001331/0.6591, allocations: 373.9 kB / 0.8181 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003125/0.6595, allocations: 135.3 kB / 0.8182 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of SimCode: time 5.01e-07/0.6595, allocations: 0 / 0.8182 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of Templates: time 0.06126/0.7207, allocations: 39.45 MB / 0.8567 GB, free: 10.88 MB / 0.6856 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)