Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001577/0.001577, allocations: 111 kB / 16.41 MB, free: 6.441 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.001826/0.001826, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.453/1.453, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002106/0.002106, allocations: 276.5 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9418/0.9418, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 103.8 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.421, allocations: 86.97 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.1053/0.5263, allocations: 69.91 MB / 0.8353 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02049/0.5469, allocations: 14.47 MB / 0.8495 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00243/0.5493, allocations: 75.62 kB / 0.8495 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002533/0.5519, allocations: 0.9199 MB / 0.8504 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006806/0.5587, allocations: 2.553 MB / 0.8529 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005029/0.5638, allocations: 1.986 MB / 0.8549 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006547/0.5703, allocations: 4.63 MB / 0.8594 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002566/0.5729, allocations: 1.602 MB / 0.8609 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003823/0.5768, allocations: 1.804 MB / 0.8627 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002326/0.5791, allocations: 1.277 MB / 0.8639 GB, free: 388 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00057/0.5797, allocations: 192 kB / 0.8641 GB, free: 196 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004452/0.5841, allocations: 1.97 MB / 0.8661 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006502/0.5848, allocations: 466.5 kB / 0.8665 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00183/0.5866, allocations: 1.011 MB / 0.8675 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006606/0.5933, allocations: 3.505 MB / 0.8709 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5933, allocations: 3.938 kB / 0.8709 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5933, allocations: 0 / 0.8709 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001095/0.5934, allocations: 4 kB / 0.8709 GB, free: 9.227 MB / 0.6387 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.00511/0.5985, allocations: 2.294 MB / 0.8732 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.5986, allocations: 12.03 kB / 0.8732 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005375/0.604, allocations: 0.6465 MB / 0.8738 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002736/0.6067, allocations: 1.584 MB / 0.8753 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.6068, allocations: 124 kB / 0.8755 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002183/0.6071, allocations: 120 kB / 0.8756 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004043/0.6111, allocations: 1.61 MB / 0.8772 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.6112, allocations: 7.938 kB / 0.8772 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.6113, allocations: 51.98 kB / 0.8772 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-05/0.6114, allocations: 39.92 kB / 0.8772 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004715/0.6161, allocations: 1.425 MB / 0.8786 GB, free: 1.078 MB / 0.6387 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.009945/0.626, allocations: 7.156 MB / 0.8856 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/0.6284, allocations: 0.7895 MB / 0.8864 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.6301, allocations: 482.8 kB / 0.8869 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/0.6314, allocations: 1.274 MB / 0.8881 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.6315, allocations: 43.06 kB / 0.8881 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=68): time 2.815e-06/0.6315, allocations: 4 kB / 0.8881 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68): time 0.0101/0.6416, allocations: 2.104 MB / 0.8902 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.995e-05/0.6417, allocations: 115.4 kB / 0.8903 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003336/0.645, allocations: 1.375 MB / 0.8917 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.6452, allocations: 49.69 kB / 0.8917 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008348/0.646, allocations: 0.6803 MB / 0.8924 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003189/0.6464, allocations: 240.6 kB / 0.8926 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004832/0.6469, allocations: 230.3 kB / 0.8928 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.647, allocations: 337.9 kB / 0.8931 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001867/0.6489, allocations: 488.4 kB / 0.8936 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/0.6509, allocations: 0.7433 MB / 0.8943 GB, free: 136 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003588/0.6545, allocations: 1.09 MB / 0.8954 GB, free: 14.95 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.6546, allocations: 11.88 kB / 0.8954 GB, free: 14.94 MB / 0.67 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004993/0.6596, allocations: 1.504 MB / 0.8969 GB, free: 13.43 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.6596, allocations: 15.06 kB / 0.8969 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.6596, allocations: 12 kB / 0.8969 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001557/0.6612, allocations: 451.6 kB / 0.8973 GB, free: 12.96 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.6626, allocations: 247.6 kB / 0.8976 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.6641, allocations: 1.052 MB / 0.8986 GB, free: 11.64 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/0.6663, allocations: 218.7 kB / 0.8988 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.6664, allocations: 51.95 kB / 0.8989 GB, free: 11.38 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002384/0.6688, allocations: 0.7736 MB / 0.8996 GB, free: 10.61 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002079/0.6709, allocations: 0.747 MB / 0.9003 GB, free: 9.746 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003555/0.6745, allocations: 1.082 MB / 0.9014 GB, free: 8.582 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.404e-05/0.6745, allocations: 11.94 kB / 0.9014 GB, free: 8.57 MB / 0.67 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.005001/0.6795, allocations: 1.492 MB / 0.9029 GB, free: 7.066 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.6795, allocations: 11.94 kB / 0.9029 GB, free: 7.055 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.6796, allocations: 11.98 kB / 0.9029 GB, free: 7.043 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/0.681, allocations: 450.6 kB / 0.9033 GB, free: 6.605 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.6824, allocations: 243.6 kB / 0.9035 GB, free: 6.367 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.6839, allocations: 1.058 MB / 0.9046 GB, free: 5.285 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/0.6861, allocations: 187.2 kB / 0.9048 GB, free: 5.102 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.6862, allocations: 51.95 kB / 0.9048 GB, free: 5.051 MB / 0.67 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.0003217/0.6865, allocations: 240.1 kB / 0.905 GB, free: 4.809 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003845/0.6869, allocations: 146.2 kB / 0.9052 GB, free: 4.664 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004135/0.691, allocations: 1.272 MB / 0.9064 GB, free: 3.375 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003495/0.6945, allocations: 1.088 MB / 0.9075 GB, free: 2.254 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.6946, allocations: 3.984 kB / 0.9075 GB, free: 2.25 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005858/0.6952, allocations: 343.1 kB / 0.9078 GB, free: 1.895 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/0.6954, allocations: 12 kB / 0.9078 GB, free: 1.883 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/0.6971, allocations: 115.8 kB / 0.9079 GB, free: 1.77 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.6972, allocations: 44.5 kB / 0.908 GB, free: 1.727 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005653/0.7028, allocations: 1.347 MB / 0.9093 GB, free: 380 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005149/0.708, allocations: 1.672 MB / 0.9109 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001549/0.7096, allocations: 424.2 kB / 0.9113 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001607/0.7112, allocations: 0.9732 MB / 0.9123 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of Backend: time 3.1e-07/0.7112, allocations: 0 / 0.9123 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007232/0.7184, allocations: 2.112 MB / 0.9143 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of SimCode: time 0.006283/0.7247, allocations: 3.472 MB / 0.9177 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of Templates: time 0.3759/1.101, allocations: 44.85 MB / 0.9615 GB, free: 181.7 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)