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.001159/0.001159, allocations: 106.6 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.001091/0.001092, allocations: 189.2 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.425/1.425, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.723/1.723, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001414/0.001414, allocations: 63.91 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2408, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.4641/0.705, allocations: 69.92 MB / 0.8531 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02273/0.7277, allocations: 14.29 MB / 0.867 GB, free: 8.555 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004165/0.7319, allocations: 67.81 kB / 0.8671 GB, free: 8.531 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003523/0.7356, allocations: 0.9251 MB / 0.868 GB, free: 7.957 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009422/0.745, allocations: 2.512 MB / 0.8704 GB, free: 6.453 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006428/0.7515, allocations: 1.993 MB / 0.8724 GB, free: 5.344 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01071/0.7622, allocations: 4.599 MB / 0.8769 GB, free: 2.773 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003536/0.7658, allocations: 1.605 MB / 0.8784 GB, free: 1.781 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005512/0.7713, allocations: 1.781 MB / 0.8802 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003231/0.7746, allocations: 1.274 MB / 0.8814 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004713/0.7751, allocations: 195.8 kB / 0.8816 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006174/0.7812, allocations: 1.978 MB / 0.8835 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007037/0.782, allocations: 459.6 kB / 0.884 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002556/0.7846, allocations: 1.02 MB / 0.885 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007657/0.7922, allocations: 3.509 MB / 0.8884 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.7923, allocations: 0 / 0.8884 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7923, allocations: 4.5 kB / 0.8884 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.274e-05/0.7924, allocations: 0 / 0.8884 GB, free: 11.45 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.00565/0.798, allocations: 2.299 MB / 0.8907 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.7981, allocations: 9.75 kB / 0.8907 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005615/0.8037, allocations: 0.7032 MB / 0.8914 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003248/0.807, allocations: 1.567 MB / 0.8929 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.8072, allocations: 133.9 kB / 0.893 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.8074, allocations: 116.7 kB / 0.8931 GB, free: 8.039 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004235/0.8116, allocations: 1.651 MB / 0.8947 GB, free: 6.953 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.8117, allocations: 0.9375 kB / 0.8947 GB, free: 6.953 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/0.8118, allocations: 57.06 kB / 0.8948 GB, free: 6.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.524e-05/0.8119, allocations: 37.06 kB / 0.8948 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004906/0.8168, allocations: 1.481 MB / 0.8963 GB, free: 6.152 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.01154/0.8284, allocations: 7.253 MB / 0.9034 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002463/0.8309, allocations: 0.8294 MB / 0.9042 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.8326, allocations: 0.5011 MB / 0.9047 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001382/0.834, allocations: 1.278 MB / 0.9059 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/0.8341, allocations: 43.41 kB / 0.9059 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 2.615e-06/0.8341, allocations: 0 / 0.9059 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.02915/0.8633, allocations: 4.14 MB / 0.91 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.028e-05/0.8634, allocations: 111.4 kB / 0.9101 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002796/0.8662, allocations: 1.382 MB / 0.9114 GB, free: 7.922 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000247/0.8665, allocations: 45.7 kB / 0.9115 GB, free: 7.871 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007209/0.8672, allocations: 0.6725 MB / 0.9121 GB, free: 7.191 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003593/0.8676, allocations: 248.5 kB / 0.9124 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004793/0.8681, allocations: 230.3 kB / 0.9126 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.8682, allocations: 341.9 kB / 0.9129 GB, free: 6.375 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001983/0.8702, allocations: 0.5083 MB / 0.9134 GB, free: 5.863 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002228/0.8725, allocations: 0.7745 MB / 0.9142 GB, free: 4.977 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003772/0.8762, allocations: 1.137 MB / 0.9153 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.8763, allocations: 0 / 0.9153 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00552/0.8818, allocations: 1.597 MB / 0.9168 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.8819, allocations: 12.09 kB / 0.9169 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.8819, allocations: 4 kB / 0.9169 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/0.884, allocations: 0.5551 MB / 0.9174 GB, free: 1.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.8853, allocations: 243.6 kB / 0.9176 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.8874, allocations: 1.17 MB / 0.9188 GB, free: 144 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/0.8901, allocations: 222.8 kB / 0.919 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.8903, allocations: 51.95 kB / 0.919 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00257/0.8929, allocations: 0.8045 MB / 0.9198 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002234/0.8952, allocations: 0.7744 MB / 0.9206 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00377/0.8989, allocations: 1.134 MB / 0.9217 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.364e-06/0.899, allocations: 0 / 0.9217 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.005578/0.9046, allocations: 1.574 MB / 0.9232 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.9046, allocations: 11.94 kB / 0.9232 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.9046, allocations: 11.06 kB / 0.9232 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001931/0.9066, allocations: 0.5688 MB / 0.9238 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.9079, allocations: 239.6 kB / 0.924 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/0.9099, allocations: 1.17 MB / 0.9252 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/0.9126, allocations: 191.2 kB / 0.9254 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/0.9128, allocations: 51.95 kB / 0.9254 GB, free: 9.117 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.0004302/0.9132, allocations: 240 kB / 0.9256 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006511/0.9139, allocations: 146.2 kB / 0.9258 GB, free: 8.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004707/0.9186, allocations: 1.366 MB / 0.9271 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/0.9187, allocations: 8 kB / 0.9271 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.9187, allocations: 0 / 0.9271 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003881/0.9226, allocations: 1.168 MB / 0.9283 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009367/0.932, allocations: 3.476 MB / 0.9317 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/0.932, allocations: 4 kB / 0.9317 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008821/0.9329, allocations: 139.9 kB / 0.9318 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001965/0.9349, allocations: 0.5562 MB / 0.9323 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.031e-05/0.935, allocations: 27.97 kB / 0.9324 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/0.937, allocations: 1.162 MB / 0.9335 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.937, allocations: 7.938 kB / 0.9335 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004745/0.9418, allocations: 1.435 MB / 0.9349 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.9429, allocations: 351.7 kB / 0.9352 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005755/0.9435, allocations: 20 kB / 0.9353 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/0.9456, allocations: 130 kB / 0.9354 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.9458, allocations: 59.12 kB / 0.9354 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000155/0.946, allocations: 47.94 kB / 0.9355 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002059/0.948, allocations: 0.973 MB / 0.9364 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.948, allocations: 0 / 0.9364 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003817/0.9519, allocations: 0.9006 MB / 0.9373 GB, free: 12.55 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.001711/0.9536, allocations: 0.5512 MB / 0.9378 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007094/0.9607, allocations: 1.855 MB / 0.9397 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/0.9608, allocations: 0 / 0.9397 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002043/0.9628, allocations: 0.5496 MB / 0.9402 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005234/0.9681, allocations: 0.8402 MB / 0.941 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00768/0.9758, allocations: 2.655 MB / 0.9436 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.9769, allocations: 1.195 MB / 0.9448 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006429/0.9776, allocations: 151.2 kB / 0.9449 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of SimCode: time 8.32e-07/0.9776, allocations: 4 kB / 0.9449 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of Templates: time 0.05171/1.029, allocations: 36.02 MB / 0.9801 GB, free: 0.9688 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)