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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.873/1.873, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.002968/0.002968, allocations: 182.9 kB / 377.1 MB, free: 1.523 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.146/2.146, allocations: 205.4 MB / 0.6367 GB, free: 9.562 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.001126/0.001126, allocations: 94.03 kB / 0.751 GB, free: 62.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004645, allocations: 8 kB / 0.8748 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3669, allocations: 116.3 MB / 0.9884 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.341/1.708, allocations: 379.8 MB / 1.359 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004734/1.709, allocations: 87.95 kB / 1.359 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.362/3.071, allocations: 252.4 MB / 1.606 GB, free: 128.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.897e-06/3.071, allocations: 0 / 1.606 GB, free: 128.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001342/3.071, allocations: 16 kB / 1.606 GB, free: 128.8 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.002977/3.074, allocations: 0.928 MB / 1.607 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/3.074, allocations: 8.031 kB / 1.607 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/3.074, allocations: 67.25 kB / 1.607 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000905/3.075, allocations: 476.7 kB / 1.607 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/3.075, allocations: 28.66 kB / 1.607 GB, free: 127.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.03e-05/3.075, allocations: 37.72 kB / 1.607 GB, free: 127.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005633/3.076, allocations: 306 kB / 1.608 GB, free: 126.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/3.076, allocations: 0 / 1.608 GB, free: 126.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/3.076, allocations: 16 kB / 1.608 GB, free: 126.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/3.076, allocations: 8 kB / 1.608 GB, free: 126.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005262/3.076, allocations: 274.3 kB / 1.608 GB, free: 126.6 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.001892/3.078, allocations: 1.325 MB / 1.609 GB, free: 125.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006919/3.079, allocations: 274.5 kB / 1.609 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000432/3.079, allocations: 0.4952 MB / 1.61 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/3.079, allocations: 30.56 kB / 1.61 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=25): time 1.854e-06/3.079, allocations: 4 kB / 1.61 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=25): time 0.001622/3.081, allocations: 0.5891 MB / 1.611 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/3.081, allocations: 59.36 kB / 1.611 GB, free: 123.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004085/3.082, allocations: 405.3 kB / 1.611 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/3.082, allocations: 33.7 kB / 1.611 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/3.082, allocations: 244.8 kB / 1.611 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.068e-05/3.082, allocations: 90.62 kB / 1.611 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.774e-05/3.082, allocations: 8 kB / 1.611 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001098/3.082, allocations: 354.8 kB / 1.612 GB, free: 122.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/3.082, allocations: 119.7 kB / 1.612 GB, free: 122.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003384/3.083, allocations: 230.2 kB / 1.612 GB, free: 122 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/3.083, allocations: 132.9 kB / 1.612 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/3.083, allocations: 8 kB / 1.612 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008017/3.084, allocations: 406.9 kB / 1.613 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/3.084, allocations: 282 kB / 1.613 GB, free: 121.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/3.084, allocations: 0 / 1.613 GB, free: 121.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002733/3.084, allocations: 40.83 kB / 1.613 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/3.084, allocations: 75.94 kB / 1.613 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000341/3.085, allocations: 0.5679 MB / 1.613 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005464/3.085, allocations: 67.73 kB / 1.614 GB, free: 120.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.644e-05/3.085, allocations: 23.92 kB / 1.614 GB, free: 120.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.168e-06/3.085, allocations: 4 kB / 1.614 GB, free: 120.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005988/3.086, allocations: 311.8 kB / 1.614 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/3.086, allocations: 8 kB / 1.614 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-06/3.086, allocations: 3.938 kB / 1.614 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/3.086, allocations: 79.95 kB / 1.614 GB, free: 120 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/3.086, allocations: 11.92 kB / 1.614 GB, free: 120 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/3.087, allocations: 63.7 kB / 1.614 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/3.087, allocations: 19.98 kB / 1.614 GB, free: 119.9 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.0002629/3.087, allocations: 252.9 kB / 1.614 GB, free: 119.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.766e-05/3.087, allocations: 47.44 kB / 1.614 GB, free: 119.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008674/3.088, allocations: 434.8 kB / 1.615 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/3.088, allocations: 0 / 1.615 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/3.088, allocations: 8 kB / 1.615 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/3.088, allocations: 3.984 kB / 1.615 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/3.089, allocations: 0.9486 MB / 1.616 GB, free: 118.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/3.089, allocations: 3.938 kB / 1.616 GB, free: 118.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/3.09, allocations: 56.03 kB / 1.616 GB, free: 118.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001654/3.09, allocations: 40.83 kB / 1.616 GB, free: 118 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/3.09, allocations: 8 kB / 1.616 GB, free: 118 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002466/3.09, allocations: 0.564 MB / 1.616 GB, free: 117.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/3.09, allocations: 0 / 1.616 GB, free: 117.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006661/3.091, allocations: 0.5488 MB / 1.617 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/3.091, allocations: 168.3 kB / 1.617 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/3.091, allocations: 0 / 1.617 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/3.091, allocations: 51.94 kB / 1.617 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/3.092, allocations: 19.97 kB / 1.617 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/3.092, allocations: 15.95 kB / 1.617 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002969/3.092, allocations: 318.9 kB / 1.617 GB, free: 116.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.31e-07/3.092, allocations: 0 / 1.617 GB, free: 116.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009322/3.093, allocations: 271.6 kB / 1.618 GB, free: 116 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.0006923/3.094, allocations: 378.6 kB / 1.618 GB, free: 115.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001092/3.095, allocations: 493.7 kB / 1.619 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/3.095, allocations: 0 / 1.619 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003433/3.095, allocations: 168.1 kB / 1.619 GB, free: 115 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/3.096, allocations: 251.7 kB / 1.619 GB, free: 114.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/3.098, allocations: 0.9695 MB / 1.62 GB, free: 113.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/3.098, allocations: 0.863 MB / 1.621 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004506/3.098, allocations: 108.5 kB / 1.621 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.56e-05/3.099, allocations: 51.38 kB / 1.621 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of SimCode: time 8.61e-07/3.099, allocations: 0 / 1.621 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.01746/3.116, allocations: 11.02 MB / 1.632 GB, free: 101.8 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)