Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001304/0.001304, allocations: 106.7 kB / 16.27 MB, free: 6.41 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.001325/0.001325, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8065/0.8065, allocations: 132.2 MB / 423.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 71.88 kB / 0.5024 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.395, allocations: 80.18 MB / 0.5807 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1185/0.5135, allocations: 130.9 MB / 0.7085 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03815/0.5517, allocations: 24.96 MB / 0.7329 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006188/0.5579, allocations: 139.2 kB / 0.733 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005756/0.5638, allocations: 1.739 MB / 0.7347 GB, free: 100 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01453/0.5783, allocations: 4.486 MB / 0.7391 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01006/0.5884, allocations: 3.48 MB / 0.7425 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.406/0.9944, allocations: 8.928 MB / 0.7512 GB, free: 42.95 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005572/1, allocations: 3.199 MB / 0.7544 GB, free: 42.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00984/1.01, allocations: 3.426 MB / 0.7577 GB, free: 42.65 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007085/1.017, allocations: 2.467 MB / 0.7601 GB, free: 42.4 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001947/1.019, allocations: 397.7 kB / 0.7605 GB, free: 42.39 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009734/1.029, allocations: 2.82 MB / 0.7632 GB, free: 42.39 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001974/1.031, allocations: 0.8888 MB / 0.7641 GB, free: 42.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004579/1.035, allocations: 1.997 MB / 0.7661 GB, free: 41.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01225/1.048, allocations: 6.31 MB / 0.7722 GB, free: 41.19 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.048, allocations: 0 / 0.7722 GB, free: 41.19 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.974e-06/1.048, allocations: 0 / 0.7722 GB, free: 41.19 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001523/1.048, allocations: 0 / 0.7722 GB, free: 41.19 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.009059/1.057, allocations: 4.089 MB / 0.7762 GB, free: 39.3 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.057, allocations: 8.969 kB / 0.7762 GB, free: 39.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/1.068, allocations: 1.372 MB / 0.7776 GB, free: 39.08 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006021/1.074, allocations: 2.864 MB / 0.7804 GB, free: 38.47 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00026/1.075, allocations: 254.7 kB / 0.7806 GB, free: 38.4 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005929/1.075, allocations: 236.9 kB / 0.7808 GB, free: 38.39 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008871/1.084, allocations: 3.209 MB / 0.784 GB, free: 37.89 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-05/1.084, allocations: 10.94 kB / 0.784 GB, free: 37.89 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003834/1.085, allocations: 100.9 kB / 0.7841 GB, free: 37.89 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.097e-05/1.085, allocations: 67.59 kB / 0.7841 GB, free: 37.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009709/1.094, allocations: 2.828 MB / 0.7869 GB, free: 37.83 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.02215/1.117, allocations: 13.71 MB / 0.8003 GB, free: 31.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004419/1.121, allocations: 1.467 MB / 0.8017 GB, free: 30.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003084/1.124, allocations: 0.9135 MB / 0.8026 GB, free: 30.69 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001516/1.126, allocations: 1.777 MB / 0.8043 GB, free: 28.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003706/1.129, allocations: 1.189 MB / 0.8055 GB, free: 28.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=126): time 3.727e-06/1.129, allocations: 7.938 kB / 0.8055 GB, free: 28.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=132): time 0.05419/1.184, allocations: 11.66 MB / 0.8169 GB, free: 22.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002583/1.184, allocations: 0.5781 MB / 0.8175 GB, free: 21.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005277/1.189, allocations: 2.648 MB / 0.82 GB, free: 19.67 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006577/1.19, allocations: 66.14 kB / 0.8201 GB, free: 19.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001236/1.191, allocations: 1.317 MB / 0.8214 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006406/1.192, allocations: 461.1 kB / 0.8218 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007596/1.193, allocations: 460.8 kB / 0.8223 GB, free: 18.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.193e-05/1.193, allocations: 301.1 kB / 0.8226 GB, free: 17.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003568/1.196, allocations: 0.9904 MB / 0.8235 GB, free: 17.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00411/1.2, allocations: 1.581 MB / 0.8251 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00681/1.207, allocations: 2.247 MB / 0.8273 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/1.207, allocations: 8 kB / 0.8273 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02348/1.231, allocations: 4.153 MB / 0.8313 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.509e-05/1.231, allocations: 41.7 kB / 0.8314 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/1.231, allocations: 12 kB / 0.8314 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003813/1.235, allocations: 1.157 MB / 0.8325 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002624/1.237, allocations: 458 kB / 0.8329 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003702/1.241, allocations: 2.382 MB / 0.8353 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005124/1.246, allocations: 304.8 kB / 0.8356 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003736/1.247, allocations: 107.3 kB / 0.8357 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004829/1.251, allocations: 1.488 MB / 0.8371 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003976/1.255, allocations: 1.562 MB / 0.8386 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007043/1.262, allocations: 2.225 MB / 0.8408 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.495e-05/1.263, allocations: 4 kB / 0.8408 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.02458/1.287, allocations: 4.129 MB / 0.8449 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.385e-05/1.287, allocations: 41.69 kB / 0.8449 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/1.287, allocations: 12.84 kB / 0.8449 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004207/1.292, allocations: 1.165 MB / 0.846 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002737/1.294, allocations: 450 kB / 0.8465 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004206/1.298, allocations: 2.374 MB / 0.8488 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005398/1.304, allocations: 325 kB / 0.8491 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003922/1.304, allocations: 103.9 kB / 0.8492 GB, free: 6.922 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.000766/1.305, allocations: 293.9 kB / 0.8495 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/1.306, allocations: 284.6 kB / 0.8497 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008651/1.315, allocations: 2.404 MB / 0.8521 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.868e-05/1.315, allocations: 16 kB / 0.8521 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.315, allocations: 0 / 0.8521 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007166/1.322, allocations: 2.009 MB / 0.8541 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02301/1.345, allocations: 7.024 MB / 0.8609 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.918e-05/1.345, allocations: 8 kB / 0.8609 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/1.347, allocations: 280 kB / 0.8612 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003654/1.351, allocations: 1.017 MB / 0.8622 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002565/1.351, allocations: 51.94 kB / 0.8623 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003646/1.355, allocations: 2.144 MB / 0.8643 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/1.355, allocations: 11.84 kB / 0.8644 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01439/1.369, allocations: 3.754 MB / 0.868 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002052/1.371, allocations: 0.5951 MB / 0.8686 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006283/1.372, allocations: 43.84 kB / 0.8686 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003273/1.375, allocations: 219.7 kB / 0.8689 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000239/1.375, allocations: 115.3 kB / 0.869 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/1.376, allocations: 75.92 kB / 0.869 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003368/1.379, allocations: 1.859 MB / 0.8709 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.71e-07/1.379, allocations: 0 / 0.8709 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005732/1.385, allocations: 1.493 MB / 0.8723 GB, free: 15.08 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.002088/1.387, allocations: 0.8275 MB / 0.8731 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01401/1.401, allocations: 3.804 MB / 0.8768 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.141e-05/1.401, allocations: 4.438 kB / 0.8768 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003867/1.405, allocations: 1.034 MB / 0.8778 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008642/1.413, allocations: 1.57 MB / 0.8794 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/1.426, allocations: 5.093 MB / 0.8844 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/1.427, allocations: 1.711 MB / 0.886 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/1.428, allocations: 271.2 kB / 0.8863 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of SimCode: time 1.051e-06/1.428, allocations: 4 kB / 0.8863 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of Templates: time 0.1096/1.538, allocations: 82.95 MB / 0.9673 GB, free: 14.59 MB / 0.7169 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)