Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.693/2.693, allocations: 284.8 MB / 297.3 MB, free: 6.336 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.001452/0.001452, allocations: 180.8 kB / 365.7 MB, free: 2.578 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.853/1.853, allocations: 205.1 MB / 0.6241 GB, free: 8.168 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.00115/0.001149, allocations: 99.2 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.125e-05/3.142e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8153/0.8154, allocations: 115.2 MB / 0.97 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.329/2.144, allocations: 401.1 MB / 1.362 GB, free: 159.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/2.145, allocations: 99.12 kB / 1.362 GB, free: 159.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.083/4.228, allocations: 429.2 MB / 1.781 GB, free: 189.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.753e-06/4.228, allocations: 4 kB / 1.781 GB, free: 189.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001426/4.228, allocations: 36.84 kB / 1.781 GB, free: 189.2 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003575/4.231, allocations: 1.322 MB / 1.782 GB, free: 187.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/4.232, allocations: 8.031 kB / 1.782 GB, free: 187.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007507/4.232, allocations: 154.5 kB / 1.782 GB, free: 187.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/4.235, allocations: 0.8087 MB / 1.783 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.565e-05/4.235, allocations: 85.3 kB / 1.783 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004563/4.236, allocations: 120 kB / 1.783 GB, free: 186.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/4.237, allocations: 0.5967 MB / 1.784 GB, free: 186 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/4.237, allocations: 0 / 1.784 GB, free: 186 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.272e-05/4.237, allocations: 20 kB / 1.784 GB, free: 186 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/4.237, allocations: 19.95 kB / 1.784 GB, free: 186 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/4.238, allocations: 417 kB / 1.784 GB, free: 185.6 MB / 0.9323 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.007911/4.246, allocations: 3.081 MB / 1.787 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007989/4.247, allocations: 303.9 kB / 1.788 GB, free: 182.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/4.247, allocations: 137.4 kB / 1.788 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003303/4.248, allocations: 347.6 kB / 1.788 GB, free: 181.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/4.248, allocations: 30.84 kB / 1.788 GB, free: 181.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 3.346e-06/4.248, allocations: 0 / 1.788 GB, free: 181.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.001545/4.249, allocations: 406.5 kB / 1.789 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/4.249, allocations: 55.41 kB / 1.789 GB, free: 181 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/4.251, allocations: 0.7575 MB / 1.789 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000453/4.251, allocations: 57.7 kB / 1.789 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005869/4.252, allocations: 0.5517 MB / 1.79 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/4.252, allocations: 117.7 kB / 1.79 GB, free: 179.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/4.252, allocations: 8 kB / 1.79 GB, free: 179.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.939e-05/4.252, allocations: 333.9 kB / 1.79 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/4.252, allocations: 157.5 kB / 1.79 GB, free: 179 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/4.255, allocations: 1.402 MB / 1.792 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007053/4.255, allocations: 297.6 kB / 1.792 GB, free: 176.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/4.255, allocations: 0 / 1.792 GB, free: 176.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001922/4.257, allocations: 0.5993 MB / 1.793 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000177/4.257, allocations: 0.8138 MB / 1.794 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/4.257, allocations: 3.984 kB / 1.794 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.064e-05/4.258, allocations: 8 kB / 1.794 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002281/4.26, allocations: 203.5 kB / 1.794 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/4.261, allocations: 2.957 MB / 1.797 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006504/4.268, allocations: 0.9134 MB / 1.798 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/4.268, allocations: 31.97 kB / 1.798 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/4.268, allocations: 4 kB / 1.798 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001235/4.269, allocations: 465.2 kB / 1.798 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/4.27, allocations: 7.984 kB / 1.798 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/4.27, allocations: 4 kB / 1.798 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/4.271, allocations: 167.9 kB / 1.798 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/4.271, allocations: 8 kB / 1.798 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006304/4.277, allocations: 0.9054 MB / 1.799 GB, free: 169.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/4.277, allocations: 27.98 kB / 1.799 GB, free: 169.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005718/4.278, allocations: 165.9 kB / 1.799 GB, free: 169.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/4.278, allocations: 90.78 kB / 1.799 GB, free: 169.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/4.28, allocations: 495.7 kB / 1.8 GB, free: 168.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/4.28, allocations: 11.98 kB / 1.8 GB, free: 168.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/4.28, allocations: 0 / 1.8 GB, free: 168.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/4.28, allocations: 7.891 kB / 1.8 GB, free: 168.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002685/4.283, allocations: 1.225 MB / 1.801 GB, free: 167.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/4.283, allocations: 4 kB / 1.801 GB, free: 167.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009952/4.284, allocations: 125.8 kB / 1.801 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/4.284, allocations: 3.953 kB / 1.801 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/4.284, allocations: 12 kB / 1.801 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/4.285, allocations: 2.934 MB / 1.804 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/4.285, allocations: 7.984 kB / 1.804 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/4.286, allocations: 0.5914 MB / 1.805 GB, free: 163.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005154/4.287, allocations: 223.6 kB / 1.805 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/4.287, allocations: 11.94 kB / 1.805 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/4.288, allocations: 71.86 kB / 1.805 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/4.288, allocations: 23.97 kB / 1.805 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/4.288, allocations: 19.98 kB / 1.805 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001061/4.289, allocations: 0.5735 MB / 1.805 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.423e-06/4.289, allocations: 0 / 1.805 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002772/4.292, allocations: 0.6165 MB / 1.806 GB, free: 162.2 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001284/4.293, allocations: 0.5072 MB / 1.807 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003584/4.297, allocations: 0.7822 MB / 1.807 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/4.297, allocations: 4 kB / 1.807 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008296/4.298, allocations: 203.7 kB / 1.808 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00435/4.302, allocations: 482.4 kB / 1.808 GB, free: 160.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/4.305, allocations: 1.05 MB / 1.809 GB, free: 159.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005011/4.306, allocations: 1.044 MB / 1.81 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002439/4.308, allocations: 278 kB / 1.81 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/4.308, allocations: 63.42 kB / 1.81 GB, free: 157.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.262e-06/4.308, allocations: 0 / 1.81 GB, free: 157.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.06718/4.376, allocations: 29.82 MB / 1.84 GB, free: 128.3 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)