Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001114, allocations: 108 kB / 16.37 MB, free: 6.477 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.001146/0.001146, allocations: 194.7 kB / 17.31 MB, free: 5.824 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7735/0.7735, allocations: 135.1 MB / 426.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 59.91 kB / 0.5068 GB, free: 7.707 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.349, allocations: 80.91 MB / 0.5858 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.05624/0.4053, allocations: 69.92 MB / 0.654 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01883/0.4241, allocations: 14.44 MB / 0.6681 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002566/0.4267, allocations: 75.56 kB / 0.6682 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002373/0.4292, allocations: 0.9239 MB / 0.6691 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006588/0.4358, allocations: 2.544 MB / 0.6716 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005003/0.4408, allocations: 1.98 MB / 0.6735 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005744/0.4466, allocations: 4.63 MB / 0.6781 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002599/0.4492, allocations: 1.606 MB / 0.6796 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003906/0.4531, allocations: 1.775 MB / 0.6814 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.4553, allocations: 1.264 MB / 0.6826 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004659/0.4558, allocations: 196 kB / 0.6828 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004085/0.4599, allocations: 1.974 MB / 0.6847 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005934/0.4605, allocations: 462.5 kB / 0.6851 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001475/0.462, allocations: 1.019 MB / 0.6861 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004897/0.4669, allocations: 3.49 MB / 0.6896 GB, free: 32 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4669, allocations: 4 kB / 0.6896 GB, free: 28 kB / 0.5137 GB Notification: Performance of FrontEnd: time 3.136e-06/0.4669, allocations: 3.984 kB / 0.6896 GB, free: 24 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.808e-05/0.467, allocations: 0 / 0.6896 GB, free: 24 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.004341/0.4713, allocations: 2.298 MB / 0.6918 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.4714, allocations: 9.109 kB / 0.6918 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004854/0.4762, allocations: 0.6579 MB / 0.6925 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002986/0.4792, allocations: 1.58 MB / 0.694 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.4794, allocations: 124 kB / 0.6941 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.4796, allocations: 120 kB / 0.6942 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003567/0.4831, allocations: 1.614 MB / 0.6958 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.4832, allocations: 0 / 0.6958 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.4833, allocations: 63.88 kB / 0.6959 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-05/0.4834, allocations: 35.98 kB / 0.6959 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004184/0.4876, allocations: 1.413 MB / 0.6973 GB, free: 7.875 MB / 0.5294 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.008923/0.4965, allocations: 7.179 MB / 0.7043 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/0.4986, allocations: 0.7886 MB / 0.7051 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.5001, allocations: 486.8 kB / 0.7055 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/0.5013, allocations: 1.267 MB / 0.7068 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.5013, allocations: 51.06 kB / 0.7068 GB, free: 13.44 MB / 0.545 GB Notification: Performance of pre-optimization done (n=68): time 2.264e-06/0.5013, allocations: 0 / 0.7068 GB, free: 13.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=68): time 0.008794/0.5101, allocations: 2.108 MB / 0.7089 GB, free: 11.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.5102, allocations: 111.4 kB / 0.709 GB, free: 11.17 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.5122, allocations: 1.383 MB / 0.7103 GB, free: 9.773 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.5123, allocations: 41.7 kB / 0.7104 GB, free: 9.727 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006158/0.5129, allocations: 0.6881 MB / 0.711 GB, free: 9.031 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.5132, allocations: 236.6 kB / 0.7113 GB, free: 8.797 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003691/0.5136, allocations: 226.3 kB / 0.7115 GB, free: 8.566 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5137, allocations: 338 kB / 0.7118 GB, free: 8.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.5154, allocations: 484.5 kB / 0.7123 GB, free: 7.754 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/0.5173, allocations: 0.7477 MB / 0.713 GB, free: 6.895 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003167/0.5205, allocations: 1.094 MB / 0.7141 GB, free: 5.711 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.5205, allocations: 0 / 0.7141 GB, free: 5.711 MB / 0.545 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004423/0.5249, allocations: 1.515 MB / 0.7155 GB, free: 4.184 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.525, allocations: 12 kB / 0.7156 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.525, allocations: 7.984 kB / 0.7156 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/0.5265, allocations: 445 kB / 0.716 GB, free: 3.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.5278, allocations: 251.5 kB / 0.7162 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.5292, allocations: 1.065 MB / 0.7173 GB, free: 2.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.5311, allocations: 218.7 kB / 0.7175 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.5312, allocations: 55.89 kB / 0.7175 GB, free: 2.125 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00212/0.5333, allocations: 0.7634 MB / 0.7183 GB, free: 1.359 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001834/0.5352, allocations: 0.747 MB / 0.719 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003059/0.5383, allocations: 1.082 MB / 0.7201 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.169e-06/0.5383, allocations: 4 kB / 0.7201 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004406/0.5427, allocations: 1.492 MB / 0.7215 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.5427, allocations: 8 kB / 0.7215 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.5427, allocations: 4 kB / 0.7215 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.5441, allocations: 446.1 kB / 0.722 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.5454, allocations: 251.5 kB / 0.7222 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.5467, allocations: 1.064 MB / 0.7232 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/0.5487, allocations: 187.5 kB / 0.7234 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.5488, allocations: 51.95 kB / 0.7235 GB, free: 11.81 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0003161/0.5491, allocations: 240.9 kB / 0.7237 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004582/0.5496, allocations: 150.2 kB / 0.7238 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004213/0.5538, allocations: 1.267 MB / 0.7251 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.5538, allocations: 4 kB / 0.7251 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/0.5539, allocations: 4 kB / 0.7251 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003126/0.557, allocations: 1.08 MB / 0.7261 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007707/0.5647, allocations: 3.391 MB / 0.7294 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.5647, allocations: 4 kB / 0.7295 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008468/0.5656, allocations: 147.7 kB / 0.7296 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/0.5671, allocations: 453.6 kB / 0.73 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.428e-05/0.5671, allocations: 23.97 kB / 0.73 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/0.5685, allocations: 1.056 MB / 0.7311 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.5686, allocations: 4 kB / 0.7311 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00396/0.5725, allocations: 1.354 MB / 0.7324 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009605/0.5735, allocations: 355 kB / 0.7327 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003889/0.5739, allocations: 16 kB / 0.7328 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/0.5756, allocations: 119.8 kB / 0.7329 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.5757, allocations: 56.31 kB / 0.7329 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.5758, allocations: 39.95 kB / 0.733 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001925/0.5778, allocations: 0.981 MB / 0.7339 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5778, allocations: 4 kB / 0.7339 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003167/0.5809, allocations: 0.8929 MB / 0.7348 GB, free: 15.81 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001862/0.5828, allocations: 0.5508 MB / 0.7353 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006219/0.5891, allocations: 1.791 MB / 0.7371 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/0.5891, allocations: 7.719 kB / 0.7371 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00175/0.5908, allocations: 0.5131 MB / 0.7376 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003887/0.5947, allocations: 0.8246 MB / 0.7384 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005499/0.6003, allocations: 2.517 MB / 0.7409 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009193/0.6012, allocations: 1.207 MB / 0.742 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001546/0.6028, allocations: 342.2 kB / 0.7424 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/0.6031, allocations: 123.3 kB / 0.7425 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/0.6031, allocations: 0 / 0.7425 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of Templates: time 0.3359/0.939, allocations: 38.78 MB / 0.7803 GB, free: 136.1 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)