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.001379/0.001379, allocations: 109.5 kB / 16.42 MB, free: 6.496 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.001631/0.001631, allocations: 189.5 kB / 17.35 MB, free: 5.73 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.343/1.343, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002135/0.002135, allocations: 291 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9501/0.9501, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 95.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4099, allocations: 86.98 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.07039/0.4803, allocations: 69.9 MB / 0.8353 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02067/0.501, allocations: 14.47 MB / 0.8494 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002422/0.5035, allocations: 75.56 kB / 0.8495 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002646/0.5061, allocations: 0.9512 MB / 0.8504 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007242/0.5134, allocations: 2.676 MB / 0.8531 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005455/0.5189, allocations: 1.991 MB / 0.855 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006239/0.5251, allocations: 4.631 MB / 0.8595 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002452/0.5276, allocations: 1.606 MB / 0.8611 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00391/0.5315, allocations: 1.812 MB / 0.8629 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002245/0.5338, allocations: 1.276 MB / 0.8641 GB, free: 204 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005353/0.5343, allocations: 196 kB / 0.8643 GB, free: 8 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004451/0.5388, allocations: 1.97 MB / 0.8662 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.5398, allocations: 470.5 kB / 0.8667 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002469/0.5423, allocations: 1.015 MB / 0.8677 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005886/0.5482, allocations: 3.501 MB / 0.8711 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.5482, allocations: 3.984 kB / 0.8711 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5482, allocations: 0 / 0.8711 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.875e-05/0.5483, allocations: 0 / 0.8711 GB, free: 9.043 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.004562/0.5529, allocations: 2.294 MB / 0.8733 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.5529, allocations: 12.03 kB / 0.8733 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005203/0.5581, allocations: 0.6504 MB / 0.874 GB, free: 6.016 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002817/0.561, allocations: 1.58 MB / 0.8755 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.5611, allocations: 124 kB / 0.8756 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.5613, allocations: 120 kB / 0.8757 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003953/0.5653, allocations: 1.614 MB / 0.8773 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/0.5654, allocations: 0 / 0.8773 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/0.5655, allocations: 56 kB / 0.8774 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.421e-05/0.5656, allocations: 39.92 kB / 0.8774 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004609/0.5702, allocations: 1.421 MB / 0.8788 GB, free: 0.8984 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.01003/0.5802, allocations: 7.16 MB / 0.8858 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00232/0.5826, allocations: 0.7931 MB / 0.8866 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.5842, allocations: 486.8 kB / 0.887 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001308/0.5855, allocations: 1.271 MB / 0.8883 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.5856, allocations: 39.12 kB / 0.8883 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=68): time 2.805e-06/0.5856, allocations: 0 / 0.8883 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68): time 0.01018/0.5958, allocations: 2.111 MB / 0.8904 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.5958, allocations: 111.4 kB / 0.8905 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002422/0.5983, allocations: 1.383 MB / 0.8918 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.5985, allocations: 49.64 kB / 0.8919 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000626/0.5991, allocations: 0.6803 MB / 0.8925 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.5994, allocations: 236.6 kB / 0.8928 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00038/0.5998, allocations: 226.3 kB / 0.893 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.5999, allocations: 337.9 kB / 0.8933 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/0.6018, allocations: 492.5 kB / 0.8938 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002125/0.6039, allocations: 0.7433 MB / 0.8945 GB, free: 15.95 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003775/0.6077, allocations: 1.098 MB / 0.8956 GB, free: 14.76 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.6078, allocations: 4 kB / 0.8956 GB, free: 14.75 MB / 0.67 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005327/0.6131, allocations: 1.496 MB / 0.897 GB, free: 13.25 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.6131, allocations: 11.94 kB / 0.897 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.6132, allocations: 8 kB / 0.8971 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001686/0.6148, allocations: 456 kB / 0.8975 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.6163, allocations: 243.6 kB / 0.8977 GB, free: 12.55 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/0.618, allocations: 1.06 MB / 0.8988 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/0.6202, allocations: 214.7 kB / 0.899 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.6204, allocations: 51.95 kB / 0.899 GB, free: 11.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00248/0.6229, allocations: 0.7736 MB / 0.8998 GB, free: 10.43 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00216/0.6251, allocations: 0.7392 MB / 0.9005 GB, free: 9.574 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00359/0.6287, allocations: 1.09 MB / 0.9016 GB, free: 8.402 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.133e-06/0.6287, allocations: 7.938 kB / 0.9016 GB, free: 8.395 MB / 0.67 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.005109/0.6338, allocations: 1.495 MB / 0.903 GB, free: 6.887 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.6338, allocations: 8 kB / 0.903 GB, free: 6.879 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.6338, allocations: 8 kB / 0.903 GB, free: 6.871 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/0.6354, allocations: 454.5 kB / 0.9035 GB, free: 6.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.6368, allocations: 247.6 kB / 0.9037 GB, free: 6.188 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.6384, allocations: 1.06 MB / 0.9047 GB, free: 5.102 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.6406, allocations: 179.2 kB / 0.9049 GB, free: 4.926 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.6407, allocations: 55.95 kB / 0.905 GB, free: 4.871 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.0003509/0.6411, allocations: 240.1 kB / 0.9052 GB, free: 4.629 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004478/0.6415, allocations: 146.2 kB / 0.9053 GB, free: 4.484 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004249/0.6458, allocations: 1.281 MB / 0.9066 GB, free: 3.191 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003635/0.6494, allocations: 1.088 MB / 0.9076 GB, free: 2.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6495, allocations: 0 / 0.9076 GB, free: 2.07 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008781/0.6503, allocations: 339.1 kB / 0.908 GB, free: 1.719 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003419/0.6507, allocations: 15.92 kB / 0.908 GB, free: 1.703 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/0.6523, allocations: 111.9 kB / 0.9081 GB, free: 1.594 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.6525, allocations: 44.5 kB / 0.9081 GB, free: 1.551 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005775/0.6582, allocations: 1.352 MB / 0.9095 GB, free: 196 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005401/0.6637, allocations: 1.675 MB / 0.9111 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001547/0.6652, allocations: 420.3 kB / 0.9115 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001799/0.667, allocations: 0.9732 MB / 0.9124 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of Backend: time 4.91e-07/0.6671, allocations: 0 / 0.9124 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007417/0.6745, allocations: 2.106 MB / 0.9145 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of SimCode: time 0.006517/0.681, allocations: 3.472 MB / 0.9179 GB, free: 7.508 MB / 0.6856 GB Notification: Performance of Templates: time 0.3689/1.05, allocations: 44.86 MB / 0.9617 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)