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.0008059/0.0008059, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.005609/0.005609, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.406/1.406, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.695/1.695, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0005367/0.0005369, allocations: 14.69 kB / 0.6743 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2332, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.06591/0.2991, allocations: 68.23 MB / 0.8545 GB, free: 7.094 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02183/0.321, allocations: 14.38 MB / 0.8685 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002982/0.324, allocations: 59.62 kB / 0.8686 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002801/0.3268, allocations: 0.7498 MB / 0.8693 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008404/0.3353, allocations: 2.332 MB / 0.8716 GB, free: 5.527 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005839/0.3411, allocations: 1.795 MB / 0.8734 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007836/0.349, allocations: 5.833 MB / 0.8791 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00224/0.3512, allocations: 1.277 MB / 0.8803 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00326/0.3545, allocations: 1.419 MB / 0.8817 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/0.3566, allocations: 1.194 MB / 0.8829 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002096/0.3568, allocations: 72 kB / 0.8829 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004043/0.3609, allocations: 1.727 MB / 0.8846 GB, free: 8.164 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004053/0.3613, allocations: 326.5 kB / 0.8849 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.3625, allocations: 0.8956 MB / 0.8858 GB, free: 6.938 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004713/0.3672, allocations: 3.334 MB / 0.8891 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3672, allocations: 0 / 0.8891 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3672, allocations: 4 kB / 0.8891 GB, free: 3.59 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.134e-05/0.3673, allocations: 0 / 0.8891 GB, free: 3.59 MB / 0.7012 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.003812/0.3711, allocations: 1.94 MB / 0.8909 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/0.3712, allocations: 12.03 kB / 0.891 GB, free: 1.57 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004918/0.3761, allocations: 0.6892 MB / 0.8916 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.3786, allocations: 1.541 MB / 0.8931 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.3787, allocations: 128 kB / 0.8933 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.3789, allocations: 116 kB / 0.8934 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003733/0.3827, allocations: 1.649 MB / 0.895 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.3827, allocations: 3.938 kB / 0.895 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.3829, allocations: 59.94 kB / 0.895 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.826e-05/0.3829, allocations: 28 kB / 0.8951 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004417/0.3874, allocations: 1.476 MB / 0.8965 GB, free: 11.71 MB / 0.7169 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.0102/0.3976, allocations: 7.202 MB / 0.9035 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.3998, allocations: 0.8122 MB / 0.9043 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.4015, allocations: 0.4949 MB / 0.9048 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/0.4027, allocations: 1.274 MB / 0.9061 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.4028, allocations: 47.62 kB / 0.9061 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=68): time 2.555e-06/0.4028, allocations: 0 / 0.9061 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=68): time 0.01001/0.4128, allocations: 2.248 MB / 0.9083 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.4129, allocations: 107.4 kB / 0.9084 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002446/0.4154, allocations: 1.366 MB / 0.9097 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.4155, allocations: 45.7 kB / 0.9098 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006077/0.4162, allocations: 0.6763 MB / 0.9104 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.4164, allocations: 244.5 kB / 0.9107 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.4165, allocations: 73.67 kB / 0.9108 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4167, allocations: 345.9 kB / 0.9111 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.4185, allocations: 0.4977 MB / 0.9116 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/0.4205, allocations: 0.7745 MB / 0.9123 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003443/0.424, allocations: 1.144 MB / 0.9134 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.424, allocations: 0 / 0.9134 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004848/0.4289, allocations: 1.566 MB / 0.915 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001987/0.4291, allocations: 280.4 kB / 0.9152 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.4291, allocations: 4 kB / 0.9152 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/0.4307, allocations: 460.5 kB / 0.9157 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.432, allocations: 255.6 kB / 0.9159 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.4335, allocations: 1.075 MB / 0.917 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/0.4358, allocations: 274 kB / 0.9172 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.4359, allocations: 55.94 kB / 0.9173 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.547e-06/0.4359, allocations: 11.94 kB / 0.9173 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004377/0.4403, allocations: 1.402 MB / 0.9187 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4403, allocations: 4 kB / 0.9187 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/0.4417, allocations: 461.4 kB / 0.9191 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.443, allocations: 255.6 kB / 0.9194 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.4445, allocations: 1.083 MB / 0.9204 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/0.4466, allocations: 246.9 kB / 0.9206 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.4467, allocations: 51.95 kB / 0.9207 GB, free: 1.816 MB / 0.7325 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.0007935/0.4475, allocations: 445.5 kB / 0.9211 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/0.4477, allocations: 146.2 kB / 0.9213 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4108/0.8585, allocations: 1.319 MB / 0.9226 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.965e-05/0.8586, allocations: 11.12 kB / 0.9226 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.8586, allocations: 1.422 kB / 0.9226 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005695/0.8643, allocations: 1.135 MB / 0.9237 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/0.8767, allocations: 3.427 MB / 0.927 GB, free: 131.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/0.8768, allocations: 3.562 kB / 0.927 GB, free: 131.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/0.8782, allocations: 159.3 kB / 0.9272 GB, free: 131.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002553/0.8808, allocations: 449.1 kB / 0.9276 GB, free: 131.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/0.8809, allocations: 31.05 kB / 0.9276 GB, free: 131.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/0.8831, allocations: 1.062 MB / 0.9287 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/0.8832, allocations: 12.28 kB / 0.9287 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006028/0.8892, allocations: 1.409 MB / 0.9301 GB, free: 130.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/0.8905, allocations: 390.2 kB / 0.9304 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003635/0.8909, allocations: 14.77 kB / 0.9304 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/0.8934, allocations: 154.6 kB / 0.9306 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.8937, allocations: 58.11 kB / 0.9306 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/0.8938, allocations: 45.03 kB / 0.9307 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00247/0.8963, allocations: 0.9638 MB / 0.9316 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.555e-06/0.8964, allocations: 0 / 0.9316 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003904/0.9003, allocations: 0.8888 MB / 0.9325 GB, free: 129.6 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 (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.001695/0.902, allocations: 0.5439 MB / 0.933 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008818/0.9108, allocations: 1.85 MB / 0.9348 GB, free: 129 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/0.9109, allocations: 2.594 kB / 0.9348 GB, free: 129 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002593/0.9135, allocations: 0.5366 MB / 0.9354 GB, free: 128.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007205/0.9207, allocations: 0.8178 MB / 0.9362 GB, free: 128.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008667/0.9294, allocations: 3.116 MB / 0.9392 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/0.9308, allocations: 1.206 MB / 0.9404 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003195/0.9341, allocations: 349.4 kB / 0.9407 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006027/0.9347, allocations: 123.4 kB / 0.9408 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of SimCode: time 8.32e-07/0.9347, allocations: 0 / 0.9408 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.08367/1.018, allocations: 37.87 MB / 0.9778 GB, free: 103.5 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: