Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.321/2.321, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00134/0.00134, allocations: 179.1 kB / 325.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.361/2.361, allocations: 205.4 MB / 0.5767 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009147/0.0009146, allocations: 97.94 kB / 0.6813 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.0004792, allocations: 16.66 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2064, allocations: 106.2 MB / 0.899 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.08134/0.2878, allocations: 64.49 MB / 0.962 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02885/0.3167, allocations: 13.66 MB / 0.9753 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002914/0.3197, allocations: 59.62 kB / 0.9754 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003303/0.323, allocations: 0.6405 MB / 0.976 GB, free: 2.418 MB / 0.6198 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.009403/0.3325, allocations: 1.983 MB / 0.978 GB, free: 440 kB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007163/0.3397, allocations: 1.443 MB / 0.9794 GB, free: 15 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009761/0.3495, allocations: 5.066 MB / 0.9843 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003173/0.3527, allocations: 1.219 MB / 0.9855 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00494/0.3577, allocations: 1.365 MB / 0.9868 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004147/0.3619, allocations: 1.12 MB / 0.9879 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0007078/0.3626, allocations: 64 kB / 0.988 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007611/0.3703, allocations: 1.513 MB / 0.9895 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008505/0.3712, allocations: 310.6 kB / 0.9898 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009844/0.3722, allocations: 396.8 kB / 0.9902 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00596/0.3782, allocations: 2.623 MB / 0.9927 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3782, allocations: 0 / 0.9927 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.825e-06/0.3782, allocations: 7.938 kB / 0.9927 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.022e-05/0.3783, allocations: 0 / 0.9927 GB, free: 1.258 MB / 0.6355 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.006512/0.3848, allocations: 1.991 MB / 0.9947 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.3849, allocations: 12.03 kB / 0.9947 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/0.3959, allocations: 0.7363 MB / 0.9954 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004291/0.4002, allocations: 1.502 MB / 0.9969 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/0.4005, allocations: 132 kB / 0.997 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003471/0.4009, allocations: 116 kB / 0.9971 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007458/0.4083, allocations: 1.657 MB / 0.9987 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.598e-05/0.4084, allocations: 7.922 kB / 0.9987 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002454/0.4087, allocations: 52 kB / 0.9988 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.856e-05/0.4088, allocations: 35.94 kB / 0.9988 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009611/0.4184, allocations: 1.519 MB / 1 GB, free: 9.27 MB / 0.6511 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.0181/0.4366, allocations: 7.291 MB / 1.007 GB, free: 1.598 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004726/0.4413, allocations: 0.8395 MB / 1.008 GB, free: 0.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003512/0.4449, allocations: 0.5239 MB / 1.009 GB, free: 232 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002033/0.447, allocations: 1.271 MB / 1.01 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/0.4471, allocations: 47.12 kB / 1.01 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 3.246e-06/0.4471, allocations: 4 kB / 1.01 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.05883/0.5059, allocations: 4.28 MB / 1.014 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.815e-05/0.5061, allocations: 115.4 kB / 1.014 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00354/0.5096, allocations: 1.351 MB / 1.016 GB, free: 8.805 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002668/0.5099, allocations: 41.7 kB / 1.016 GB, free: 8.758 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009212/0.5109, allocations: 0.6803 MB / 1.016 GB, free: 8.07 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004603/0.5114, allocations: 244.5 kB / 1.017 GB, free: 7.828 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.5115, allocations: 16 kB / 1.017 GB, free: 7.812 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.5117, allocations: 341.9 kB / 1.017 GB, free: 7.473 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004037/0.5157, allocations: 0.5133 MB / 1.017 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00444/0.5202, allocations: 0.7979 MB / 1.018 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004135/0.5244, allocations: 0.5692 MB / 1.019 GB, free: 5.484 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/0.5245, allocations: 8 kB / 1.019 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01031/0.5348, allocations: 1.617 MB / 1.02 GB, free: 3.848 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002526/0.5351, allocations: 284.8 kB / 1.021 GB, free: 3.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.5351, allocations: 8 kB / 1.021 GB, free: 3.473 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003407/0.5385, allocations: 0.5507 MB / 1.021 GB, free: 2.922 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/0.5413, allocations: 255.6 kB / 1.021 GB, free: 2.672 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00354/0.5449, allocations: 1.166 MB / 1.023 GB, free: 1.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004678/0.5497, allocations: 294.4 kB / 1.023 GB, free: 1.191 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002948/0.55, allocations: 55.95 kB / 1.023 GB, free: 1.137 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.55, allocations: 4 kB / 1.023 GB, free: 1.133 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00986/0.5599, allocations: 1.464 MB / 1.024 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.56, allocations: 8 kB / 1.024 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00328/0.5633, allocations: 0.5438 MB / 1.025 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002803/0.5661, allocations: 247.6 kB / 1.025 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003656/0.5698, allocations: 1.174 MB / 1.026 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004294/0.5742, allocations: 259 kB / 1.026 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003033/0.5745, allocations: 59.94 kB / 1.027 GB, free: 13.36 MB / 0.6823 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 25} Notification: Performance of prepare postOptimizeDAE: time 0.001291/0.5758, allocations: 444.8 kB / 1.027 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005597/0.5764, allocations: 146.3 kB / 1.027 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009003/0.5854, allocations: 1.406 MB / 1.028 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/0.5855, allocations: 8 kB / 1.028 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.5855, allocations: 3.938 kB / 1.028 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007914/0.5935, allocations: 1.219 MB / 1.03 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01499/0.6085, allocations: 3.489 MB / 1.033 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-05/0.6086, allocations: 4 kB / 1.033 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/0.6105, allocations: 155.8 kB / 1.033 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004112/0.6146, allocations: 0.522 MB / 1.034 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/0.6148, allocations: 23.97 kB / 1.034 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003426/0.6183, allocations: 1.17 MB / 1.035 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.561e-05/0.6183, allocations: 8 kB / 1.035 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00842/0.6268, allocations: 1.481 MB / 1.036 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/0.6281, allocations: 383 kB / 1.037 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003427/0.6284, allocations: 19.98 kB / 1.037 GB, free: 2.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003569/0.632, allocations: 170.1 kB / 1.037 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/0.6323, allocations: 60.33 kB / 1.037 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/0.6324, allocations: 43.95 kB / 1.037 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002651/0.6351, allocations: 0.9496 MB / 1.038 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.92e-07/0.6351, allocations: 0 / 1.038 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003878/0.639, allocations: 0.9318 MB / 1.039 GB, free: 368 kB / 0.6823 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 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002075/0.6411, allocations: 0.5669 MB / 1.039 GB, free: 15.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01315/0.6543, allocations: 1.902 MB / 1.041 GB, free: 13.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.6544, allocations: 0 / 1.041 GB, free: 13.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003861/0.6583, allocations: 0.5614 MB / 1.042 GB, free: 13.33 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007254/0.6656, allocations: 0.7865 MB / 1.043 GB, free: 12.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.6776, allocations: 3.127 MB / 1.046 GB, free: 9.352 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.6788, allocations: 1.203 MB / 1.047 GB, free: 8.121 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003052/0.6819, allocations: 331 kB / 1.047 GB, free: 7.797 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005795/0.6825, allocations: 123.3 kB / 1.047 GB, free: 7.676 MB / 0.698 GB Notification: Performance of SimCode: time 1.453e-06/0.6825, allocations: 0 / 1.047 GB, free: 7.676 MB / 0.698 GB Notification: Performance of Templates: time 0.6847/1.367, allocations: 36.98 MB / 1.083 GB, free: 136.1 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)