Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001235/0.001235, allocations: 103.7 kB / 16.36 MB, free: 6.305 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.001191/0.001191, allocations: 188 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 292.3 MB / 0.5496 GB, free: 17.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 63.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2627, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.5166/0.7793, allocations: 69.91 MB / 0.853 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02711/0.8065, allocations: 14.38 MB / 0.8671 GB, free: 8.16 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004012/0.8106, allocations: 67.88 kB / 0.8671 GB, free: 8.137 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003319/0.8139, allocations: 0.9162 MB / 0.868 GB, free: 7.57 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01036/0.8243, allocations: 2.53 MB / 0.8705 GB, free: 6.055 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006734/0.8311, allocations: 1.981 MB / 0.8724 GB, free: 4.953 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009298/0.8404, allocations: 4.583 MB / 0.8769 GB, free: 2.469 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003153/0.8436, allocations: 1.606 MB / 0.8785 GB, free: 1.473 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005512/0.8491, allocations: 1.777 MB / 0.8802 GB, free: 408 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002913/0.8521, allocations: 1.273 MB / 0.8815 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000482/0.8526, allocations: 193.6 kB / 0.8817 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0063/0.8589, allocations: 1.976 MB / 0.8836 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006659/0.8596, allocations: 456.6 kB / 0.884 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.8614, allocations: 1.019 MB / 0.885 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007263/0.8687, allocations: 3.491 MB / 0.8884 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.8687, allocations: 0 / 0.8884 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.855e-06/0.8687, allocations: 0 / 0.8884 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.227e-05/0.8688, allocations: 1.312 kB / 0.8884 GB, free: 11.17 MB / 0.6856 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.004907/0.8737, allocations: 2.301 MB / 0.8907 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.8737, allocations: 9.062 kB / 0.8907 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004997/0.8787, allocations: 0.6547 MB / 0.8913 GB, free: 9.148 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003047/0.8818, allocations: 1.554 MB / 0.8928 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.8819, allocations: 124.4 kB / 0.893 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.8821, allocations: 119.5 kB / 0.8931 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003968/0.8861, allocations: 1.615 MB / 0.8946 GB, free: 6.727 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.8862, allocations: 5.375 kB / 0.8947 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.8863, allocations: 61.39 kB / 0.8947 GB, free: 6.676 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.373e-05/0.8864, allocations: 35.06 kB / 0.8947 GB, free: 6.672 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004691/0.8911, allocations: 1.422 MB / 0.8961 GB, free: 5.945 MB / 0.6856 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.01303/0.9041, allocations: 7.162 MB / 0.9031 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.9066, allocations: 0.7904 MB / 0.9039 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/0.9082, allocations: 487.4 kB / 0.9044 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/0.9097, allocations: 1.276 MB / 0.9056 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.47e-05/0.9097, allocations: 44.66 kB / 0.9057 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=68): time 3.387e-06/0.9097, allocations: 0 / 0.9057 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of matching and sorting (n=68): time 0.009886/0.9196, allocations: 2.11 MB / 0.9077 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.9197, allocations: 107.9 kB / 0.9078 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/0.9219, allocations: 1.374 MB / 0.9092 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.9221, allocations: 49.64 kB / 0.9092 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006704/0.9228, allocations: 0.688 MB / 0.9099 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/0.923, allocations: 228.7 kB / 0.9101 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003752/0.9234, allocations: 234.3 kB / 0.9103 GB, free: 8.895 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.9236, allocations: 338.6 kB / 0.9106 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.9254, allocations: 484.5 kB / 0.9111 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/0.9274, allocations: 0.7441 MB / 0.9118 GB, free: 7.227 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003394/0.9308, allocations: 1.101 MB / 0.9129 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.9309, allocations: 1.562 kB / 0.9129 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005017/0.9359, allocations: 1.503 MB / 0.9144 GB, free: 4.523 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.9359, allocations: 8 kB / 0.9144 GB, free: 4.516 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.9359, allocations: 8.656 kB / 0.9144 GB, free: 4.508 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/0.9375, allocations: 446.6 kB / 0.9148 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.9389, allocations: 247.6 kB / 0.9151 GB, free: 3.832 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.9404, allocations: 1.058 MB / 0.9161 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/0.943, allocations: 216.7 kB / 0.9163 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.9431, allocations: 70.62 kB / 0.9164 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002415/0.9455, allocations: 0.7673 MB / 0.9171 GB, free: 1.699 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001991/0.9475, allocations: 0.7399 MB / 0.9178 GB, free: 0.8516 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00331/0.9508, allocations: 1.086 MB / 0.9189 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.518e-06/0.9509, allocations: 0 / 0.9189 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004916/0.9558, allocations: 1.502 MB / 0.9204 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.9558, allocations: 8 kB / 0.9204 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.9558, allocations: 8 kB / 0.9204 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/0.9573, allocations: 454.1 kB / 0.9208 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.9586, allocations: 239.6 kB / 0.921 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.9602, allocations: 1.079 MB / 0.9221 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/0.9625, allocations: 183.2 kB / 0.9223 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.9627, allocations: 56.12 kB / 0.9223 GB, free: 12.13 MB / 0.7169 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.0004435/0.9631, allocations: 232.1 kB / 0.9225 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003851/0.9635, allocations: 154.1 kB / 0.9227 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004103/0.9676, allocations: 1.273 MB / 0.9239 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/0.9676, allocations: 8 kB / 0.9239 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.9677, allocations: 0 / 0.9239 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00331/0.971, allocations: 1.084 MB / 0.925 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007733/0.9787, allocations: 3.383 MB / 0.9283 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.457e-06/0.9788, allocations: 4 kB / 0.9283 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008944/0.9797, allocations: 144 kB / 0.9284 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/0.9812, allocations: 438.6 kB / 0.9289 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.656e-05/0.9812, allocations: 35.03 kB / 0.9289 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.9827, allocations: 1.049 MB / 0.9299 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/0.9827, allocations: 11.94 kB / 0.9299 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004029/0.9868, allocations: 1.346 MB / 0.9312 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008856/0.9877, allocations: 347.1 kB / 0.9316 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/0.9879, allocations: 23.98 kB / 0.9316 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/0.9895, allocations: 119.7 kB / 0.9317 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.9896, allocations: 52.25 kB / 0.9318 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.655e-05/0.9897, allocations: 51.94 kB / 0.9318 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001611/0.9913, allocations: 0.973 MB / 0.9328 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9914, allocations: 0 / 0.9328 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002818/0.9942, allocations: 0.8928 MB / 0.9336 GB, free: 176 kB / 0.7169 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.001476/0.9957, allocations: 0.5496 MB / 0.9342 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006297/1.002, allocations: 1.791 MB / 0.9359 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.002, allocations: 0 / 0.9359 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001795/1.004, allocations: 0.5178 MB / 0.9364 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004706/1.009, allocations: 0.8326 MB / 0.9372 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005493/1.014, allocations: 2.553 MB / 0.9397 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007653/1.015, allocations: 1.199 MB / 0.9409 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004825/1.015, allocations: 151.2 kB / 0.941 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of SimCode: time 1.012e-06/1.015, allocations: 0 / 0.941 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of Templates: time 0.05086/1.066, allocations: 35.86 MB / 0.9761 GB, free: 4.969 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)