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.001655/0.001655, allocations: 115.2 kB / 17.08 MB, free: 5.973 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.001602/0.001602, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.352/1.352, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7225/0.7225, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.73 kB / 0.5583 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1761, allocations: 76.18 MB / 0.6327 GB, free: 4.535 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.06561/0.2418, allocations: 69.9 MB / 0.701 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02234/0.2642, allocations: 14.46 MB / 0.7151 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003811/0.268, allocations: 75.56 kB / 0.7152 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003489/0.2716, allocations: 0.92 MB / 0.7161 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008967/0.2806, allocations: 2.556 MB / 0.7186 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006255/0.2869, allocations: 1.977 MB / 0.7205 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007756/0.2946, allocations: 4.628 MB / 0.725 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002966/0.2977, allocations: 1.606 MB / 0.7266 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004835/0.3025, allocations: 1.808 MB / 0.7284 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002605/0.3051, allocations: 1.264 MB / 0.7296 GB, free: 1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004039/0.3055, allocations: 192 kB / 0.7298 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005213/0.3108, allocations: 1.974 MB / 0.7317 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005803/0.3114, allocations: 466.5 kB / 0.7322 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001741/0.3131, allocations: 1.019 MB / 0.7331 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006948/0.3201, allocations: 3.494 MB / 0.7366 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3201, allocations: 3.938 kB / 0.7366 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3201, allocations: 0 / 0.7366 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.86e-05/0.3202, allocations: 0 / 0.7366 GB, free: 9.848 MB / 0.5762 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.004589/0.3248, allocations: 2.302 MB / 0.7388 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.3249, allocations: 8.031 kB / 0.7388 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004998/0.3299, allocations: 0.6504 MB / 0.7395 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/0.3329, allocations: 1.58 MB / 0.741 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.3331, allocations: 128 kB / 0.7411 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.3333, allocations: 116 kB / 0.7412 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004015/0.3373, allocations: 1.623 MB / 0.7428 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.3374, allocations: 3.938 kB / 0.7428 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.3375, allocations: 56 kB / 0.7429 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.408e-05/0.3376, allocations: 39.86 kB / 0.7429 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004549/0.3421, allocations: 1.413 MB / 0.7443 GB, free: 1.695 MB / 0.5762 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.418/0.7601, allocations: 7.154 MB / 0.7513 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/0.7626, allocations: 0.7957 MB / 0.7521 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.7642, allocations: 487.9 kB / 0.7525 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001134/0.7654, allocations: 1.267 MB / 0.7538 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.7654, allocations: 45.72 kB / 0.7538 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=68): time 2.846e-06/0.7655, allocations: 0 / 0.7538 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=68): time 0.01024/0.7757, allocations: 2.108 MB / 0.7559 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.7758, allocations: 111 kB / 0.756 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002712/0.7785, allocations: 1.384 MB / 0.7573 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001835/0.7787, allocations: 43.92 kB / 0.7574 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006323/0.7794, allocations: 0.6841 MB / 0.758 GB, free: 101 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.7796, allocations: 243.3 kB / 0.7583 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004073/0.78, allocations: 223.8 kB / 0.7585 GB, free: 100.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.068e-05/0.7801, allocations: 336.2 kB / 0.7588 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001793/0.7819, allocations: 493.5 kB / 0.7593 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/0.784, allocations: 0.7415 MB / 0.76 GB, free: 99.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003494/0.7875, allocations: 1.1 MB / 0.7611 GB, free: 99.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.7875, allocations: 2.312 kB / 0.7611 GB, free: 99.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005673/0.7932, allocations: 1.503 MB / 0.7625 GB, free: 98.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.7933, allocations: 7.656 kB / 0.7625 GB, free: 98.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.7933, allocations: 10.56 kB / 0.7625 GB, free: 98.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.7949, allocations: 446.8 kB / 0.763 GB, free: 98.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.7963, allocations: 248.4 kB / 0.7632 GB, free: 98.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.7979, allocations: 1.071 MB / 0.7643 GB, free: 97.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/0.8004, allocations: 218.1 kB / 0.7645 GB, free: 97.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.8005, allocations: 53.44 kB / 0.7645 GB, free: 97.76 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002421/0.803, allocations: 0.7701 MB / 0.7653 GB, free: 97.42 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001952/0.8049, allocations: 0.7391 MB / 0.766 GB, free: 96.97 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003352/0.8083, allocations: 1.093 MB / 0.7671 GB, free: 96.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.916e-06/0.8083, allocations: 1.438 kB / 0.7671 GB, free: 96.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004945/0.8133, allocations: 1.49 MB / 0.7685 GB, free: 95.65 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.8133, allocations: 7.875 kB / 0.7685 GB, free: 95.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.8133, allocations: 6.812 kB / 0.7685 GB, free: 95.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.8148, allocations: 461.1 kB / 0.769 GB, free: 95.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.8161, allocations: 239.3 kB / 0.7692 GB, free: 95.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.8175, allocations: 1.067 MB / 0.7702 GB, free: 94.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/0.8198, allocations: 183.1 kB / 0.7704 GB, free: 94.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.8199, allocations: 48.95 kB / 0.7705 GB, free: 94.45 MB / 0.5762 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.0003994/0.8204, allocations: 243.4 kB / 0.7707 GB, free: 94.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003219/0.8207, allocations: 149.4 kB / 0.7708 GB, free: 94.15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/0.8245, allocations: 1.276 MB / 0.7721 GB, free: 93.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.8245, allocations: 7.938 kB / 0.7721 GB, free: 93.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.8245, allocations: 0 / 0.7721 GB, free: 93.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003025/0.8275, allocations: 1.082 MB / 0.7731 GB, free: 92.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007135/0.8347, allocations: 3.392 MB / 0.7765 GB, free: 90.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.8347, allocations: 3.906 kB / 0.7765 GB, free: 90.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008264/0.8356, allocations: 149.2 kB / 0.7766 GB, free: 90.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/0.8369, allocations: 436.4 kB / 0.777 GB, free: 90 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.163e-05/0.837, allocations: 26.78 kB / 0.777 GB, free: 89.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.8382, allocations: 1.054 MB / 0.7781 GB, free: 89.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.8382, allocations: 11.88 kB / 0.7781 GB, free: 89.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003744/0.8419, allocations: 1.352 MB / 0.7794 GB, free: 88.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006669/0.8426, allocations: 351 kB / 0.7797 GB, free: 88.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002323/0.8429, allocations: 14.91 kB / 0.7798 GB, free: 88.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/0.8444, allocations: 115.8 kB / 0.7799 GB, free: 87.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.8446, allocations: 59.94 kB / 0.7799 GB, free: 87.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-05/0.8446, allocations: 46.8 kB / 0.78 GB, free: 87.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001456/0.8461, allocations: 0.9717 MB / 0.7809 GB, free: 87.37 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8461, allocations: 0 / 0.7809 GB, free: 87.37 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002285/0.8484, allocations: 0.8983 MB / 0.7818 GB, free: 86.88 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.001105/0.8495, allocations: 0.5514 MB / 0.7823 GB, free: 86.42 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005739/0.8553, allocations: 1.785 MB / 0.7841 GB, free: 84.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.8553, allocations: 4 kB / 0.7841 GB, free: 84.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001645/0.857, allocations: 0.5184 MB / 0.7846 GB, free: 84.13 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003809/0.8608, allocations: 0.8295 MB / 0.7854 GB, free: 83.35 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004882/0.8657, allocations: 2.55 MB / 0.7879 GB, free: 80.72 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/0.8662, allocations: 1.199 MB / 0.7891 GB, free: 79.49 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/0.8667, allocations: 143.3 kB / 0.7892 GB, free: 79.35 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/0.8667, allocations: 4 kB / 0.7892 GB, free: 79.35 MB / 0.5762 GB Notification: Performance of Templates: time 0.04099/0.9077, allocations: 36 MB / 0.8244 GB, free: 43.56 MB / 0.5762 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)