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.001347/0.001347, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001469/0.001469, allocations: 194.8 kB / 16.25 MB, free: 6.641 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.342/1.342, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9293/0.9293, allocations: 135.6 MB / 425.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001856, allocations: 68.58 kB / 0.5054 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.163, allocations: 81.02 MB / 0.5845 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.2988/0.4618, allocations: 69.3 MB / 0.6522 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01474/0.4766, allocations: 14.35 MB / 0.6662 GB, free: 380 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002111/0.4787, allocations: 65.59 kB / 0.6662 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.4807, allocations: 0.7926 MB / 0.667 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005779/0.4865, allocations: 2.371 MB / 0.6693 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004316/0.4908, allocations: 1.824 MB / 0.6711 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006089/0.4969, allocations: 4.645 MB / 0.6756 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002455/0.4994, allocations: 1.606 MB / 0.6772 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004482/0.5039, allocations: 1.774 MB / 0.6789 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002716/0.5066, allocations: 1.31 MB / 0.6802 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004408/0.507, allocations: 193.3 kB / 0.6804 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004798/0.5118, allocations: 1.939 MB / 0.6823 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006181/0.5125, allocations: 463.9 kB / 0.6827 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001744/0.5142, allocations: 1.026 MB / 0.6838 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006894/0.5211, allocations: 3.492 MB / 0.6872 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.5212, allocations: 0 / 0.6872 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.977e-06/0.5212, allocations: 2.078 kB / 0.6872 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.443e-05/0.5213, allocations: 4 kB / 0.6872 GB, free: 5.93 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.005104/0.5264, allocations: 2.305 MB / 0.6894 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.5264, allocations: 9.312 kB / 0.6894 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005128/0.5315, allocations: 0.6461 MB / 0.6901 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/0.5344, allocations: 1.551 MB / 0.6916 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.5346, allocations: 130.7 kB / 0.6917 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/0.5348, allocations: 119.9 kB / 0.6918 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003947/0.5387, allocations: 1.619 MB / 0.6934 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.5388, allocations: 1.156 kB / 0.6934 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.5389, allocations: 54 kB / 0.6934 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.772e-05/0.539, allocations: 37.11 kB / 0.6935 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004547/0.5435, allocations: 1.426 MB / 0.6949 GB, free: 1.965 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.01236/0.5559, allocations: 7.173 MB / 0.7019 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002312/0.5582, allocations: 0.7928 MB / 0.7027 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.5598, allocations: 487.1 kB / 0.7031 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/0.5613, allocations: 1.264 MB / 0.7044 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.5613, allocations: 44.34 kB / 0.7044 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.335e-06/0.5613, allocations: 0 / 0.7044 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.009829/0.5712, allocations: 2.113 MB / 0.7065 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.5713, allocations: 110.4 kB / 0.7066 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/0.5735, allocations: 1.373 MB / 0.7079 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002058/0.5737, allocations: 40.45 kB / 0.7079 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009055/0.5746, allocations: 0.6871 MB / 0.7086 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004165/0.5751, allocations: 234.6 kB / 0.7088 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004649/0.5755, allocations: 223.6 kB / 0.7091 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.5757, allocations: 345.8 kB / 0.7094 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/0.5778, allocations: 491 kB / 0.7098 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002169/0.58, allocations: 0.7428 MB / 0.7106 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003494/0.5835, allocations: 1.092 MB / 0.7116 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.5835, allocations: 2.438 kB / 0.7116 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005043/0.5886, allocations: 1.506 MB / 0.7131 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.5886, allocations: 6.875 kB / 0.7131 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.5886, allocations: 11.38 kB / 0.7131 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/0.5902, allocations: 460.1 kB / 0.7136 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.5915, allocations: 241.8 kB / 0.7138 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.5931, allocations: 1.06 MB / 0.7148 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/0.5958, allocations: 252.9 kB / 0.7151 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.5959, allocations: 57.62 kB / 0.7151 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002455/0.5984, allocations: 0.7689 MB / 0.7159 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002041/0.6005, allocations: 0.7422 MB / 0.7166 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003412/0.6039, allocations: 1.09 MB / 0.7177 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.865e-06/0.6039, allocations: 0 / 0.7177 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.005036/0.6089, allocations: 1.502 MB / 0.7191 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.609, allocations: 8 kB / 0.7191 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.609, allocations: 4 kB / 0.7191 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/0.6105, allocations: 445.6 kB / 0.7196 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.6119, allocations: 247.6 kB / 0.7198 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.6135, allocations: 1.063 MB / 0.7208 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/0.6162, allocations: 215.2 kB / 0.7211 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.6163, allocations: 51.95 kB / 0.7211 GB, free: 15.37 MB / 0.545 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.0004594/0.6168, allocations: 250.8 kB / 0.7213 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004973/0.6173, allocations: 142.2 kB / 0.7215 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004214/0.6215, allocations: 1.279 MB / 0.7227 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.6216, allocations: 8 kB / 0.7227 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.6216, allocations: 3.984 kB / 0.7227 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003469/0.6251, allocations: 1.084 MB / 0.7238 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008536/0.6336, allocations: 3.375 MB / 0.7271 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.6336, allocations: 4 kB / 0.7271 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009355/0.6346, allocations: 143.7 kB / 0.7272 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/0.636, allocations: 441.5 kB / 0.7277 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.902e-05/0.6361, allocations: 39.89 kB / 0.7277 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/0.6377, allocations: 1.049 MB / 0.7287 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.6377, allocations: 8.031 kB / 0.7287 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004192/0.6419, allocations: 1.35 MB / 0.73 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009372/0.6428, allocations: 351.1 kB / 0.7304 GB, free: 5.496 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000289/0.6431, allocations: 20 kB / 0.7304 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/0.6449, allocations: 135.8 kB / 0.7305 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.645, allocations: 60.25 kB / 0.7306 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.6452, allocations: 47.95 kB / 0.7306 GB, free: 5.238 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001653/0.6468, allocations: 0.9615 MB / 0.7316 GB, free: 4.277 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6468, allocations: 0 / 0.7316 GB, free: 4.277 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002709/0.6495, allocations: 0.885 MB / 0.7324 GB, free: 3.391 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.001387/0.6509, allocations: 0.5322 MB / 0.733 GB, free: 2.863 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006618/0.6576, allocations: 1.828 MB / 0.7347 GB, free: 1.043 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.6576, allocations: 0 / 0.7347 GB, free: 1.043 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.6595, allocations: 0.5178 MB / 0.7352 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004227/0.6637, allocations: 0.8227 MB / 0.736 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005882/0.6696, allocations: 3.061 MB / 0.739 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008465/0.6705, allocations: 1.207 MB / 0.7402 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001804/0.6723, allocations: 336.1 kB / 0.7405 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.6726, allocations: 127.3 kB / 0.7407 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/0.6726, allocations: 0 / 0.7407 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of Templates: time 0.06656/0.7392, allocations: 38.24 MB / 0.778 GB, free: 5.109 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)