Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.513/2.513, allocations: 287.5 MB / 303.2 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001378/0.001378, allocations: 181.9 kB / 371.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.091/2.091, allocations: 205.4 MB / 0.6305 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009291/0.0009289, allocations: 100.8 kB / 0.7438 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000656/0.0006562, allocations: 17.11 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2125, allocations: 115.3 MB / 0.9793 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.201/1.414, allocations: 378.7 MB / 1.349 GB, free: 2.965 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/1.414, allocations: 88.7 kB / 1.349 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.43/2.844, allocations: 250.9 MB / 1.594 GB, free: 194.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.034e-06/2.844, allocations: 0 / 1.594 GB, free: 194.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.127e-05/2.844, allocations: 24.12 kB / 1.594 GB, free: 194.1 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.002348/2.846, allocations: 0.9155 MB / 1.595 GB, free: 193.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/2.846, allocations: 12.03 kB / 1.595 GB, free: 193.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/2.847, allocations: 72.17 kB / 1.595 GB, free: 193 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/2.848, allocations: 484.5 kB / 1.596 GB, free: 192.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/2.848, allocations: 32.97 kB / 1.596 GB, free: 192.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.069e-05/2.848, allocations: 36.38 kB / 1.596 GB, free: 192.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009155/2.849, allocations: 310.6 kB / 1.596 GB, free: 192.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/2.849, allocations: 7.875 kB / 1.596 GB, free: 192.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.724e-05/2.849, allocations: 15.94 kB / 1.596 GB, free: 192.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/2.849, allocations: 8 kB / 1.596 GB, free: 192.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009727/2.85, allocations: 274.4 kB / 1.596 GB, free: 191.8 MB / 0.9323 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.00329/2.853, allocations: 1.329 MB / 1.598 GB, free: 190.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008483/2.854, allocations: 258.5 kB / 1.598 GB, free: 190.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004672/2.855, allocations: 140.7 kB / 1.598 GB, free: 190 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004012/2.855, allocations: 0.5026 MB / 1.599 GB, free: 189.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/2.855, allocations: 34.56 kB / 1.599 GB, free: 189.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=25): time 3.036e-06/2.855, allocations: 4 kB / 1.599 GB, free: 189.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=25): time 0.002807/2.858, allocations: 0.573 MB / 1.599 GB, free: 188.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/2.858, allocations: 55.41 kB / 1.599 GB, free: 188.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006924/2.859, allocations: 466.1 kB / 1.6 GB, free: 188.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.91e-05/2.859, allocations: 29.7 kB / 1.6 GB, free: 188.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/2.859, allocations: 244.7 kB / 1.6 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.756e-05/2.859, allocations: 86.75 kB / 1.6 GB, free: 187.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/2.859, allocations: 4 kB / 1.6 GB, free: 187.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001068/2.859, allocations: 366.7 kB / 1.6 GB, free: 187.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004876/2.86, allocations: 127.7 kB / 1.6 GB, free: 187.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005792/2.86, allocations: 210.2 kB / 1.601 GB, free: 187.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009422/2.861, allocations: 276.1 kB / 1.601 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/2.861, allocations: 0 / 1.601 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001616/2.863, allocations: 424.8 kB / 1.601 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.217e-05/2.863, allocations: 114.6 kB / 1.601 GB, free: 186.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/2.863, allocations: 0 / 1.601 GB, free: 186.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004744/2.864, allocations: 48.81 kB / 1.601 GB, free: 186.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000639/2.864, allocations: 79.89 kB / 1.602 GB, free: 186.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000523/2.865, allocations: 0.564 MB / 1.602 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009628/2.866, allocations: 71.72 kB / 1.602 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.521e-05/2.866, allocations: 19.98 kB / 1.602 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/2.866, allocations: 9.812 kB / 1.602 GB, free: 185.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001129/2.867, allocations: 315.7 kB / 1.602 GB, free: 185.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/2.867, allocations: 0 / 1.602 GB, free: 185.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.744e-06/2.867, allocations: 3.938 kB / 1.602 GB, free: 185.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000713/2.868, allocations: 91.88 kB / 1.603 GB, free: 185 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/2.868, allocations: 4 kB / 1.603 GB, free: 185 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008948/2.869, allocations: 63.78 kB / 1.603 GB, free: 185 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/2.869, allocations: 19.98 kB / 1.603 GB, free: 185 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003446/2.869, allocations: 241 kB / 1.603 GB, free: 184.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/2.869, allocations: 51.34 kB / 1.603 GB, free: 184.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/2.871, allocations: 431.9 kB / 1.603 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/2.871, allocations: 3.938 kB / 1.603 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/2.871, allocations: 7.938 kB / 1.603 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/2.871, allocations: 0 / 1.603 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/2.873, allocations: 0.9464 MB / 1.604 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/2.873, allocations: 0 / 1.604 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004289/2.873, allocations: 51.95 kB / 1.604 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002559/2.874, allocations: 48.77 kB / 1.604 GB, free: 183.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/2.874, allocations: 8.125 kB / 1.604 GB, free: 183.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003429/2.874, allocations: 0.5562 MB / 1.605 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/2.874, allocations: 3.938 kB / 1.605 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/2.875, allocations: 0.4952 MB / 1.605 GB, free: 182 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/2.876, allocations: 164.5 kB / 1.606 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.62e-05/2.876, allocations: 0 / 1.606 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006889/2.876, allocations: 47.95 kB / 1.606 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.625e-05/2.876, allocations: 27.89 kB / 1.606 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/2.876, allocations: 23.92 kB / 1.606 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004872/2.877, allocations: 318.9 kB / 1.606 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.81e-07/2.877, allocations: 0 / 1.606 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001219/2.878, allocations: 275.6 kB / 1.606 GB, free: 181.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008375/2.879, allocations: 362.4 kB / 1.607 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00188/2.881, allocations: 483.3 kB / 1.607 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/2.881, allocations: 4 kB / 1.607 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006371/2.882, allocations: 183.7 kB / 1.607 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/2.884, allocations: 258.3 kB / 1.607 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/2.886, allocations: 0.9754 MB / 1.608 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/2.887, allocations: 0.8553 MB / 1.609 GB, free: 178 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000778/2.887, allocations: 112.2 kB / 1.609 GB, free: 177.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/2.888, allocations: 43.44 kB / 1.609 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.483e-06/2.888, allocations: 0 / 1.609 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.02866/2.916, allocations: 11.08 MB / 1.62 GB, free: 166.9 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)