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.001371/0.001371, allocations: 102.2 kB / 16.27 MB, free: 6 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.00172/0.00172, allocations: 191 kB / 17.2 MB, free: 5.609 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.421/1.421, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8352/0.8352, allocations: 135.1 MB / 426.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 64.05 kB / 0.506 GB, free: 8.375 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3982, allocations: 80.91 MB / 0.585 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.0604/0.4587, allocations: 69.92 MB / 0.6533 GB, free: 4.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02167/0.4804, allocations: 14.45 MB / 0.6674 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002727/0.4831, allocations: 71.56 kB / 0.6675 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00303/0.4862, allocations: 0.9238 MB / 0.6684 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008082/0.4944, allocations: 2.534 MB / 0.6708 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005634/0.5, allocations: 1.972 MB / 0.6728 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006555/0.5066, allocations: 4.606 MB / 0.6773 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002889/0.5095, allocations: 1.622 MB / 0.6788 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004558/0.5141, allocations: 1.752 MB / 0.6806 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002443/0.5165, allocations: 1.264 MB / 0.6818 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006751/0.5172, allocations: 196 kB / 0.682 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005049/0.5223, allocations: 1.919 MB / 0.6839 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008783/0.5232, allocations: 462.5 kB / 0.6843 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002342/0.5255, allocations: 1.023 MB / 0.6853 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006939/0.5325, allocations: 3.479 MB / 0.6887 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5325, allocations: 0 / 0.6887 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5325, allocations: 0 / 0.6887 GB, free: 284 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.229e-05/0.5326, allocations: 0 / 0.6887 GB, free: 284 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.005301/0.5379, allocations: 2.302 MB / 0.6909 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.538, allocations: 13.11 kB / 0.6909 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005292/0.5433, allocations: 0.6541 MB / 0.6916 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002924/0.5462, allocations: 1.508 MB / 0.6931 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.5464, allocations: 128 kB / 0.6932 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003216/0.5467, allocations: 124 kB / 0.6933 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004201/0.5509, allocations: 1.622 MB / 0.6949 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.551, allocations: 0 / 0.6949 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.5512, allocations: 55.94 kB / 0.6949 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/0.5512, allocations: 39.98 kB / 0.695 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004659/0.5559, allocations: 1.417 MB / 0.6964 GB, free: 8.184 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.01116/0.5671, allocations: 7.226 MB / 0.7034 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/0.5694, allocations: 0.7966 MB / 0.7042 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.571, allocations: 486.8 kB / 0.7047 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/0.5724, allocations: 1.263 MB / 0.7059 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.5724, allocations: 55.05 kB / 0.7059 GB, free: 13.69 MB / 0.545 GB Notification: Performance of pre-optimization done (n=68): time 3.466e-06/0.5724, allocations: 0 / 0.7059 GB, free: 13.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=68): time 0.009711/0.5821, allocations: 2.107 MB / 0.708 GB, free: 11.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.5822, allocations: 111.4 kB / 0.7081 GB, free: 11.42 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/0.5848, allocations: 1.383 MB / 0.7095 GB, free: 10.03 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.585, allocations: 41.7 kB / 0.7095 GB, free: 9.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006776/0.5856, allocations: 0.6881 MB / 0.7102 GB, free: 9.285 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/0.5859, allocations: 236.6 kB / 0.7104 GB, free: 9.051 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003918/0.5863, allocations: 226.3 kB / 0.7106 GB, free: 8.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5864, allocations: 338 kB / 0.7109 GB, free: 8.484 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001818/0.5883, allocations: 488.5 kB / 0.7114 GB, free: 8.004 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/0.5903, allocations: 0.7438 MB / 0.7121 GB, free: 7.152 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00351/0.5939, allocations: 1.094 MB / 0.7132 GB, free: 5.969 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.5939, allocations: 4 kB / 0.7132 GB, free: 5.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004951/0.5988, allocations: 1.5 MB / 0.7147 GB, free: 4.453 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.5989, allocations: 12 kB / 0.7147 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.5989, allocations: 8 kB / 0.7147 GB, free: 4.434 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/0.6005, allocations: 447.9 kB / 0.7151 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.6019, allocations: 247.6 kB / 0.7153 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.6034, allocations: 1.065 MB / 0.7164 GB, free: 2.664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/0.6056, allocations: 222.6 kB / 0.7166 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.6058, allocations: 55.89 kB / 0.7167 GB, free: 2.391 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002393/0.6082, allocations: 0.7712 MB / 0.7174 GB, free: 1.617 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002049/0.6102, allocations: 0.7431 MB / 0.7181 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003474/0.6137, allocations: 1.094 MB / 0.7192 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.34e-06/0.6137, allocations: 0 / 0.7192 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.00509/0.6188, allocations: 1.496 MB / 0.7207 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.6189, allocations: 10.5 kB / 0.7207 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.6189, allocations: 12.06 kB / 0.7207 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/0.6204, allocations: 449.5 kB / 0.7211 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.6218, allocations: 243.6 kB / 0.7213 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.6233, allocations: 1.064 MB / 0.7224 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.6254, allocations: 183.3 kB / 0.7226 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/0.6256, allocations: 55.94 kB / 0.7226 GB, free: 12.06 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.0003839/0.626, allocations: 236.9 kB / 0.7228 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005571/0.6265, allocations: 150.3 kB / 0.723 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004124/0.6307, allocations: 1.276 MB / 0.7242 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.6307, allocations: 8 kB / 0.7242 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.6307, allocations: 4 kB / 0.7242 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003366/0.6341, allocations: 1.088 MB / 0.7253 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008011/0.6421, allocations: 3.383 MB / 0.7286 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.6422, allocations: 4 kB / 0.7286 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009168/0.6431, allocations: 147.8 kB / 0.7287 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001438/0.6445, allocations: 447.1 kB / 0.7292 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-05/0.6446, allocations: 23.97 kB / 0.7292 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.6461, allocations: 1.056 MB / 0.7302 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.6461, allocations: 4 kB / 0.7302 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004099/0.6502, allocations: 1.358 MB / 0.7316 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008925/0.6511, allocations: 351 kB / 0.7319 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004141/0.6516, allocations: 23.94 kB / 0.7319 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001799/0.6534, allocations: 107.9 kB / 0.732 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.6535, allocations: 56.19 kB / 0.7321 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/0.6536, allocations: 59.94 kB / 0.7321 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001946/0.6556, allocations: 0.9693 MB / 0.7331 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.6556, allocations: 0 / 0.7331 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003027/0.6586, allocations: 0.8967 MB / 0.7339 GB, free: 60 kB / 0.5606 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.001557/0.6602, allocations: 0.5413 MB / 0.7345 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00647/0.6667, allocations: 1.806 MB / 0.7362 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/0.6667, allocations: 0 / 0.7362 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001862/0.6686, allocations: 0.5217 MB / 0.7368 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004551/0.6732, allocations: 0.8333 MB / 0.7376 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006141/0.6793, allocations: 2.585 MB / 0.7401 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000966/0.6803, allocations: 1.195 MB / 0.7413 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005778/0.6809, allocations: 155.2 kB / 0.7414 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of SimCode: time 7.12e-07/0.6809, allocations: 0 / 0.7414 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of Templates: time 0.3362/1.017, allocations: 35.87 MB / 0.7764 GB, free: 138.8 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)