Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001468/0.001468, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.324/1.324, 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.7673/0.7673, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 62.28 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1602, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.5479/0.7081, allocations: 130.9 MB / 0.7882 GB, free: 19.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0356/0.7438, allocations: 24.96 MB / 0.8125 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007961/0.7518, allocations: 135 kB / 0.8127 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.007534/0.7594, allocations: 1.732 MB / 0.8143 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.02028/0.7798, allocations: 4.501 MB / 0.8187 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01319/0.793, allocations: 3.515 MB / 0.8222 GB, free: 212 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0199/0.8129, allocations: 9.027 MB / 0.831 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01005/0.823, allocations: 3.217 MB / 0.8341 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01386/0.8369, allocations: 3.537 MB / 0.8376 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007374/0.8444, allocations: 2.483 MB / 0.84 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001941/0.8463, allocations: 392 kB / 0.8404 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009978/0.8563, allocations: 2.894 MB / 0.8432 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002159/0.8585, allocations: 0.8994 MB / 0.8441 GB, free: 312 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0054/0.864, allocations: 1.991 MB / 0.846 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0149/0.8789, allocations: 6.387 MB / 0.8523 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8789, allocations: 0 / 0.8523 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8789, allocations: 0 / 0.8523 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002069/0.8791, allocations: 0 / 0.8523 GB, free: 7.906 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.01099/0.8901, allocations: 4.083 MB / 0.8563 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.8902, allocations: 12.03 kB / 0.8563 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.9012, allocations: 1.377 MB / 0.8576 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007083/0.9084, allocations: 2.989 MB / 0.8605 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004204/0.9088, allocations: 252 kB / 0.8608 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009411/0.9098, allocations: 232 kB / 0.861 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.9201, allocations: 3.198 MB / 0.8641 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.513e-05/0.9202, allocations: 11.88 kB / 0.8641 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006338/0.9209, allocations: 99.98 kB / 0.8642 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.384e-05/0.921, allocations: 71.94 kB / 0.8643 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009821/0.9308, allocations: 2.839 MB / 0.8671 GB, free: 8.355 MB / 0.6231 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.02251/0.9533, allocations: 13.42 MB / 0.8802 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004481/0.9578, allocations: 1.489 MB / 0.8816 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003153/0.961, allocations: 0.9293 MB / 0.8825 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00178/0.9628, allocations: 1.778 MB / 0.8843 GB, free: 5.711 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003791/0.9666, allocations: 1.219 MB / 0.8855 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=130): time 6.392e-06/0.9667, allocations: 0 / 0.8855 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of matching and sorting (n=130): time 0.03856/1.005, allocations: 5.836 MB / 0.8912 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003013/1.006, allocations: 0.5805 MB / 0.8917 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005476/1.011, allocations: 2.532 MB / 0.8942 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0005091/1.012, allocations: 65.7 kB / 0.8943 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001433/1.013, allocations: 1.34 MB / 0.8956 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007707/1.014, allocations: 457.6 kB / 0.896 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001251/1.015, allocations: 470.8 kB / 0.8964 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001106/1.015, allocations: 305.1 kB / 0.8967 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003779/1.019, allocations: 1.008 MB / 0.8977 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00436/1.023, allocations: 1.587 MB / 0.8993 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007285/1.031, allocations: 2.271 MB / 0.9015 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/1.031, allocations: 4 kB / 0.9015 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02267/1.053, allocations: 4.115 MB / 0.9055 GB, free: 15.21 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.672e-05/1.054, allocations: 33.7 kB / 0.9055 GB, free: 15.17 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/1.054, allocations: 12 kB / 0.9056 GB, free: 15.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003461/1.057, allocations: 0.9523 MB / 0.9065 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002795/1.06, allocations: 0.4913 MB / 0.907 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00343/1.063, allocations: 1.975 MB / 0.9089 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004645/1.068, allocations: 437.7 kB / 0.9093 GB, free: 11.26 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004427/1.068, allocations: 103.9 kB / 0.9094 GB, free: 11.16 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005185/1.074, allocations: 1.508 MB / 0.9109 GB, free: 9.648 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00445/1.078, allocations: 1.567 MB / 0.9124 GB, free: 7.844 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00731/1.085, allocations: 2.241 MB / 0.9146 GB, free: 5.438 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.841e-05/1.085, allocations: 4 kB / 0.9146 GB, free: 5.434 MB / 0.67 GB Notification: Performance of matching and sorting (n=227) (initialization_lambda0): time 0.02285/1.108, allocations: 4.08 MB / 0.9186 GB, free: 1.328 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.942e-05/1.108, allocations: 41.69 kB / 0.9186 GB, free: 1.281 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.482e-05/1.108, allocations: 12 kB / 0.9186 GB, free: 1.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003389/1.112, allocations: 0.9537 MB / 0.9196 GB, free: 328 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002756/1.115, allocations: 487.2 kB / 0.92 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003302/1.118, allocations: 1.986 MB / 0.922 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004805/1.123, allocations: 375 kB / 0.9223 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004558/1.123, allocations: 111.8 kB / 0.9224 GB, free: 13.33 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,19), (2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0008462/1.124, allocations: 305 kB / 0.9227 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001257/1.125, allocations: 272.7 kB / 0.923 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/1.137, allocations: 2.511 MB / 0.9254 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-05/1.137, allocations: 16 kB / 0.9255 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/1.137, allocations: 4.125 kB / 0.9255 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01013/1.147, allocations: 2.134 MB / 0.9275 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02822/1.176, allocations: 7.494 MB / 0.9349 GB, free: 348 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.633e-05/1.176, allocations: 8 kB / 0.9349 GB, free: 340 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001806/1.178, allocations: 287.8 kB / 0.9352 GB, free: 52 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003454/1.181, allocations: 0.9333 MB / 0.9361 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003153/1.181, allocations: 55.94 kB / 0.9361 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003399/1.185, allocations: 1.964 MB / 0.938 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/1.185, allocations: 15.88 kB / 0.938 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01244/1.197, allocations: 3.636 MB / 0.9416 GB, free: 9.277 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001856/1.199, allocations: 0.5988 MB / 0.9422 GB, free: 8.656 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00104/1.2, allocations: 36 kB / 0.9422 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003618/1.204, allocations: 219.7 kB / 0.9424 GB, free: 8.406 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003028/1.204, allocations: 116.7 kB / 0.9425 GB, free: 8.293 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002556/1.205, allocations: 75.92 kB / 0.9426 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.004458/1.209, allocations: 1.778 MB / 0.9443 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.204e-06/1.209, allocations: 0 / 0.9443 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.007402/1.216, allocations: 1.707 MB / 0.946 GB, free: 4.727 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,19), (2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002521/1.219, allocations: 0.8231 MB / 0.9468 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01388/1.233, allocations: 3.721 MB / 0.9505 GB, free: 168 kB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.209e-05/1.233, allocations: 8.5 kB / 0.9505 GB, free: 160 kB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003987/1.237, allocations: 1.02 MB / 0.9515 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009354/1.246, allocations: 1.475 MB / 0.9529 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/1.26, allocations: 5.083 MB / 0.9579 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002088/1.262, allocations: 1.707 MB / 0.9595 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/1.263, allocations: 279.1 kB / 0.9598 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of SimCode: time 7.91e-07/1.263, allocations: 0 / 0.9598 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of Templates: time 0.1158/1.379, allocations: 82.64 MB / 1.04 GB, free: 4.027 MB / 0.795 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)