Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.007868/0.007868, allocations: 101.1 kB / 15.88 MB, free: 6.312 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.002076/0.002076, allocations: 194 kB / 16.79 MB, free: 6.242 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.445/1.445, allocations: 222.9 MB / 240.5 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8364/0.8364, allocations: 126.7 MB / 417.3 MB, free: 7.309 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.08 kB / 0.4951 GB, free: 10.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4201, allocations: 78.86 MB / 0.5721 GB, free: 8.223 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.07539/0.4955, allocations: 69.57 MB / 0.64 GB, free: 2.996 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02521/0.5208, allocations: 14.66 MB / 0.6543 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003902/0.5247, allocations: 67.56 kB / 0.6544 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003009/0.5278, allocations: 0.7498 MB / 0.6551 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007547/0.5354, allocations: 2.337 MB / 0.6574 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00532/0.5407, allocations: 1.772 MB / 0.6591 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007887/0.5486, allocations: 5.785 MB / 0.6648 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002252/0.5509, allocations: 1.33 MB / 0.6661 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003542/0.5545, allocations: 1.595 MB / 0.6676 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.5564, allocations: 1.233 MB / 0.6688 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002408/0.5567, allocations: 84 kB / 0.6689 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003919/0.5606, allocations: 1.751 MB / 0.6706 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004513/0.5611, allocations: 358.5 kB / 0.671 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.5623, allocations: 0.9174 MB / 0.6719 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005087/0.5674, allocations: 3.416 MB / 0.6752 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5674, allocations: 4 kB / 0.6752 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5674, allocations: 0 / 0.6752 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.842e-05/0.5675, allocations: 0 / 0.6752 GB, free: 14.84 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.004493/0.572, allocations: 2.3 MB / 0.6775 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.572, allocations: 12.02 kB / 0.6775 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00561/0.5776, allocations: 0.6541 MB / 0.6781 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003035/0.5807, allocations: 1.553 MB / 0.6796 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.5809, allocations: 124 kB / 0.6797 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/0.5811, allocations: 120 kB / 0.6799 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004159/0.5853, allocations: 1.618 MB / 0.6814 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.5853, allocations: 4 kB / 0.6814 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.5855, allocations: 55.92 kB / 0.6815 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.067e-05/0.5856, allocations: 40 kB / 0.6815 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005082/0.5906, allocations: 1.417 MB / 0.6829 GB, free: 6.707 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.01167/0.6023, allocations: 7.388 MB / 0.6901 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/0.6048, allocations: 0.7953 MB / 0.6909 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.6065, allocations: 490.7 kB / 0.6914 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001516/0.608, allocations: 1.267 MB / 0.6926 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/0.6081, allocations: 47.05 kB / 0.6927 GB, free: 12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.595e-06/0.6081, allocations: 0 / 0.6927 GB, free: 12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.0104/0.6185, allocations: 2.112 MB / 0.6947 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/0.6187, allocations: 111.4 kB / 0.6948 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002494/0.6212, allocations: 1.371 MB / 0.6962 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001455/0.6213, allocations: 45.7 kB / 0.6962 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007001/0.622, allocations: 0.6881 MB / 0.6969 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/0.6223, allocations: 232.7 kB / 0.6971 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000393/0.6227, allocations: 218.3 kB / 0.6973 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.6229, allocations: 341.9 kB / 0.6976 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/0.6248, allocations: 492.5 kB / 0.6981 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002275/0.6271, allocations: 0.7394 MB / 0.6988 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003743/0.6309, allocations: 1.09 MB / 0.6999 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.6309, allocations: 4 kB / 0.6999 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005149/0.636, allocations: 1.504 MB / 0.7014 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.6361, allocations: 4.562 kB / 0.7014 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.6361, allocations: 16 kB / 0.7014 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001621/0.6377, allocations: 453.2 kB / 0.7018 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.6392, allocations: 247.6 kB / 0.7021 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/0.6408, allocations: 1.06 MB / 0.7031 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/0.6431, allocations: 253.2 kB / 0.7033 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.6433, allocations: 63.88 kB / 0.7034 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002443/0.6457, allocations: 0.7635 MB / 0.7041 GB, free: 15.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002139/0.6479, allocations: 0.7511 MB / 0.7049 GB, free: 15.05 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003671/0.6515, allocations: 1.078 MB / 0.7059 GB, free: 13.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.073e-06/0.6516, allocations: 4 kB / 0.7059 GB, free: 13.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.005153/0.6567, allocations: 1.5 MB / 0.7074 GB, free: 12.37 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.6568, allocations: 12 kB / 0.7074 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.6568, allocations: 8 kB / 0.7074 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.6583, allocations: 436.5 kB / 0.7078 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.6597, allocations: 247.6 kB / 0.7081 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.6614, allocations: 1.064 MB / 0.7091 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/0.6637, allocations: 223.5 kB / 0.7093 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.6639, allocations: 55.95 kB / 0.7094 GB, free: 10.32 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.0003789/0.6642, allocations: 236.1 kB / 0.7096 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/0.6646, allocations: 154.1 kB / 0.7097 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004315/0.6689, allocations: 1.276 MB / 0.711 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.669, allocations: 12 kB / 0.711 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.669, allocations: 0 / 0.711 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003615/0.6726, allocations: 1.08 MB / 0.7121 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0083/0.6809, allocations: 3.379 MB / 0.7154 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.6809, allocations: 4 kB / 0.7154 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009636/0.6819, allocations: 147.8 kB / 0.7155 GB, free: 3.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.6835, allocations: 444.3 kB / 0.7159 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.909e-05/0.6835, allocations: 23.97 kB / 0.7159 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.6852, allocations: 1.06 MB / 0.717 GB, free: 2.242 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.6852, allocations: 7.938 kB / 0.717 GB, free: 2.234 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00433/0.6896, allocations: 1.354 MB / 0.7183 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007499/0.6903, allocations: 355 kB / 0.7187 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/0.6906, allocations: 20 kB / 0.7187 GB, free: 428 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/0.6923, allocations: 135.8 kB / 0.7188 GB, free: 292 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.6924, allocations: 60.25 kB / 0.7189 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.542e-05/0.6925, allocations: 39.95 kB / 0.7189 GB, free: 192 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001723/0.6943, allocations: 0.9655 MB / 0.7198 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6943, allocations: 0 / 0.7198 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002438/0.6967, allocations: 0.885 MB / 0.7207 GB, free: 14.33 MB / 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.001279/0.698, allocations: 0.5455 MB / 0.7212 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006587/0.7046, allocations: 1.763 MB / 0.723 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.7046, allocations: 7.875 kB / 0.723 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001945/0.7066, allocations: 0.5178 MB / 0.7235 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00356/0.7102, allocations: 0.7875 MB / 0.7242 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/0.7159, allocations: 3.057 MB / 0.7272 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008799/0.7168, allocations: 1.207 MB / 0.7284 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00156/0.7184, allocations: 342.8 kB / 0.7287 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.7187, allocations: 123.4 kB / 0.7288 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of SimCode: time 4.8e-07/0.7187, allocations: 0 / 0.7288 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of Templates: time 0.06196/0.7806, allocations: 36.91 MB / 0.7649 GB, free: 1.414 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)