Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0007719/0.0007717, allocations: 98.19 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009238/0.0009239, allocations: 186.2 kB / 16.92 MB, free: 6.75 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.336/1.336, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6807/0.6807, allocations: 115.5 MB / 407.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003092, allocations: 8.5 kB / 495.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1379, allocations: 77.53 MB / 0.5599 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.3907/0.5287, allocations: 127.9 MB / 0.6849 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03405/0.5627, allocations: 24.92 MB / 0.7092 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005462/0.5682, allocations: 119.2 kB / 0.7093 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005057/0.5733, allocations: 1.414 MB / 0.7107 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01221/0.5856, allocations: 4.158 MB / 0.7147 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007998/0.5936, allocations: 3.19 MB / 0.7179 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01412/0.6077, allocations: 11.38 MB / 0.729 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004473/0.6122, allocations: 2.529 MB / 0.7314 GB, free: 6.918 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006107/0.6183, allocations: 2.753 MB / 0.7341 GB, free: 4.152 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003981/0.6223, allocations: 2.294 MB / 0.7364 GB, free: 1.848 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009997/0.6233, allocations: 132 kB / 0.7365 GB, free: 1.719 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006399/0.6298, allocations: 2.472 MB / 0.7389 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001182/0.631, allocations: 0.6182 MB / 0.7395 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003294/0.6343, allocations: 1.708 MB / 0.7412 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.6448, allocations: 6.036 MB / 0.7471 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.6449, allocations: 0 / 0.7471 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.315e-06/0.6449, allocations: 3.938 kB / 0.7471 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000176/0.6451, allocations: 0 / 0.7471 GB, free: 6.84 MB / 0.5606 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.007531/0.6526, allocations: 3.363 MB / 0.7504 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.6527, allocations: 12.03 kB / 0.7504 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01151/0.6642, allocations: 1.456 MB / 0.7518 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005804/0.67, allocations: 2.939 MB / 0.7547 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003236/0.6704, allocations: 247.9 kB / 0.7549 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006491/0.6711, allocations: 240 kB / 0.7551 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007925/0.679, allocations: 3.245 MB / 0.7583 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.833e-05/0.6791, allocations: 11.84 kB / 0.7583 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002736/0.6793, allocations: 100 kB / 0.7584 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/0.6795, allocations: 67.98 kB / 0.7585 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009624/0.6891, allocations: 2.901 MB / 0.7613 GB, free: 7.867 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.02107/0.7102, allocations: 13.65 MB / 0.7746 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004408/0.7146, allocations: 1.508 MB / 0.7761 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003297/0.7179, allocations: 0.9394 MB / 0.777 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001761/0.7197, allocations: 1.789 MB / 0.7788 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003782/0.7235, allocations: 1.208 MB / 0.7799 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=126): time 3.316e-06/0.7235, allocations: 3.938 kB / 0.78 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of matching and sorting (n=132): time 0.05616/0.7797, allocations: 11.94 MB / 0.7916 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004073/0.7801, allocations: 0.5766 MB / 0.7922 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004543/0.7847, allocations: 2.608 MB / 0.7947 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003275/0.785, allocations: 62.03 kB / 0.7948 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.7862, allocations: 1.329 MB / 0.7961 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005493/0.7868, allocations: 457.5 kB / 0.7965 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.787, allocations: 149.6 kB / 0.7967 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.7871, allocations: 305.1 kB / 0.7969 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003953/0.7911, allocations: 1.015 MB / 0.7979 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004575/0.7957, allocations: 1.604 MB / 0.7995 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007811/0.8035, allocations: 2.31 MB / 0.8018 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.8036, allocations: 4 kB / 0.8018 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02464/0.8282, allocations: 4.271 MB / 0.8059 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003429/0.8286, allocations: 490.7 kB / 0.8064 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.8286, allocations: 12 kB / 0.8064 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003984/0.8326, allocations: 1.166 MB / 0.8076 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00275/0.8354, allocations: 475.2 kB / 0.808 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00419/0.8396, allocations: 2.391 MB / 0.8103 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005003/0.8446, allocations: 411.2 kB / 0.8107 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/0.8448, allocations: 107.9 kB / 0.8108 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.8448, allocations: 8 kB / 0.8108 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03564/0.8805, allocations: 3.972 MB / 0.8147 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-05/0.8806, allocations: 12.5 kB / 0.8147 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007453/0.8881, allocations: 1.177 MB / 0.8159 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004881/0.893, allocations: 467.2 kB / 0.8163 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007394/0.9004, allocations: 2.382 MB / 0.8187 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008045/0.9085, allocations: 379.3 kB / 0.819 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005384/0.909, allocations: 107.9 kB / 0.8191 GB, free: 10.45 MB / 0.6387 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.002644/0.9117, allocations: 0.7037 MB / 0.8198 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/0.9129, allocations: 280.6 kB / 0.8201 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01621/0.9291, allocations: 2.473 MB / 0.8225 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.381e-05/0.9292, allocations: 16 kB / 0.8225 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.9293, allocations: 4 kB / 0.8225 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01411/0.9434, allocations: 2.064 MB / 0.8245 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3143/1.258, allocations: 7.079 MB / 0.8314 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/1.258, allocations: 7.875 kB / 0.8314 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001865/1.26, allocations: 287.7 kB / 0.8317 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00373/1.263, allocations: 1.021 MB / 0.8327 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/1.264, allocations: 51.42 kB / 0.8328 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003524/1.267, allocations: 2.166 MB / 0.8349 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/1.267, allocations: 8.594 kB / 0.8349 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01428/1.281, allocations: 3.845 MB / 0.8386 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001825/1.283, allocations: 0.6561 MB / 0.8393 GB, free: 219 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005063/1.284, allocations: 38.81 kB / 0.8393 GB, free: 219 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003575/1.287, allocations: 298.3 kB / 0.8396 GB, free: 219 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/1.288, allocations: 116.5 kB / 0.8397 GB, free: 219 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001757/1.288, allocations: 76.27 kB / 0.8398 GB, free: 219 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003636/1.292, allocations: 1.837 MB / 0.8416 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6.41e-07/1.292, allocations: 0 / 0.8416 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005075/1.297, allocations: 1.477 MB / 0.843 GB, free: 218.2 MB / 0.6387 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.001793/1.298, allocations: 0.804 MB / 0.8438 GB, free: 218 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0132/1.312, allocations: 3.822 MB / 0.8475 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/1.312, allocations: 3 kB / 0.8475 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003967/1.316, allocations: 1.119 MB / 0.8486 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01111/1.327, allocations: 1.554 MB / 0.8502 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/1.339, allocations: 6.14 MB / 0.8562 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/1.341, allocations: 1.719 MB / 0.8578 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004083/1.345, allocations: 0.6565 MB / 0.8585 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009952/1.346, allocations: 256.6 kB / 0.8587 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of SimCode: time 1.473e-06/1.346, allocations: 0 / 0.8587 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.1003/1.446, allocations: 76.19 MB / 0.9331 GB, free: 144.1 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)