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.0008575/0.0008577, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.00584/0.00584, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.319/1.319, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001722/0.001722, allocations: 270.9 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9773/0.9773, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004475, allocations: 19.03 kB / 0.5987 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.166, allocations: 88.55 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.06221/0.2283, allocations: 68.2 MB / 0.7517 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3238/0.5522, allocations: 14.46 MB / 0.7659 GB, free: 24.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003217/0.5554, allocations: 64.34 kB / 0.7659 GB, free: 24.01 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002933/0.5584, allocations: 0.753 MB / 0.7666 GB, free: 24.01 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008117/0.5665, allocations: 2.351 MB / 0.7689 GB, free: 23.99 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005036/0.5716, allocations: 1.784 MB / 0.7707 GB, free: 23.94 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008153/0.5797, allocations: 5.866 MB / 0.7764 GB, free: 23.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002955/0.5827, allocations: 1.285 MB / 0.7777 GB, free: 23.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004345/0.5871, allocations: 1.425 MB / 0.7791 GB, free: 23.76 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003095/0.5902, allocations: 1.183 MB / 0.7802 GB, free: 23.62 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006483/0.5909, allocations: 68.03 kB / 0.7803 GB, free: 23.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005527/0.5964, allocations: 1.738 MB / 0.782 GB, free: 23.49 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007851/0.5973, allocations: 336.5 kB / 0.7823 GB, free: 23.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0021/0.5994, allocations: 0.8953 MB / 0.7832 GB, free: 23.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007275/0.6067, allocations: 3.33 MB / 0.7864 GB, free: 22.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6067, allocations: 0 / 0.7864 GB, free: 22.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.275e-06/0.6067, allocations: 0 / 0.7864 GB, free: 22.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.673e-05/0.6068, allocations: 0 / 0.7864 GB, free: 22.7 MB / 0.545 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.005127/0.6119, allocations: 1.955 MB / 0.7883 GB, free: 21.58 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.612, allocations: 7.375 kB / 0.7883 GB, free: 21.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00541/0.6174, allocations: 0.6954 MB / 0.789 GB, free: 21.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003238/0.6207, allocations: 1.555 MB / 0.7905 GB, free: 21.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.6209, allocations: 126.1 kB / 0.7907 GB, free: 20.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003257/0.6212, allocations: 121.1 kB / 0.7908 GB, free: 20.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004208/0.6254, allocations: 1.645 MB / 0.7924 GB, free: 20.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.6255, allocations: 5.094 kB / 0.7924 GB, free: 20.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/0.6256, allocations: 52.41 kB / 0.7924 GB, free: 20.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/0.6257, allocations: 37.5 kB / 0.7925 GB, free: 20.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004639/0.6303, allocations: 1.471 MB / 0.7939 GB, free: 20.65 MB / 0.545 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.009428/0.6398, allocations: 7.199 MB / 0.8009 GB, free: 16.01 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.6421, allocations: 0.8145 MB / 0.8017 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.6438, allocations: 0.5019 MB / 0.8022 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/0.6449, allocations: 1.269 MB / 0.8035 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.6449, allocations: 48.69 kB / 0.8035 GB, free: 13.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=68): time 2.945e-06/0.645, allocations: 0 / 0.8035 GB, free: 13.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=68): time 0.01012/0.6551, allocations: 2.238 MB / 0.8057 GB, free: 12.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.6552, allocations: 115.2 kB / 0.8058 GB, free: 12.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/0.6573, allocations: 1.37 MB / 0.8071 GB, free: 11.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001493/0.6574, allocations: 48.39 kB / 0.8072 GB, free: 11.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004997/0.6579, allocations: 0.6789 MB / 0.8079 GB, free: 11.22 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.6582, allocations: 241.6 kB / 0.8081 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.6583, allocations: 75.11 kB / 0.8082 GB, free: 10.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.883e-05/0.6584, allocations: 340.6 kB / 0.8085 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.6601, allocations: 0.4966 MB / 0.809 GB, free: 10.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/0.662, allocations: 0.7778 MB / 0.8097 GB, free: 9.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003306/0.6653, allocations: 1.145 MB / 0.8108 GB, free: 9.113 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.6653, allocations: 6.281 kB / 0.8108 GB, free: 9.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004813/0.6701, allocations: 1.562 MB / 0.8124 GB, free: 8.344 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.6703, allocations: 274.2 kB / 0.8126 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.6703, allocations: 14.73 kB / 0.8126 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/0.6719, allocations: 455.3 kB / 0.8131 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.6733, allocations: 262.7 kB / 0.8133 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.6746, allocations: 1.074 MB / 0.8144 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/0.6772, allocations: 271.1 kB / 0.8146 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.6773, allocations: 52.36 kB / 0.8147 GB, free: 6.762 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.6774, allocations: 4.688 kB / 0.8147 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004257/0.6816, allocations: 1.403 MB / 0.8161 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.6817, allocations: 7 kB / 0.8161 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.6831, allocations: 464.8 kB / 0.8165 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.6844, allocations: 255.8 kB / 0.8168 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.6857, allocations: 1.077 MB / 0.8178 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.6879, allocations: 241 kB / 0.818 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.734e-05/0.688, allocations: 53.94 kB / 0.8181 GB, free: 4.859 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.0008194/0.6888, allocations: 451.6 kB / 0.8185 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.6891, allocations: 146.3 kB / 0.8187 GB, free: 4.434 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003821/0.6929, allocations: 1.321 MB / 0.82 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.693, allocations: 5.219 kB / 0.82 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.693, allocations: 4 kB / 0.82 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0033/0.6963, allocations: 1.144 MB / 0.8211 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007327/0.7036, allocations: 3.445 MB / 0.8244 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.7037, allocations: 11.31 kB / 0.8245 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009528/0.7046, allocations: 155 kB / 0.8246 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001509/0.7062, allocations: 441.5 kB / 0.825 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.426e-05/0.7062, allocations: 28.28 kB / 0.825 GB, free: 264 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.7078, allocations: 1.072 MB / 0.8261 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.7078, allocations: 5.812 kB / 0.8261 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004199/0.712, allocations: 1.409 MB / 0.8275 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/0.7134, allocations: 383 kB / 0.8278 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003379/0.7138, allocations: 19.94 kB / 0.8279 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001814/0.7156, allocations: 159.9 kB / 0.828 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.7157, allocations: 64.23 kB / 0.8281 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.002e-05/0.7158, allocations: 43.94 kB / 0.8281 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00167/0.7175, allocations: 0.9654 MB / 0.8291 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7175, allocations: 0 / 0.8291 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002657/0.7202, allocations: 0.8811 MB / 0.8299 GB, free: 11.91 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.001288/0.7215, allocations: 0.54 MB / 0.8304 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006491/0.728, allocations: 1.85 MB / 0.8323 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.728, allocations: 3.781 kB / 0.8323 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001921/0.7299, allocations: 0.5411 MB / 0.8328 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005104/0.735, allocations: 0.8095 MB / 0.8336 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005794/0.7409, allocations: 3.13 MB / 0.8366 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007771/0.7417, allocations: 1.208 MB / 0.8378 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001888/0.7436, allocations: 338.5 kB / 0.8381 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000361/0.7439, allocations: 123.3 kB / 0.8383 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/0.7439, allocations: 4 kB / 0.8383 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of Templates: time 0.06068/0.8046, allocations: 37.67 MB / 0.875 GB, free: 14.27 MB / 0.6075 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)