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.001393/0.001393, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001525/0.001525, allocations: 187 kB / 17.34 MB, free: 5.719 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8176/0.8176, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 68.69 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1724, allocations: 80.22 MB / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.5184/0.6909, allocations: 130.8 MB / 0.7881 GB, free: 19.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03374/0.7246, allocations: 24.96 MB / 0.8125 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007335/0.732, allocations: 136.2 kB / 0.8126 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006006/0.7381, allocations: 1.728 MB / 0.8143 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01355/0.7517, allocations: 4.491 MB / 0.8187 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008887/0.7606, allocations: 3.516 MB / 0.8221 GB, free: 180 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01293/0.7735, allocations: 8.948 MB / 0.8309 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004903/0.7785, allocations: 3.197 MB / 0.834 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008129/0.7866, allocations: 3.526 MB / 0.8374 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005121/0.7918, allocations: 2.473 MB / 0.8399 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009651/0.7928, allocations: 388 kB / 0.8402 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008092/0.8009, allocations: 2.898 MB / 0.8431 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001524/0.8024, allocations: 0.8838 MB / 0.8439 GB, free: 448 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003754/0.8062, allocations: 1.984 MB / 0.8459 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.8176, allocations: 6.368 MB / 0.8521 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.8177, allocations: 0 / 0.8521 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8177, allocations: 0 / 0.8521 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.00012/0.8178, allocations: 0 / 0.8521 GB, free: 8.066 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008514/0.8263, allocations: 4.063 MB / 0.856 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.8264, allocations: 12.03 kB / 0.8561 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/0.8376, allocations: 1.385 MB / 0.8574 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008001/0.8456, allocations: 2.981 MB / 0.8603 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003425/0.846, allocations: 259.8 kB / 0.8606 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000632/0.8466, allocations: 235.9 kB / 0.8608 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/0.8574, allocations: 3.195 MB / 0.8639 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.361e-05/0.8575, allocations: 3.938 kB / 0.8639 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004333/0.858, allocations: 107.9 kB / 0.864 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.814e-05/0.8581, allocations: 63.98 kB / 0.8641 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01263/0.8707, allocations: 2.831 MB / 0.8668 GB, free: 8.535 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.02612/0.8969, allocations: 13.6 MB / 0.8801 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004579/0.9015, allocations: 1.482 MB / 0.8816 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003202/0.9047, allocations: 0.9159 MB / 0.8825 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001888/0.9067, allocations: 1.773 MB / 0.8842 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003913/0.9106, allocations: 1.188 MB / 0.8854 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=126): time 5.42e-06/0.9106, allocations: 0 / 0.8854 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of matching and sorting (n=132): time 0.05741/0.968, allocations: 11.67 MB / 0.8968 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003519/0.9684, allocations: 0.5766 MB / 0.8973 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005727/0.9742, allocations: 2.639 MB / 0.8999 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004694/0.9747, allocations: 57.7 kB / 0.8999 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.9761, allocations: 1.323 MB / 0.9012 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007422/0.9769, allocations: 465.4 kB / 0.9017 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/0.978, allocations: 462.8 kB / 0.9021 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.663e-05/0.9781, allocations: 305.1 kB / 0.9024 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003758/0.9819, allocations: 0.9845 MB / 0.9034 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004286/0.9862, allocations: 1.577 MB / 0.9049 GB, free: 15.84 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007338/0.9935, allocations: 2.251 MB / 0.9071 GB, free: 13.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.668e-05/0.9936, allocations: 4 kB / 0.9071 GB, free: 13.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02423/1.018, allocations: 4.158 MB / 0.9112 GB, free: 9.219 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.771e-05/1.018, allocations: 33.7 kB / 0.9112 GB, free: 9.18 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.46e-05/1.018, allocations: 16 kB / 0.9112 GB, free: 9.164 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004078/1.022, allocations: 1.159 MB / 0.9124 GB, free: 8.008 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/1.025, allocations: 455.2 kB / 0.9128 GB, free: 7.562 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004204/1.029, allocations: 2.389 MB / 0.9151 GB, free: 5.121 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004712/1.034, allocations: 291.5 kB / 0.9154 GB, free: 4.836 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003692/1.034, allocations: 111.9 kB / 0.9155 GB, free: 4.727 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005044/1.039, allocations: 1.492 MB / 0.917 GB, free: 3.23 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004364/1.044, allocations: 1.554 MB / 0.9185 GB, free: 1.438 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007356/1.051, allocations: 2.224 MB / 0.9207 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.426e-05/1.051, allocations: 4 kB / 0.9207 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.02402/1.075, allocations: 4.123 MB / 0.9247 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.092e-05/1.075, allocations: 37.7 kB / 0.9247 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/1.075, allocations: 12 kB / 0.9247 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004025/1.079, allocations: 1.163 MB / 0.9259 GB, free: 9.672 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002682/1.082, allocations: 451.2 kB / 0.9263 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004148/1.086, allocations: 2.386 MB / 0.9286 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005/1.091, allocations: 316 kB / 0.9289 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00066/1.092, allocations: 103.9 kB / 0.929 GB, free: 6.383 MB / 0.6856 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.001273/1.093, allocations: 291.8 kB / 0.9293 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001592/1.095, allocations: 284.6 kB / 0.9296 GB, free: 5.809 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009712/1.104, allocations: 2.397 MB / 0.9319 GB, free: 3.391 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.793e-05/1.105, allocations: 16.25 kB / 0.9319 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/1.105, allocations: 4.047 kB / 0.9319 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007156/1.112, allocations: 2.018 MB / 0.9339 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02325/1.135, allocations: 7.023 MB / 0.9408 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.994e-05/1.135, allocations: 12.12 kB / 0.9408 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001869/1.137, allocations: 267.6 kB / 0.941 GB, free: 9.832 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00369/1.141, allocations: 1.017 MB / 0.942 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002759/1.141, allocations: 47.95 kB / 0.9421 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003667/1.145, allocations: 2.139 MB / 0.9442 GB, free: 6.578 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/1.145, allocations: 11.94 kB / 0.9442 GB, free: 6.566 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/1.159, allocations: 3.76 MB / 0.9478 GB, free: 2.695 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00202/1.161, allocations: 0.5873 MB / 0.9484 GB, free: 2.086 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/1.162, allocations: 43.98 kB / 0.9485 GB, free: 2.043 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003812/1.166, allocations: 219.8 kB / 0.9487 GB, free: 1.828 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002662/1.166, allocations: 120.6 kB / 0.9488 GB, free: 1.711 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002189/1.167, allocations: 75.92 kB / 0.9489 GB, free: 1.637 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00407/1.171, allocations: 1.859 MB / 0.9507 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.61e-07/1.171, allocations: 0 / 0.9507 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005863/1.177, allocations: 1.503 MB / 0.9521 GB, free: 14.27 MB / 0.7169 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.002111/1.179, allocations: 0.8073 MB / 0.9529 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01372/1.192, allocations: 3.753 MB / 0.9566 GB, free: 9.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-05/1.193, allocations: 8.422 kB / 0.9566 GB, free: 9.691 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003945/1.196, allocations: 1.029 MB / 0.9576 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009029/1.206, allocations: 1.579 MB / 0.9592 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/1.218, allocations: 5.017 MB / 0.964 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001734/1.22, allocations: 1.708 MB / 0.9657 GB, free: 264 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/1.221, allocations: 271.2 kB / 0.966 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of SimCode: time 1.002e-06/1.221, allocations: 0 / 0.966 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of Templates: time 0.1016/1.323, allocations: 83.22 MB / 1.047 GB, free: 12.92 MB / 0.8106 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)