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.0008432/0.0008432, allocations: 98.27 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.005569/0.005569, allocations: 169.8 kB / 16.27 MB, free: 6.348 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9435/0.9435, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003224, allocations: 15.94 kB / 0.5076 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1705, allocations: 82.31 MB / 0.588 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.3776/0.5481, allocations: 68.21 MB / 0.6546 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01724/0.5654, allocations: 14.45 MB / 0.6687 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002821/0.5683, allocations: 65.69 kB / 0.6688 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002288/0.5706, allocations: 0.748 MB / 0.6695 GB, free: 320 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007242/0.5779, allocations: 2.343 MB / 0.6718 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005173/0.583, allocations: 1.785 MB / 0.6735 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008406/0.5915, allocations: 5.86 MB / 0.6792 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002902/0.5944, allocations: 1.28 MB / 0.6805 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004231/0.5986, allocations: 1.431 MB / 0.6819 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003074/0.6017, allocations: 1.182 MB / 0.683 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005854/0.6023, allocations: 66.47 kB / 0.6831 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00571/0.608, allocations: 1.735 MB / 0.6848 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008169/0.6089, allocations: 333.3 kB / 0.6851 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002587/0.6115, allocations: 0.8949 MB / 0.686 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00752/0.619, allocations: 3.337 MB / 0.6893 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.6191, allocations: 1.031 kB / 0.6893 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6191, allocations: 1.344 kB / 0.6893 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001043/0.6192, allocations: 0 / 0.6893 GB, free: 7.648 MB / 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.005504/0.6247, allocations: 1.944 MB / 0.6912 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.6247, allocations: 8.969 kB / 0.6912 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005617/0.6304, allocations: 0.6908 MB / 0.6918 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004244/0.6346, allocations: 1.562 MB / 0.6934 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002576/0.6349, allocations: 126.2 kB / 0.6935 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005308/0.6355, allocations: 119.3 kB / 0.6936 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005872/0.6413, allocations: 1.643 MB / 0.6952 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/0.6414, allocations: 4.938 kB / 0.6952 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002473/0.6417, allocations: 58.55 kB / 0.6953 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.964e-05/0.6417, allocations: 36.84 kB / 0.6953 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005278/0.647, allocations: 1.474 MB / 0.6967 GB, free: 3.887 MB / 0.5137 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.01249/0.6595, allocations: 7.199 MB / 0.7038 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/0.6621, allocations: 0.8147 MB / 0.7046 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.6638, allocations: 0.5017 MB / 0.7051 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/0.6652, allocations: 1.268 MB / 0.7063 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.6652, allocations: 48.25 kB / 0.7063 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.935e-06/0.6653, allocations: 3.938 kB / 0.7063 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.01047/0.6757, allocations: 2.252 MB / 0.7085 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.6758, allocations: 109.7 kB / 0.7086 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002925/0.6788, allocations: 1.372 MB / 0.71 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002024/0.679, allocations: 44.05 kB / 0.71 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007105/0.6797, allocations: 0.6794 MB / 0.7107 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/0.68, allocations: 238.5 kB / 0.7109 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.6802, allocations: 76.86 kB / 0.711 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.6803, allocations: 337.8 kB / 0.7113 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/0.6823, allocations: 0.496 MB / 0.7118 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002169/0.6844, allocations: 0.7706 MB / 0.7125 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00369/0.6881, allocations: 1.149 MB / 0.7137 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/0.6882, allocations: 2.031 kB / 0.7137 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005376/0.6936, allocations: 1.562 MB / 0.7152 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002028/0.6938, allocations: 286.7 kB / 0.7155 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.6938, allocations: 6.188 kB / 0.7155 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/0.6954, allocations: 461.3 kB / 0.7159 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.6969, allocations: 258.4 kB / 0.7162 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.6984, allocations: 1.082 MB / 0.7172 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/0.7016, allocations: 265.6 kB / 0.7175 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/0.7018, allocations: 57.59 kB / 0.7175 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.7018, allocations: 2.625 kB / 0.7175 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00468/0.7065, allocations: 1.407 MB / 0.7189 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.7065, allocations: 6.5 kB / 0.7189 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.7081, allocations: 459.3 kB / 0.7193 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.7095, allocations: 254.4 kB / 0.7196 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.711, allocations: 1.084 MB / 0.7207 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/0.7136, allocations: 238.7 kB / 0.7209 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.7137, allocations: 52.66 kB / 0.7209 GB, free: 2.934 MB / 0.5294 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.00108/0.7148, allocations: 456.9 kB / 0.7214 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004814/0.7153, allocations: 142.2 kB / 0.7215 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004432/0.7197, allocations: 1.327 MB / 0.7228 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/0.7198, allocations: 8 kB / 0.7228 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.7198, allocations: 3.938 kB / 0.7228 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003599/0.7234, allocations: 1.139 MB / 0.7239 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008955/0.7324, allocations: 3.426 MB / 0.7273 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/0.7324, allocations: 7.922 kB / 0.7273 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009486/0.7334, allocations: 156 kB / 0.7274 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/0.735, allocations: 451.6 kB / 0.7279 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.401e-05/0.7351, allocations: 23.97 kB / 0.7279 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/0.7366, allocations: 1.073 MB / 0.7289 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.7367, allocations: 8 kB / 0.7289 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004259/0.7409, allocations: 1.397 MB / 0.7303 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/0.7421, allocations: 394.9 kB / 0.7307 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004525/0.7425, allocations: 20 kB / 0.7307 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002085/0.7446, allocations: 159.3 kB / 0.7308 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.7448, allocations: 56.44 kB / 0.7309 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/0.7449, allocations: 52.06 kB / 0.7309 GB, free: 8.305 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001961/0.7469, allocations: 0.9615 MB / 0.7319 GB, free: 7.344 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7469, allocations: 0 / 0.7319 GB, free: 7.344 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003481/0.7504, allocations: 0.8889 MB / 0.7328 GB, free: 6.453 MB / 0.545 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.001677/0.7521, allocations: 0.5444 MB / 0.7333 GB, free: 5.918 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007585/0.7597, allocations: 1.846 MB / 0.7351 GB, free: 4.074 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/0.7597, allocations: 4.438 kB / 0.7351 GB, free: 4.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001983/0.7617, allocations: 0.5408 MB / 0.7356 GB, free: 3.531 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005363/0.7671, allocations: 0.8004 MB / 0.7364 GB, free: 2.754 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006095/0.7732, allocations: 3.137 MB / 0.7395 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008716/0.7741, allocations: 1.211 MB / 0.7406 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001926/0.7761, allocations: 338.8 kB / 0.741 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/0.7765, allocations: 131.3 kB / 0.7411 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of SimCode: time 9.01e-07/0.7765, allocations: 0 / 0.7411 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.06328/0.8397, allocations: 37.62 MB / 0.7778 GB, free: 8.633 MB / 0.5919 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)