Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 98.09 kB / 16.26 MB, free: 6.418 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.00112/0.00112, allocations: 188.7 kB / 17.2 MB, free: 5.953 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.445/1.445, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.76/1.76, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.001404/0.001404, allocations: 67.89 kB / 0.6722 GB, free: 6.527 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.226, allocations: 114.5 MB / 0.784 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.4827/0.7088, allocations: 69.93 MB / 0.8523 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02277/0.7316, allocations: 14.3 MB / 0.8663 GB, free: 8.57 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00405/0.7356, allocations: 72.31 kB / 0.8663 GB, free: 8.543 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003603/0.7393, allocations: 0.9118 MB / 0.8672 GB, free: 7.98 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00922/0.7486, allocations: 2.521 MB / 0.8697 GB, free: 6.469 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006323/0.7549, allocations: 1.974 MB / 0.8716 GB, free: 5.375 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008048/0.763, allocations: 4.583 MB / 0.8761 GB, free: 2.992 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003505/0.7665, allocations: 1.61 MB / 0.8777 GB, free: 1.977 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005268/0.7718, allocations: 1.771 MB / 0.8794 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003065/0.7749, allocations: 1.268 MB / 0.8806 GB, free: 132 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0009015/0.7758, allocations: 197.8 kB / 0.8808 GB, free: 132 kB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006208/0.7821, allocations: 1.91 MB / 0.8827 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.7832, allocations: 469.4 kB / 0.8831 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003027/0.7862, allocations: 1.021 MB / 0.8841 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008077/0.7943, allocations: 3.487 MB / 0.8875 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.7944, allocations: 0 / 0.8875 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.155e-06/0.7944, allocations: 0 / 0.8875 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.728e-05/0.7944, allocations: 0 / 0.8875 GB, free: 11.73 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005583/0.8, allocations: 2.319 MB / 0.8898 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.8001, allocations: 10.19 kB / 0.8898 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005928/0.806, allocations: 0.6993 MB / 0.8905 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00361/0.8097, allocations: 1.507 MB / 0.892 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.8099, allocations: 128 kB / 0.8921 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/0.8102, allocations: 117.2 kB / 0.8922 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004454/0.8146, allocations: 1.658 MB / 0.8938 GB, free: 7.25 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.8147, allocations: 5.531 kB / 0.8938 GB, free: 7.246 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/0.8149, allocations: 58.09 kB / 0.8939 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-05/0.8149, allocations: 36.38 kB / 0.8939 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004903/0.8198, allocations: 1.478 MB / 0.8954 GB, free: 6.449 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.01149/0.8313, allocations: 7.31 MB / 0.9025 GB, free: 84 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002515/0.8339, allocations: 0.8241 MB / 0.9033 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/0.8356, allocations: 0.5054 MB / 0.9038 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001273/0.8369, allocations: 1.266 MB / 0.905 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.446e-05/0.837, allocations: 47.44 kB / 0.9051 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 3.848e-06/0.837, allocations: 4 kB / 0.9051 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.02832/0.8653, allocations: 4.147 MB / 0.9091 GB, free: 9.883 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.8654, allocations: 111.4 kB / 0.9092 GB, free: 9.75 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/0.8677, allocations: 1.378 MB / 0.9106 GB, free: 8.359 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001841/0.8679, allocations: 42.83 kB / 0.9106 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000582/0.8685, allocations: 0.6725 MB / 0.9113 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000263/0.8688, allocations: 252.4 kB / 0.9115 GB, free: 7.383 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003673/0.8692, allocations: 230.3 kB / 0.9117 GB, free: 7.152 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.8693, allocations: 338 kB / 0.9121 GB, free: 6.816 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00191/0.8712, allocations: 0.5083 MB / 0.9126 GB, free: 6.305 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/0.8734, allocations: 0.7706 MB / 0.9133 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003607/0.877, allocations: 1.138 MB / 0.9144 GB, free: 4.195 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.877, allocations: 4 kB / 0.9144 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005289/0.8823, allocations: 1.589 MB / 0.916 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.8824, allocations: 15.97 kB / 0.916 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.8824, allocations: 11.94 kB / 0.916 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00196/0.8843, allocations: 0.5622 MB / 0.9166 GB, free: 2.004 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.8857, allocations: 239.6 kB / 0.9168 GB, free: 1.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.8877, allocations: 1.172 MB / 0.9179 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002637/0.8903, allocations: 222.6 kB / 0.9181 GB, free: 364 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.8905, allocations: 55.94 kB / 0.9182 GB, free: 308 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002551/0.8931, allocations: 0.8063 MB / 0.919 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002086/0.8952, allocations: 0.7638 MB / 0.9197 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00352/0.8987, allocations: 1.141 MB / 0.9208 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.65e-06/0.8987, allocations: 5.578 kB / 0.9209 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.005261/0.904, allocations: 1.575 MB / 0.9224 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.904, allocations: 4.562 kB / 0.9224 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.904, allocations: 12 kB / 0.9224 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00182/0.9059, allocations: 0.5689 MB / 0.923 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.9072, allocations: 239.6 kB / 0.9232 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.9092, allocations: 1.166 MB / 0.9243 GB, free: 9.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/0.912, allocations: 201 kB / 0.9245 GB, free: 9.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.9121, allocations: 51.95 kB / 0.9246 GB, free: 9.543 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,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0005563/0.9127, allocations: 240 kB / 0.9248 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004967/0.9132, allocations: 146.2 kB / 0.9249 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004516/0.9177, allocations: 1.358 MB / 0.9263 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.9178, allocations: 8 kB / 0.9263 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.9178, allocations: 4 kB / 0.9263 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003668/0.9214, allocations: 1.172 MB / 0.9274 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008262/0.9297, allocations: 3.473 MB / 0.9308 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.9298, allocations: 4 kB / 0.9308 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008574/0.9306, allocations: 144.3 kB / 0.931 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00184/0.9325, allocations: 0.5555 MB / 0.9315 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-05/0.9326, allocations: 23.97 kB / 0.9315 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.9344, allocations: 1.159 MB / 0.9326 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.9345, allocations: 4 kB / 0.9327 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004549/0.939, allocations: 1.453 MB / 0.9341 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009087/0.9399, allocations: 351.1 kB / 0.9344 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002628/0.9402, allocations: 20 kB / 0.9344 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/0.9419, allocations: 119.8 kB / 0.9345 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.942, allocations: 56.31 kB / 0.9346 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.454e-05/0.9421, allocations: 47.94 kB / 0.9346 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001575/0.9437, allocations: 0.9769 MB / 0.9356 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9437, allocations: 0 / 0.9356 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002654/0.9464, allocations: 0.9044 MB / 0.9365 GB, free: 12.97 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,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001344/0.9478, allocations: 0.5525 MB / 0.937 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006765/0.9545, allocations: 1.886 MB / 0.9389 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.9546, allocations: 0 / 0.9389 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001969/0.9566, allocations: 0.5418 MB / 0.9394 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004237/0.9608, allocations: 0.8371 MB / 0.9402 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006343/0.9672, allocations: 2.692 MB / 0.9428 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007562/0.968, allocations: 1.211 MB / 0.944 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00048/0.9685, allocations: 143.3 kB / 0.9442 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of SimCode: time 1.022e-06/0.9685, allocations: 0 / 0.9442 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.04572/1.014, allocations: 36.04 MB / 0.9793 GB, free: 1.316 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)