Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.787/1.787, allocations: 293 MB / 309 MB, free: 4.797 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.001179/0.001179, allocations: 177.4 kB / 378.7 MB, free: 0.9961 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.022/2.022, allocations: 205.4 MB / 0.6383 GB, free: 8.117 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001028, allocations: 97.89 kB / 0.7527 GB, free: 62.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005385/0.0005387, allocations: 12 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.37, allocations: 116.4 MB / 0.9904 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/1.661, allocations: 379.9 MB / 1.361 GB, free: 9.258 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/1.661, allocations: 90.39 kB / 1.362 GB, free: 9.172 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.235/2.896, allocations: 250.9 MB / 1.607 GB, free: 129.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.657e-06/2.896, allocations: 0 / 1.607 GB, free: 129.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001343/2.896, allocations: 19.98 kB / 1.607 GB, free: 129.5 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.003451/2.9, allocations: 0.9243 MB / 1.607 GB, free: 128.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 7.405e-05/2.9, allocations: 12.03 kB / 1.608 GB, free: 128.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004344/2.9, allocations: 64.19 kB / 1.608 GB, free: 128.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/2.902, allocations: 492.5 kB / 1.608 GB, free: 128 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/2.902, allocations: 29.03 kB / 1.608 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.348e-05/2.902, allocations: 36.38 kB / 1.608 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007074/2.903, allocations: 310.6 kB / 1.608 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/2.903, allocations: 3.938 kB / 1.608 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/2.903, allocations: 12 kB / 1.608 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/2.903, allocations: 8 kB / 1.608 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006093/2.903, allocations: 270.5 kB / 1.609 GB, free: 127.3 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.002433/2.906, allocations: 1.333 MB / 1.61 GB, free: 125.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/2.906, allocations: 264.6 kB / 1.61 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/2.907, allocations: 144.7 kB / 1.61 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006169/2.907, allocations: 0.4947 MB / 1.611 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/2.907, allocations: 34.56 kB / 1.611 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=25): time 3.276e-06/2.907, allocations: 8 kB / 1.611 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=25): time 0.001815/2.909, allocations: 0.5661 MB / 1.611 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/2.909, allocations: 55.41 kB / 1.611 GB, free: 124.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005963/2.91, allocations: 470 kB / 1.612 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/2.91, allocations: 33.7 kB / 1.612 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/2.91, allocations: 256.7 kB / 1.612 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.712e-05/2.91, allocations: 78.77 kB / 1.612 GB, free: 123.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/2.91, allocations: 8 kB / 1.612 GB, free: 123.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001984/2.91, allocations: 362.7 kB / 1.613 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/2.911, allocations: 123.7 kB / 1.613 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/2.911, allocations: 214.1 kB / 1.613 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000529/2.912, allocations: 276.1 kB / 1.613 GB, free: 122.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/2.912, allocations: 0 / 1.613 GB, free: 122.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008986/2.913, allocations: 423.4 kB / 1.614 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-05/2.913, allocations: 110.7 kB / 1.614 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/2.913, allocations: 0 / 1.614 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003696/2.913, allocations: 52.81 kB / 1.614 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/2.913, allocations: 79.89 kB / 1.614 GB, free: 121.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004503/2.914, allocations: 0.5679 MB / 1.614 GB, free: 121 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/2.914, allocations: 75.72 kB / 1.614 GB, free: 120.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.895e-05/2.915, allocations: 12 kB / 1.615 GB, free: 120.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/2.915, allocations: 10.33 kB / 1.615 GB, free: 120.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006256/2.915, allocations: 307.7 kB / 1.615 GB, free: 120.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/2.915, allocations: 3.938 kB / 1.615 GB, free: 120.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/2.915, allocations: 7.875 kB / 1.615 GB, free: 120.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/2.916, allocations: 87.88 kB / 1.615 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/2.916, allocations: 8 kB / 1.615 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003738/2.916, allocations: 59.78 kB / 1.615 GB, free: 120.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/2.916, allocations: 20 kB / 1.615 GB, free: 120.4 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.0002673/2.916, allocations: 245 kB / 1.615 GB, free: 120.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.888e-05/2.916, allocations: 55.33 kB / 1.615 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008297/2.917, allocations: 426.6 kB / 1.616 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/2.917, allocations: 3.984 kB / 1.616 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/2.917, allocations: 4 kB / 1.616 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/2.917, allocations: 0 / 1.616 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/2.919, allocations: 0.9487 MB / 1.617 GB, free: 118.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/2.919, allocations: 0 / 1.617 GB, free: 118.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/2.919, allocations: 55.91 kB / 1.617 GB, free: 118.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001527/2.919, allocations: 40.83 kB / 1.617 GB, free: 118.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/2.919, allocations: 11.92 kB / 1.617 GB, free: 118.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003175/2.919, allocations: 0.5641 MB / 1.617 GB, free: 118 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/2.919, allocations: 3.938 kB / 1.617 GB, free: 118 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/2.92, allocations: 0.4996 MB / 1.618 GB, free: 117.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/2.92, allocations: 164.3 kB / 1.618 GB, free: 117.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/2.92, allocations: 4 kB / 1.618 GB, free: 117.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/2.921, allocations: 51.95 kB / 1.618 GB, free: 117.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-05/2.921, allocations: 19.91 kB / 1.618 GB, free: 117.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/2.921, allocations: 12 kB / 1.618 GB, free: 117.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003101/2.921, allocations: 318.9 kB / 1.618 GB, free: 116.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/2.921, allocations: 0 / 1.618 GB, free: 116.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009196/2.922, allocations: 275.6 kB / 1.619 GB, free: 116.6 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.000769/2.923, allocations: 366.6 kB / 1.619 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001108/2.924, allocations: 483 kB / 1.619 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/2.924, allocations: 0 / 1.619 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003529/2.924, allocations: 172.1 kB / 1.62 GB, free: 115.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/2.926, allocations: 267.1 kB / 1.62 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/2.927, allocations: 0.9693 MB / 1.621 GB, free: 114.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/2.927, allocations: 0.8553 MB / 1.622 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004569/2.928, allocations: 124.4 kB / 1.622 GB, free: 113.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.047e-05/2.928, allocations: 43.42 kB / 1.622 GB, free: 113.3 MB / 0.9323 GB Notification: Performance of SimCode: time 6.41e-07/2.928, allocations: 0 / 1.622 GB, free: 113.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.02026/2.948, allocations: 11.21 MB / 1.633 GB, free: 102.2 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)