Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 104.7 kB / 16.27 MB, free: 5.863 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.001227/0.001227, allocations: 189.5 kB / 17.2 MB, free: 5.512 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.372/1.372, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8209/0.8209, allocations: 135.2 MB / 426.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001903, allocations: 63.91 kB / 0.506 GB, free: 8.332 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3566, allocations: 80.92 MB / 0.5851 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1294/0.486, allocations: 130.8 MB / 0.7128 GB, free: 7.336 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03895/0.525, allocations: 24.97 MB / 0.7372 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005493/0.5306, allocations: 139.2 kB / 0.7373 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005671/0.5363, allocations: 1.735 MB / 0.739 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01372/0.5501, allocations: 4.485 MB / 0.7434 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009553/0.5596, allocations: 3.489 MB / 0.7468 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3493/0.9089, allocations: 8.923 MB / 0.7555 GB, free: 42.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00567/0.9147, allocations: 3.192 MB / 0.7587 GB, free: 42.46 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008996/0.9237, allocations: 3.431 MB / 0.762 GB, free: 42.45 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005489/0.9292, allocations: 2.469 MB / 0.7644 GB, free: 42.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001454/0.9307, allocations: 390.8 kB / 0.7648 GB, free: 42.12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007588/0.9383, allocations: 2.825 MB / 0.7676 GB, free: 42.12 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001648/0.94, allocations: 0.8961 MB / 0.7684 GB, free: 42 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004506/0.9445, allocations: 1.99 MB / 0.7704 GB, free: 41.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009924/0.9544, allocations: 6.311 MB / 0.7765 GB, free: 40.92 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.9545, allocations: 0 / 0.7765 GB, free: 40.92 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9545, allocations: 4 kB / 0.7765 GB, free: 40.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001195/0.9546, allocations: 2.719 kB / 0.7765 GB, free: 40.91 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008126/0.9628, allocations: 4.081 MB / 0.7805 GB, free: 39.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.9628, allocations: 9.672 kB / 0.7805 GB, free: 39.03 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.9736, allocations: 1.371 MB / 0.7819 GB, free: 38.81 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005044/0.9787, allocations: 2.869 MB / 0.7847 GB, free: 38.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.9789, allocations: 251.8 kB / 0.7849 GB, free: 38.13 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004608/0.9794, allocations: 235.5 kB / 0.7851 GB, free: 38.13 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007187/0.9866, allocations: 3.211 MB / 0.7883 GB, free: 37.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.326e-05/0.9867, allocations: 12.59 kB / 0.7883 GB, free: 37.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003053/0.987, allocations: 104.6 kB / 0.7884 GB, free: 37.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.837e-05/0.9871, allocations: 65.95 kB / 0.7885 GB, free: 37.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008585/0.9957, allocations: 2.83 MB / 0.7912 GB, free: 37.55 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.01891/1.015, allocations: 13.7 MB / 0.8046 GB, free: 30.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004154/1.019, allocations: 1.473 MB / 0.806 GB, free: 30.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002914/1.022, allocations: 0.9125 MB / 0.8069 GB, free: 30.03 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/1.023, allocations: 1.778 MB / 0.8087 GB, free: 28 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003545/1.027, allocations: 1.189 MB / 0.8098 GB, free: 27.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=126): time 3.477e-06/1.027, allocations: 0 / 0.8098 GB, free: 27.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=132): time 0.05018/1.077, allocations: 11.66 MB / 0.8212 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/1.077, allocations: 0.5782 MB / 0.8218 GB, free: 18.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003921/1.081, allocations: 2.645 MB / 0.8244 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004556/1.081, allocations: 61.7 kB / 0.8244 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009163/1.082, allocations: 1.32 MB / 0.8257 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004594/1.083, allocations: 458.5 kB / 0.8261 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006155/1.084, allocations: 470.8 kB / 0.8266 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.123e-05/1.084, allocations: 301.1 kB / 0.8269 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003386/1.087, allocations: 0.9884 MB / 0.8278 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003742/1.091, allocations: 1.581 MB / 0.8294 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006373/1.097, allocations: 2.251 MB / 0.8316 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/1.097, allocations: 8 kB / 0.8316 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02152/1.119, allocations: 4.153 MB / 0.8357 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.538e-05/1.119, allocations: 37.7 kB / 0.8357 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/1.119, allocations: 15.98 kB / 0.8357 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003663/1.122, allocations: 1.16 MB / 0.8368 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/1.125, allocations: 459.6 kB / 0.8373 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003525/1.129, allocations: 2.377 MB / 0.8396 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004918/1.133, allocations: 302.3 kB / 0.8399 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004699/1.134, allocations: 107.9 kB / 0.84 GB, free: 92 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005663/1.14, allocations: 1.489 MB / 0.8414 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004731/1.144, allocations: 1.566 MB / 0.843 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007503/1.152, allocations: 2.214 MB / 0.8451 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.205e-05/1.152, allocations: 4 kB / 0.8451 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.02382/1.176, allocations: 4.14 MB / 0.8492 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.908e-05/1.176, allocations: 40.52 kB / 0.8492 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/1.176, allocations: 16.09 kB / 0.8492 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004082/1.18, allocations: 1.162 MB / 0.8504 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00265/1.183, allocations: 454 kB / 0.8508 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004364/1.187, allocations: 2.375 MB / 0.8531 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005154/1.192, allocations: 323.9 kB / 0.8534 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004756/1.193, allocations: 99.91 kB / 0.8535 GB, free: 1.918 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (166): * Single equations (assignments): 163 * 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 {(4,25), (4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0007799/1.194, allocations: 297.9 kB / 0.8538 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.195, allocations: 280.6 kB / 0.8541 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008807/1.204, allocations: 2.406 MB / 0.8564 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/1.204, allocations: 12 kB / 0.8564 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.204, allocations: 4 kB / 0.8564 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007131/1.211, allocations: 2.005 MB / 0.8584 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0227/1.234, allocations: 7.027 MB / 0.8653 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-05/1.234, allocations: 8 kB / 0.8653 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/1.235, allocations: 282.2 kB / 0.8655 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003591/1.239, allocations: 1.021 MB / 0.8665 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000247/1.239, allocations: 47.94 kB / 0.8666 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003751/1.243, allocations: 2.136 MB / 0.8687 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.216e-05/1.243, allocations: 19.02 kB / 0.8687 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/1.257, allocations: 3.753 MB / 0.8723 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002045/1.26, allocations: 0.5911 MB / 0.8729 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008983/1.26, allocations: 35.84 kB / 0.873 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003631/1.264, allocations: 227.8 kB / 0.8732 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002707/1.264, allocations: 118.5 kB / 0.8733 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002163/1.265, allocations: 71.92 kB / 0.8734 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003812/1.268, allocations: 1.863 MB / 0.8752 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6.21e-07/1.268, allocations: 0 / 0.8752 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.006144/1.275, allocations: 1.492 MB / 0.8766 GB, free: 10.06 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (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 (82): * Single equations (assignments): 76 * 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), (4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002295/1.277, allocations: 0.8177 MB / 0.8774 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01466/1.292, allocations: 3.799 MB / 0.8811 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-05/1.292, allocations: 8.5 kB / 0.8812 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004054/1.296, allocations: 1.027 MB / 0.8822 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008639/1.304, allocations: 1.584 MB / 0.8837 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/1.318, allocations: 5.086 MB / 0.8887 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/1.319, allocations: 1.712 MB / 0.8903 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/1.32, allocations: 270.3 kB / 0.8906 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of SimCode: time 1.192e-06/1.32, allocations: 4 kB / 0.8906 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of Templates: time 0.1158/1.436, allocations: 82.95 MB / 0.9716 GB, free: 9.48 MB / 0.7169 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)