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.001677/0.001677, allocations: 107.8 kB / 16.37 MB, free: 6.309 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.001904/0.001904, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.318/1.318, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.805/1.805, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001576/0.001576, allocations: 72.31 kB / 0.6729 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2352, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.4133/0.6485, allocations: 69.92 MB / 0.8531 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02107/0.6696, allocations: 14.29 MB / 0.867 GB, free: 8.332 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005217/0.6748, allocations: 70.97 kB / 0.8671 GB, free: 8.305 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003603/0.6785, allocations: 0.9162 MB / 0.868 GB, free: 7.738 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007955/0.6865, allocations: 2.528 MB / 0.8705 GB, free: 6.223 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005475/0.692, allocations: 1.987 MB / 0.8724 GB, free: 5.117 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006373/0.6984, allocations: 4.589 MB / 0.8769 GB, free: 2.613 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002586/0.701, allocations: 1.611 MB / 0.8785 GB, free: 1.617 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004252/0.7052, allocations: 1.776 MB / 0.8802 GB, free: 0.543 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002897/0.7082, allocations: 1.282 MB / 0.8814 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005434/0.7087, allocations: 194.1 kB / 0.8816 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005271/0.714, allocations: 1.971 MB / 0.8835 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007612/0.7148, allocations: 468.7 kB / 0.884 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002351/0.7171, allocations: 1.012 MB / 0.885 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006789/0.7239, allocations: 3.508 MB / 0.8884 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.724, allocations: 0.9688 kB / 0.8884 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.714e-06/0.724, allocations: 4 kB / 0.8884 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.748e-05/0.7241, allocations: 0 / 0.8884 GB, free: 11.29 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.005532/0.7296, allocations: 2.309 MB / 0.8907 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.7296, allocations: 8.344 kB / 0.8907 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005897/0.7356, allocations: 0.6986 MB / 0.8914 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.7384, allocations: 1.571 MB / 0.8929 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.7385, allocations: 129 kB / 0.893 GB, free: 7.914 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.7387, allocations: 120.7 kB / 0.8931 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004031/0.7428, allocations: 1.647 MB / 0.8947 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.7428, allocations: 10.41 kB / 0.8947 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.743, allocations: 53.47 kB / 0.8948 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.914e-05/0.743, allocations: 39.14 kB / 0.8948 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004949/0.748, allocations: 1.471 MB / 0.8963 GB, free: 5.996 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.01083/0.7588, allocations: 7.261 MB / 0.9034 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002444/0.7613, allocations: 0.8206 MB / 0.9042 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/0.7631, allocations: 0.5085 MB / 0.9047 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/0.7644, allocations: 1.274 MB / 0.9059 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.7645, allocations: 47.06 kB / 0.906 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 3.066e-06/0.7645, allocations: 0 / 0.906 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.03091/0.7954, allocations: 4.14 MB / 0.91 GB, free: 9.273 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.7955, allocations: 115.4 kB / 0.9101 GB, free: 9.137 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/0.7978, allocations: 1.366 MB / 0.9114 GB, free: 7.758 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000153/0.7979, allocations: 45.7 kB / 0.9115 GB, free: 7.707 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006087/0.7986, allocations: 0.6842 MB / 0.9122 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.7988, allocations: 244.5 kB / 0.9124 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003882/0.7992, allocations: 226.3 kB / 0.9126 GB, free: 6.547 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.7993, allocations: 341.9 kB / 0.9129 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/0.8014, allocations: 0.5044 MB / 0.9134 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/0.8036, allocations: 0.7756 MB / 0.9142 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003873/0.8075, allocations: 1.143 MB / 0.9153 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.8075, allocations: 0 / 0.9153 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005627/0.8132, allocations: 1.593 MB / 0.9168 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.8132, allocations: 8 kB / 0.9169 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.8132, allocations: 7.938 kB / 0.9169 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00208/0.8153, allocations: 0.5653 MB / 0.9174 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.8167, allocations: 235.6 kB / 0.9176 GB, free: 1.168 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.8188, allocations: 1.176 MB / 0.9188 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002565/0.8214, allocations: 214.6 kB / 0.919 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.8215, allocations: 55.94 kB / 0.919 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00256/0.8241, allocations: 0.8024 MB / 0.9198 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002205/0.8263, allocations: 0.7757 MB / 0.9206 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003847/0.8302, allocations: 1.144 MB / 0.9217 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.127e-06/0.8302, allocations: 0 / 0.9217 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.005503/0.8357, allocations: 1.581 MB / 0.9232 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.8358, allocations: 10.59 kB / 0.9233 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.8358, allocations: 8 kB / 0.9233 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001963/0.8377, allocations: 0.5689 MB / 0.9238 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.8391, allocations: 243.6 kB / 0.9241 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.8412, allocations: 1.162 MB / 0.9252 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/0.8437, allocations: 191.2 kB / 0.9254 GB, free: 8.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.8438, allocations: 55.94 kB / 0.9254 GB, free: 8.941 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.0003727/0.8442, allocations: 236 kB / 0.9256 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003308/0.8446, allocations: 146.2 kB / 0.9258 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004688/0.8493, allocations: 1.362 MB / 0.9271 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004074/0.8533, allocations: 1.168 MB / 0.9283 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.8534, allocations: 0 / 0.9283 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008432/0.8542, allocations: 355 kB / 0.9286 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002371/0.8545, allocations: 12 kB / 0.9286 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/0.8561, allocations: 119.8 kB / 0.9287 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.8562, allocations: 48.48 kB / 0.9288 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00702/0.8633, allocations: 1.5 MB / 0.9302 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005691/0.869, allocations: 1.755 MB / 0.9319 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001689/0.8707, allocations: 445.4 kB / 0.9324 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001591/0.8723, allocations: 0.973 MB / 0.9333 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of Backend: time 4.71e-07/0.8723, allocations: 0 / 0.9333 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007803/0.8801, allocations: 2.148 MB / 0.9354 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of SimCode: time 0.006869/0.887, allocations: 3.504 MB / 0.9388 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of Templates: time 0.07361/0.9606, allocations: 45.83 MB / 0.9836 GB, free: 13.76 MB / 0.7794 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)