Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.476/2.476, allocations: 284.8 MB / 297.3 MB, free: 6.375 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001485, allocations: 183.7 kB / 365.7 MB, free: 2.574 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.1 MB / 0.6241 GB, free: 8.207 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 103.2 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.83e-05/3.844e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7863/0.7864, allocations: 115.2 MB / 0.97 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.354/2.14, allocations: 378.6 MB / 1.34 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/2.141, allocations: 86.02 kB / 1.34 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.8996/3.04, allocations: 251.7 MB / 1.586 GB, free: 6.152 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.637e-06/3.04, allocations: 0 / 1.586 GB, free: 6.152 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.727e-05/3.04, allocations: 19.94 kB / 1.586 GB, free: 6.133 MB / 0.9167 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.002223/3.043, allocations: 0.8331 MB / 1.586 GB, free: 5.254 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/3.043, allocations: 8.031 kB / 1.586 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/3.043, allocations: 67.2 kB / 1.586 GB, free: 5.18 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/3.044, allocations: 459.7 kB / 1.587 GB, free: 4.691 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/3.044, allocations: 28.78 kB / 1.587 GB, free: 4.664 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.35e-05/3.044, allocations: 36 kB / 1.587 GB, free: 4.629 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007957/3.045, allocations: 275.7 kB / 1.587 GB, free: 4.352 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/3.045, allocations: 0 / 1.587 GB, free: 4.352 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/3.045, allocations: 16 kB / 1.587 GB, free: 4.336 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/3.045, allocations: 11.95 kB / 1.587 GB, free: 4.324 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006226/3.046, allocations: 199.1 kB / 1.587 GB, free: 4.133 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or 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.003635/3.05, allocations: 1.322 MB / 1.589 GB, free: 2.691 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008491/3.05, allocations: 251.7 kB / 1.589 GB, free: 2.438 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/3.051, allocations: 111.1 kB / 1.589 GB, free: 2.328 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000551/3.051, allocations: 0.4947 MB / 1.59 GB, free: 1.723 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/3.051, allocations: 34.56 kB / 1.59 GB, free: 1.68 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 2.745e-06/3.051, allocations: 0 / 1.59 GB, free: 1.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25): time 0.0009702/3.052, allocations: 274.1 kB / 1.59 GB, free: 1.402 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/3.052, allocations: 55.41 kB / 1.59 GB, free: 1.336 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007551/3.053, allocations: 400.1 kB / 1.59 GB, free: 0.9375 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.252e-05/3.053, allocations: 29.7 kB / 1.59 GB, free: 0.9023 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/3.054, allocations: 244.7 kB / 1.591 GB, free: 0.6602 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/3.054, allocations: 90.73 kB / 1.591 GB, free: 0.5703 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/3.054, allocations: 4 kB / 1.591 GB, free: 0.5664 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001798/3.054, allocations: 354.8 kB / 1.591 GB, free: 216 kB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/3.054, allocations: 91.67 kB / 1.591 GB, free: 124 kB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/3.055, allocations: 186.3 kB / 1.591 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/3.055, allocations: 111.6 kB / 1.591 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/3.055, allocations: 0 / 1.591 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001139/3.056, allocations: 348.6 kB / 1.592 GB, free: 15.44 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/3.056, allocations: 272.5 kB / 1.592 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/3.056, allocations: 4 kB / 1.592 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000336/3.057, allocations: 40.83 kB / 1.592 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006732/3.057, allocations: 71.89 kB / 1.592 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006143/3.058, allocations: 0.5719 MB / 1.593 GB, free: 14.44 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/3.059, allocations: 67.62 kB / 1.593 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.376e-05/3.059, allocations: 24.05 kB / 1.593 GB, free: 14.35 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/3.059, allocations: 4 kB / 1.593 GB, free: 14.35 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007692/3.06, allocations: 238.5 kB / 1.593 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/3.06, allocations: 0 / 1.593 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/3.06, allocations: 4 kB / 1.593 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007584/3.061, allocations: 87.88 kB / 1.593 GB, free: 14.03 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/3.061, allocations: 0 / 1.593 GB, free: 14.03 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009066/3.062, allocations: 63.7 kB / 1.593 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/3.062, allocations: 19.98 kB / 1.593 GB, free: 13.95 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 () * 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.0001831/3.062, allocations: 124.9 kB / 1.593 GB, free: 13.82 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/3.062, allocations: 55.28 kB / 1.593 GB, free: 13.76 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/3.063, allocations: 355.8 kB / 1.594 GB, free: 13.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/3.063, allocations: 7.938 kB / 1.594 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/3.063, allocations: 3.984 kB / 1.594 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/3.063, allocations: 0 / 1.594 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/3.065, allocations: 0.8766 MB / 1.594 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/3.065, allocations: 4.125 kB / 1.594 GB, free: 12.44 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004593/3.066, allocations: 51.97 kB / 1.594 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002721/3.066, allocations: 48.77 kB / 1.595 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/3.066, allocations: 11.98 kB / 1.595 GB, free: 12.33 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005216/3.067, allocations: 0.564 MB / 1.595 GB, free: 11.74 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/3.067, allocations: 0 / 1.595 GB, free: 11.74 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009579/3.068, allocations: 485.9 kB / 1.596 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003269/3.068, allocations: 156.5 kB / 1.596 GB, free: 11.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.622e-05/3.068, allocations: 8 kB / 1.596 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007114/3.069, allocations: 43.95 kB / 1.596 GB, free: 10.98 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/3.069, allocations: 31.91 kB / 1.596 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/3.069, allocations: 12 kB / 1.596 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005764/3.07, allocations: 313.6 kB / 1.596 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.51e-07/3.07, allocations: 0 / 1.596 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001284/3.071, allocations: 275.6 kB / 1.596 GB, free: 10.37 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 () * 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.000972/3.072, allocations: 366.9 kB / 1.597 GB, free: 10.01 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001396/3.073, allocations: 386.6 kB / 1.597 GB, free: 9.629 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/3.073, allocations: 0 / 1.597 GB, free: 9.629 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004787/3.074, allocations: 148 kB / 1.597 GB, free: 9.484 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/3.076, allocations: 246.8 kB / 1.597 GB, free: 9.246 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/3.078, allocations: 0.5895 MB / 1.598 GB, free: 8.621 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005664/3.079, allocations: 0.8678 MB / 1.599 GB, free: 7.727 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001011/3.08, allocations: 144.1 kB / 1.599 GB, free: 7.586 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/3.08, allocations: 39.42 kB / 1.599 GB, free: 7.547 MB / 0.9323 GB Notification: Performance of SimCode: time 1.282e-06/3.08, allocations: 0 / 1.599 GB, free: 7.547 MB / 0.9323 GB Notification: Performance of Templates: time 0.03604/3.116, allocations: 12.22 MB / 1.611 GB, free: 11.45 MB / 0.948 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)