Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001094/0.001094, allocations: 104.8 kB / 15.98 MB, free: 6.355 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.001089/0.001089, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.261/1.261, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7468/0.7468, allocations: 132.2 MB / 422.9 MB, free: 6.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001179, allocations: 63.91 kB / 0.5019 GB, free: 12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3896, allocations: 80.19 MB / 0.5802 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.116/0.5056, allocations: 129.6 MB / 0.7068 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03719/0.5428, allocations: 24.85 MB / 0.7311 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006424/0.5493, allocations: 131.2 kB / 0.7312 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005816/0.5552, allocations: 1.496 MB / 0.7326 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01359/0.5688, allocations: 4.229 MB / 0.7368 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01008/0.5789, allocations: 3.227 MB / 0.7399 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01362/0.5925, allocations: 9.079 MB / 0.7488 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3827/0.9753, allocations: 3.188 MB / 0.7519 GB, free: 42.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01016/0.9855, allocations: 3.456 MB / 0.7553 GB, free: 42.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007316/0.9928, allocations: 2.552 MB / 0.7578 GB, free: 42.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001895/0.9948, allocations: 389.1 kB / 0.7581 GB, free: 42.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01088/1.006, allocations: 2.868 MB / 0.7609 GB, free: 42.74 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002265/1.008, allocations: 0.8966 MB / 0.7618 GB, free: 42.62 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005255/1.013, allocations: 2.006 MB / 0.7638 GB, free: 42.12 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009491/1.023, allocations: 5.029 MB / 0.7687 GB, free: 41.92 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/1.023, allocations: 0 / 0.7687 GB, free: 41.92 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.013e-06/1.023, allocations: 0 / 0.7687 GB, free: 41.92 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001408/1.023, allocations: 0 / 0.7687 GB, free: 41.92 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.009054/1.032, allocations: 4.111 MB / 0.7727 GB, free: 40.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/1.032, allocations: 8 kB / 0.7727 GB, free: 40.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/1.042, allocations: 1.289 MB / 0.774 GB, free: 39.85 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005914/1.048, allocations: 2.927 MB / 0.7768 GB, free: 39.24 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/1.049, allocations: 256.8 kB / 0.7771 GB, free: 39.17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004544/1.049, allocations: 239.2 kB / 0.7773 GB, free: 39.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007831/1.057, allocations: 3.17 MB / 0.7804 GB, free: 38.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.008e-05/1.057, allocations: 9.75 kB / 0.7804 GB, free: 38.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002989/1.057, allocations: 107.2 kB / 0.7805 GB, free: 38.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.102e-05/1.057, allocations: 73.44 kB / 0.7806 GB, free: 38.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008585/1.066, allocations: 2.746 MB / 0.7833 GB, free: 38.61 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.02068/1.087, allocations: 13.57 MB / 0.7965 GB, free: 31.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003892/1.091, allocations: 1.399 MB / 0.7979 GB, free: 31.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002749/1.093, allocations: 0.8593 MB / 0.7987 GB, free: 31.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001424/1.095, allocations: 1.78 MB / 0.8005 GB, free: 29.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003317/1.098, allocations: 1.123 MB / 0.8015 GB, free: 28.97 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=126): time 3.817e-06/1.098, allocations: 3.938 kB / 0.8016 GB, free: 28.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=132): time 0.03229/1.13, allocations: 9.542 MB / 0.8109 GB, free: 24.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/1.131, allocations: 0.5782 MB / 0.8114 GB, free: 23.47 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004146/1.135, allocations: 2.607 MB / 0.814 GB, free: 22.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005209/1.135, allocations: 69.69 kB / 0.814 GB, free: 22.78 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001317/1.137, allocations: 1.35 MB / 0.8154 GB, free: 22.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006912/1.137, allocations: 456.8 kB / 0.8158 GB, free: 21.88 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008044/1.138, allocations: 466.9 kB / 0.8162 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.942e-05/1.138, allocations: 301.1 kB / 0.8165 GB, free: 21.44 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00326/1.141, allocations: 0.9339 MB / 0.8174 GB, free: 21.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003677/1.145, allocations: 1.526 MB / 0.8189 GB, free: 20.36 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006439/1.152, allocations: 2.161 MB / 0.821 GB, free: 19.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/1.152, allocations: 8 kB / 0.8211 GB, free: 19.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01091/1.163, allocations: 3.095 MB / 0.8241 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/1.163, allocations: 37.7 kB / 0.8241 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/1.163, allocations: 12 kB / 0.8241 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002769/1.165, allocations: 0.9214 MB / 0.825 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002671/1.168, allocations: 467.5 kB / 0.8255 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002683/1.171, allocations: 2.166 MB / 0.8276 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00535/1.176, allocations: 373.7 kB / 0.8279 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004072/1.177, allocations: 103.9 kB / 0.828 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004623/1.181, allocations: 1.436 MB / 0.8294 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003596/1.185, allocations: 1.511 MB / 0.8309 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006105/1.191, allocations: 2.129 MB / 0.833 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.386e-06/1.191, allocations: 8 kB / 0.833 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.01079/1.202, allocations: 3.069 MB / 0.836 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.765e-05/1.202, allocations: 39.02 kB / 0.836 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/1.202, allocations: 15.94 kB / 0.8361 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002627/1.205, allocations: 0.9206 MB / 0.837 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002527/1.207, allocations: 458.3 kB / 0.8374 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/1.21, allocations: 2.161 MB / 0.8395 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005069/1.215, allocations: 371.8 kB / 0.8399 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002661/1.215, allocations: 103.9 kB / 0.84 GB, free: 0.9648 MB / 0.5762 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.0006486/1.216, allocations: 296.8 kB / 0.8402 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007624/1.216, allocations: 288.6 kB / 0.8405 GB, free: 412 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007552/1.224, allocations: 2.243 MB / 0.8427 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/1.224, allocations: 16 kB / 0.8427 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/1.224, allocations: 0 / 0.8427 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006068/1.23, allocations: 1.861 MB / 0.8445 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/1.245, allocations: 6.203 MB / 0.8506 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/1.245, allocations: 4 kB / 0.8506 GB, free: 6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/1.247, allocations: 288.4 kB / 0.8509 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002532/1.25, allocations: 0.7768 MB / 0.8516 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/1.25, allocations: 51.94 kB / 0.8517 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002497/1.252, allocations: 1.942 MB / 0.8536 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.305e-06/1.253, allocations: 11 kB / 0.8536 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01146/1.264, allocations: 3.456 MB / 0.857 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002373/1.266, allocations: 0.5756 MB / 0.8575 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008872/1.267, allocations: 39.98 kB / 0.8576 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003605/1.271, allocations: 269.8 kB / 0.8578 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002524/1.271, allocations: 119.2 kB / 0.8579 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001982/1.271, allocations: 75.92 kB / 0.858 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00342/1.275, allocations: 1.832 MB / 0.8598 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/1.275, allocations: 0 / 0.8598 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005519/1.28, allocations: 1.476 MB / 0.8612 GB, free: 11 MB / 0.6075 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.002076/1.282, allocations: 0.8041 MB / 0.862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01309/1.296, allocations: 3.673 MB / 0.8656 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/1.296, allocations: 1.438 kB / 0.8656 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003531/1.299, allocations: 0.9861 MB / 0.8666 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008014/1.307, allocations: 1.593 MB / 0.8681 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/1.322, allocations: 6.214 MB / 0.8742 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/1.323, allocations: 1.709 MB / 0.8759 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.324, allocations: 279.2 kB / 0.8761 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of SimCode: time 9.72e-07/1.324, allocations: 3.938 kB / 0.8761 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of Templates: time 0.1091/1.433, allocations: 82.55 MB / 0.9568 GB, free: 10.06 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)