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.001014/0.001014, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 174.2 kB / 16.58 MB, free: 6.062 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.383/1.383, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7057/0.7057, allocations: 115.5 MB / 407.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.000487, allocations: 8.5 kB / 495.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1422, allocations: 77.54 MB / 0.5593 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.3089/0.4511, allocations: 64.43 MB / 0.6223 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01921/0.4704, allocations: 13.56 MB / 0.6355 GB, free: 3.023 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.4727, allocations: 65.81 kB / 0.6356 GB, free: 2.996 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.4746, allocations: 0.6343 MB / 0.6362 GB, free: 2.457 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00571/0.4803, allocations: 2.014 MB / 0.6381 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004228/0.4846, allocations: 1.403 MB / 0.6395 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006034/0.4906, allocations: 5.059 MB / 0.6445 GB, free: 12.91 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/0.4925, allocations: 1.15 MB / 0.6456 GB, free: 12.2 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002793/0.4953, allocations: 1.376 MB / 0.6469 GB, free: 11.46 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.497, allocations: 1.125 MB / 0.648 GB, free: 10.81 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.4972, allocations: 66.47 kB / 0.6481 GB, free: 10.81 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003402/0.5006, allocations: 1.43 MB / 0.6495 GB, free: 10.11 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003559/0.501, allocations: 308 kB / 0.6498 GB, free: 9.879 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005261/0.5015, allocations: 394.4 kB / 0.6502 GB, free: 9.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003138/0.5047, allocations: 2.582 MB / 0.6527 GB, free: 7.641 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5047, allocations: 0 / 0.6527 GB, free: 7.641 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5047, allocations: 3.938 kB / 0.6527 GB, free: 7.637 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.557e-05/0.5048, allocations: 0 / 0.6527 GB, free: 7.637 MB / 478.1 MB 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.003571/0.5083, allocations: 1.952 MB / 0.6546 GB, free: 5.617 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.5084, allocations: 12.03 kB / 0.6546 GB, free: 5.605 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004632/0.513, allocations: 0.6886 MB / 0.6553 GB, free: 4.914 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002501/0.5155, allocations: 1.525 MB / 0.6568 GB, free: 3.336 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.5157, allocations: 120 kB / 0.6569 GB, free: 3.211 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.5159, allocations: 120 kB / 0.657 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00367/0.5196, allocations: 1.638 MB / 0.6586 GB, free: 1.359 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.5196, allocations: 3.938 kB / 0.6586 GB, free: 1.355 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.5197, allocations: 51.98 kB / 0.6586 GB, free: 1.305 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.125e-05/0.5198, allocations: 36 kB / 0.6587 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004327/0.5241, allocations: 1.464 MB / 0.6601 GB, free: 15.8 MB / 494.1 MB 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.009694/0.5338, allocations: 7.195 MB / 0.6671 GB, free: 8.219 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.536, allocations: 0.8109 MB / 0.6679 GB, free: 7.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.5376, allocations: 0.4988 MB / 0.6684 GB, free: 6.902 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/0.5389, allocations: 1.267 MB / 0.6696 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.5389, allocations: 43.12 kB / 0.6697 GB, free: 5.305 MB / 494.1 MB Notification: Performance of pre-optimization done (n=68): time 2.695e-06/0.5389, allocations: 0.5625 kB / 0.6697 GB, free: 5.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=68): time 0.009128/0.5481, allocations: 2.221 MB / 0.6719 GB, free: 3.059 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.5481, allocations: 111.4 kB / 0.672 GB, free: 2.926 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00208/0.5502, allocations: 1.351 MB / 0.6733 GB, free: 1.562 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.5504, allocations: 45.7 kB / 0.6733 GB, free: 1.512 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006287/0.551, allocations: 0.6881 MB / 0.674 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.5512, allocations: 244.6 kB / 0.6742 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.256e-05/0.5513, allocations: 12 kB / 0.6742 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5515, allocations: 341.9 kB / 0.6746 GB, free: 228 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/0.5532, allocations: 0.4899 MB / 0.675 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/0.5551, allocations: 0.7666 MB / 0.6758 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.5569, allocations: 0.5496 MB / 0.6763 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.5569, allocations: 7.953 kB / 0.6763 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004608/0.5615, allocations: 1.544 MB / 0.6778 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.5617, allocations: 277 kB / 0.6781 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.5618, allocations: 4 kB / 0.6781 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001584/0.5634, allocations: 466.2 kB / 0.6786 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.5647, allocations: 267.5 kB / 0.6788 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.5662, allocations: 1.072 MB / 0.6799 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/0.5683, allocations: 274.8 kB / 0.6801 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.5685, allocations: 55.94 kB / 0.6802 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.5685, allocations: 6.5 kB / 0.6802 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004213/0.5727, allocations: 1.394 MB / 0.6815 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.5727, allocations: 8 kB / 0.6816 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.5742, allocations: 461.2 kB / 0.682 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.5755, allocations: 259.5 kB / 0.6822 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.577, allocations: 1.071 MB / 0.6833 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.5789, allocations: 246.7 kB / 0.6835 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.5791, allocations: 51.95 kB / 0.6836 GB, free: 6.742 MB / 0.4981 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 ($PRE.heaPum.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.0007534/0.5798, allocations: 448.8 kB / 0.684 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003248/0.5802, allocations: 146.3 kB / 0.6841 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003938/0.5841, allocations: 1.317 MB / 0.6854 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.5841, allocations: 8 kB / 0.6854 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.5842, allocations: 0 / 0.6854 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003331/0.5875, allocations: 1.147 MB / 0.6866 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007457/0.595, allocations: 3.43 MB / 0.6899 GB, free: 16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.595, allocations: 7.938 kB / 0.6899 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008638/0.5959, allocations: 155.8 kB / 0.6901 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001437/0.5973, allocations: 445 kB / 0.6905 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.86e-05/0.5974, allocations: 27.97 kB / 0.6905 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.5989, allocations: 1.071 MB / 0.6916 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.5989, allocations: 4 kB / 0.6916 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003747/0.6027, allocations: 1.405 MB / 0.6929 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007655/0.6035, allocations: 383 kB / 0.6933 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/0.6038, allocations: 16 kB / 0.6933 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/0.6055, allocations: 159.8 kB / 0.6935 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.6056, allocations: 56.36 kB / 0.6935 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.6057, allocations: 51.89 kB / 0.6936 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001668/0.6074, allocations: 0.9498 MB / 0.6945 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6074, allocations: 4 kB / 0.6945 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002588/0.61, allocations: 0.8811 MB / 0.6954 GB, free: 10.28 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.001216/0.6112, allocations: 0.5209 MB / 0.6959 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006021/0.6172, allocations: 1.845 MB / 0.6977 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.6173, allocations: 3.781 kB / 0.6977 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001782/0.6191, allocations: 0.5335 MB / 0.6982 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003959/0.623, allocations: 0.7782 MB / 0.699 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005838/0.6289, allocations: 3.006 MB / 0.7019 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008914/0.6298, allocations: 1.211 MB / 0.7031 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001869/0.6317, allocations: 338.8 kB / 0.7034 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000356/0.6321, allocations: 123.3 kB / 0.7035 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of SimCode: time 8.62e-07/0.6321, allocations: 0 / 0.7035 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of Templates: time 0.05627/0.6884, allocations: 35.73 MB / 0.7384 GB, free: 14.53 MB / 0.5606 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)