Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009955/0.0009953, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008535/0.008535, allocations: 170 kB / 16.27 MB, free: 6.328 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.481/1.481, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9782/0.9782, allocations: 135.3 MB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005713/0.0005715, allocations: 8 kB / 0.5076 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2225, allocations: 82.31 MB / 0.588 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.4421/0.6647, allocations: 127.9 MB / 0.7128 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03949/0.7042, allocations: 24.95 MB / 0.7372 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005794/0.71, allocations: 122.9 kB / 0.7373 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005394/0.7154, allocations: 1.416 MB / 0.7387 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01489/0.7303, allocations: 4.206 MB / 0.7428 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009643/0.74, allocations: 3.183 MB / 0.7459 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01439/0.7544, allocations: 11.42 MB / 0.7571 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00552/0.76, allocations: 2.554 MB / 0.7596 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008722/0.7687, allocations: 2.761 MB / 0.7623 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006339/0.7751, allocations: 2.329 MB / 0.7645 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0016/0.7767, allocations: 128 kB / 0.7647 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0101/0.7868, allocations: 2.48 MB / 0.7671 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001441/0.7883, allocations: 0.6221 MB / 0.7677 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004902/0.7932, allocations: 1.72 MB / 0.7694 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01563/0.8089, allocations: 6.054 MB / 0.7753 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.809, allocations: 4 kB / 0.7753 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.126e-06/0.809, allocations: 3.938 kB / 0.7753 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001925/0.8092, allocations: 0 / 0.7753 GB, free: 12.37 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01043/0.8196, allocations: 3.387 MB / 0.7786 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.8197, allocations: 8.031 kB / 0.7786 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.8301, allocations: 1.373 MB / 0.7799 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006629/0.8368, allocations: 2.926 MB / 0.7828 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003486/0.8371, allocations: 259.9 kB / 0.783 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006884/0.8379, allocations: 232 kB / 0.7833 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00892/0.8468, allocations: 3.214 MB / 0.7864 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.662e-05/0.8469, allocations: 3.938 kB / 0.7864 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004568/0.8474, allocations: 100 kB / 0.7865 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-05/0.8475, allocations: 79.86 kB / 0.7866 GB, free: 424 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009443/0.8569, allocations: 2.827 MB / 0.7893 GB, free: 13.57 MB / 0.6075 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.02184/0.8788, allocations: 13.61 MB / 0.8026 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004153/0.883, allocations: 1.434 MB / 0.804 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003009/0.886, allocations: 0.8886 MB / 0.8049 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001855/0.8879, allocations: 1.781 MB / 0.8066 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003644/0.8916, allocations: 1.17 MB / 0.8078 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=126): time 5.37e-06/0.8916, allocations: 0 / 0.8078 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of matching and sorting (n=132): time 0.03391/0.9255, allocations: 9.833 MB / 0.8174 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002586/0.9258, allocations: 0.5766 MB / 0.8179 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0046/0.9304, allocations: 2.608 MB / 0.8205 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005315/0.931, allocations: 69.69 kB / 0.8206 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001503/0.9325, allocations: 1.344 MB / 0.8219 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007869/0.9333, allocations: 461.5 kB / 0.8223 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/0.9336, allocations: 149.6 kB / 0.8225 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.9337, allocations: 305.1 kB / 0.8227 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003645/0.9374, allocations: 0.9603 MB / 0.8237 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004008/0.9414, allocations: 1.561 MB / 0.8252 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006832/0.9483, allocations: 2.231 MB / 0.8274 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.9483, allocations: 4 kB / 0.8274 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01145/0.9598, allocations: 3.175 MB / 0.8305 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003529/0.9601, allocations: 490.3 kB / 0.831 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/0.9602, allocations: 12 kB / 0.831 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003125/0.9633, allocations: 0.9374 MB / 0.8319 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002766/0.9661, allocations: 483.2 kB / 0.8323 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003617/0.9697, allocations: 2.193 MB / 0.8345 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005425/0.9752, allocations: 407.8 kB / 0.8349 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004091/0.9756, allocations: 103.9 kB / 0.835 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.9756, allocations: 7.938 kB / 0.835 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01131/0.9869, allocations: 2.887 MB / 0.8378 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.501e-05/0.987, allocations: 12 kB / 0.8378 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003182/0.9902, allocations: 0.9285 MB / 0.8387 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/0.993, allocations: 471.2 kB / 0.8392 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003539/0.9966, allocations: 2.195 MB / 0.8413 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004679/1.001, allocations: 367.3 kB / 0.8417 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004663/1.002, allocations: 103.9 kB / 0.8418 GB, free: 5.703 MB / 0.6544 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 (170): * Single equations (assignments): 167 * 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,23), (4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.002104/1.004, allocations: 0.6959 MB / 0.8424 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/1.005, allocations: 280.6 kB / 0.8427 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00823/1.013, allocations: 2.327 MB / 0.845 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.565e-05/1.013, allocations: 16 kB / 0.845 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/1.013, allocations: 4 kB / 0.845 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006371/1.02, allocations: 1.932 MB / 0.8469 GB, free: 380 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/1.035, allocations: 6.289 MB / 0.853 GB, free: 9.914 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.368e-05/1.035, allocations: 8 kB / 0.853 GB, free: 9.906 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/1.037, allocations: 291.8 kB / 0.8533 GB, free: 9.621 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002758/1.04, allocations: 0.7963 MB / 0.8541 GB, free: 8.828 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002133/1.04, allocations: 55.88 kB / 0.8541 GB, free: 8.773 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002616/1.043, allocations: 1.956 MB / 0.8561 GB, free: 6.766 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/1.043, allocations: 15.88 kB / 0.8561 GB, free: 6.75 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01174/1.055, allocations: 3.56 MB / 0.8595 GB, free: 3.07 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/1.056, allocations: 0.6495 MB / 0.8602 GB, free: 2.398 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008154/1.057, allocations: 36 kB / 0.8602 GB, free: 2.363 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00364/1.061, allocations: 283.6 kB / 0.8605 GB, free: 2.086 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/1.061, allocations: 120.6 kB / 0.8606 GB, free: 1.969 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/1.061, allocations: 75.92 kB / 0.8607 GB, free: 1.895 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003125/1.065, allocations: 1.836 MB / 0.8625 GB, free: 60 kB / 0.67 GB Notification: Performance of sort global known variables: time 5.71e-07/1.065, allocations: 0 / 0.8625 GB, free: 60 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.3294/1.394, allocations: 1.48 MB / 0.8639 GB, free: 210.1 MB / 0.67 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 (86): * Single equations (assignments): 80 * 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,17), (4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001563/1.396, allocations: 0.802 MB / 0.8647 GB, free: 210 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01101/1.407, allocations: 3.684 MB / 0.8683 GB, free: 209.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/1.407, allocations: 14.19 kB / 0.8683 GB, free: 209.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003432/1.41, allocations: 1.058 MB / 0.8693 GB, free: 209.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009849/1.42, allocations: 1.58 MB / 0.8709 GB, free: 209.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/1.431, allocations: 6.316 MB / 0.8771 GB, free: 206.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009622/1.432, allocations: 1.722 MB / 0.8787 GB, free: 206.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003511/1.436, allocations: 0.6642 MB / 0.8794 GB, free: 206 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006904/1.437, allocations: 251.4 kB / 0.8796 GB, free: 206 MB / 0.67 GB Notification: Performance of SimCode: time 1.072e-06/1.437, allocations: 0 / 0.8796 GB, free: 206 MB / 0.67 GB Notification: Performance of Templates: time 0.116/1.553, allocations: 74.26 MB / 0.9521 GB, free: 167.9 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)