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.0009655/0.0009655, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00102/0.00102, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.254/1.254, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.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.589/1.589, allocations: 292.5 MB / 0.5497 GB, free: 14.67 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.0004911/0.0004913, allocations: 17.69 kB / 0.6735 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2698, allocations: 116.3 MB / 0.7871 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.05727/0.3271, allocations: 58.52 MB / 0.8443 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0171/0.3443, allocations: 12.13 MB / 0.8561 GB, free: 5.215 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002097/0.3464, allocations: 59.56 kB / 0.8562 GB, free: 5.156 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002332/0.3487, allocations: 0.7812 MB / 0.8569 GB, free: 4.371 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005935/0.3547, allocations: 2.177 MB / 0.859 GB, free: 2.188 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004905/0.3596, allocations: 1.907 MB / 0.8609 GB, free: 320 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004607/0.3642, allocations: 2.626 MB / 0.8635 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.3658, allocations: 1.16 MB / 0.8646 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002112/0.3679, allocations: 1.257 MB / 0.8658 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009719/0.3689, allocations: 0.8088 MB / 0.8666 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.3691, allocations: 68 kB / 0.8667 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002677/0.3717, allocations: 1.17 MB / 0.8678 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003215/0.3721, allocations: 302.8 kB / 0.8681 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003628/0.3724, allocations: 392.8 kB / 0.8685 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.3749, allocations: 2.424 MB / 0.8709 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.3749, allocations: 0 / 0.8709 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.293e-06/0.375, allocations: 4 kB / 0.8709 GB, free: 6.059 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.966e-05/0.375, allocations: 0 / 0.8709 GB, free: 6.059 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.003221/0.3782, allocations: 1.912 MB / 0.8727 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3782, allocations: 12.03 kB / 0.8727 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004508/0.3828, allocations: 0.6886 MB / 0.8734 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.385, allocations: 1.429 MB / 0.8748 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.3851, allocations: 132 kB / 0.8749 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.3853, allocations: 116 kB / 0.8751 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003523/0.3888, allocations: 1.623 MB / 0.8766 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.3889, allocations: 11.94 kB / 0.8766 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.389, allocations: 52 kB / 0.8767 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.056e-05/0.3891, allocations: 32 kB / 0.8767 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004291/0.3934, allocations: 1.46 MB / 0.8782 GB, free: 14.36 MB / 0.7012 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.009508/0.4029, allocations: 7.238 MB / 0.8852 GB, free: 6.742 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002107/0.405, allocations: 0.8104 MB / 0.886 GB, free: 5.926 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/0.4063, allocations: 1.271 MB / 0.8873 GB, free: 4.379 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.4064, allocations: 43.12 kB / 0.8873 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=68): time 2.455e-06/0.4064, allocations: 0 / 0.8873 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of matching and sorting (n=68): time 0.009068/0.4154, allocations: 2.218 MB / 0.8895 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/0.4155, allocations: 115.4 kB / 0.8896 GB, free: 1.941 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00197/0.4175, allocations: 1.398 MB / 0.8909 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.4176, allocations: 41.7 kB / 0.891 GB, free: 496 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005998/0.4182, allocations: 0.6805 MB / 0.8916 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.4185, allocations: 248.5 kB / 0.8919 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.4185, allocations: 12 kB / 0.8919 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4187, allocations: 338 kB / 0.8922 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.4204, allocations: 0.4938 MB / 0.8927 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.4223, allocations: 0.7705 MB / 0.8934 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.4241, allocations: 0.5457 MB / 0.894 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.4241, allocations: 0 / 0.894 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004324/0.4284, allocations: 1.558 MB / 0.8955 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008215/0.4293, allocations: 2.488 MB / 0.8979 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.4293, allocations: 8 kB / 0.8979 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001487/0.4308, allocations: 456.5 kB / 0.8984 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.432, allocations: 259.5 kB / 0.8986 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.4335, allocations: 1.071 MB / 0.8997 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/0.4356, allocations: 286.5 kB / 0.8999 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.4357, allocations: 51.95 kB / 0.9 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.4357, allocations: 6.656 kB / 0.9 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004105/0.4398, allocations: 1.394 MB / 0.9014 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.4399, allocations: 8 kB / 0.9014 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/0.4412, allocations: 460 kB / 0.9018 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.4425, allocations: 259.5 kB / 0.9021 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.4438, allocations: 1.083 MB / 0.9031 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.4457, allocations: 246.8 kB / 0.9033 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.974e-05/0.4458, allocations: 55.95 kB / 0.9034 GB, free: 3.414 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 ($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.0007057/0.4465, allocations: 456.8 kB / 0.9038 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/0.4467, allocations: 138.3 kB / 0.904 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/0.4505, allocations: 1.314 MB / 0.9052 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.4505, allocations: 4 kB / 0.9053 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4505, allocations: 0 / 0.9053 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00319/0.4537, allocations: 1.135 MB / 0.9064 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006977/0.4607, allocations: 3.449 MB / 0.9097 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.4607, allocations: 8 kB / 0.9097 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008667/0.4616, allocations: 155.9 kB / 0.9099 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/0.463, allocations: 458.8 kB / 0.9103 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.495e-05/0.463, allocations: 27.97 kB / 0.9104 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.4644, allocations: 1.064 MB / 0.9114 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4644, allocations: 8 kB / 0.9114 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003718/0.4681, allocations: 1.629 MB / 0.913 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006686/0.4688, allocations: 402.9 kB / 0.9134 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/0.469, allocations: 16 kB / 0.9134 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/0.4705, allocations: 159.7 kB / 0.9135 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.4707, allocations: 52.31 kB / 0.9136 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.149e-05/0.4707, allocations: 55.89 kB / 0.9136 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001421/0.4722, allocations: 0.9924 MB / 0.9146 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4722, allocations: 0 / 0.9146 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002223/0.4744, allocations: 0.8889 MB / 0.9155 GB, free: 6.539 MB / 0.7325 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.001004/0.4754, allocations: 0.5465 MB / 0.916 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005701/0.4811, allocations: 1.842 MB / 0.9178 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/0.4812, allocations: 4 kB / 0.9178 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00165/0.4828, allocations: 0.5335 MB / 0.9183 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003161/0.486, allocations: 0.7685 MB / 0.9191 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3448/0.8308, allocations: 2.991 MB / 0.922 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000864/0.8317, allocations: 1.238 MB / 0.9232 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001843/0.8335, allocations: 342.4 kB / 0.9235 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.8339, allocations: 119.5 kB / 0.9237 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.343e-06/0.8339, allocations: 1.062 kB / 0.9237 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.05724/0.8911, allocations: 36.64 MB / 0.9594 GB, free: 117.2 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: