Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.705/1.705, allocations: 297.8 MB / 313.7 MB, free: 152 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 176.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 0.6626 GB, free: 4.305 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008139/0.000814, allocations: 99.97 kB / 0.7808 GB, free: 50.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004655/0.0004658, allocations: 12 kB / 0.9088 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7565/0.7569, allocations: 120.3 MB / 1.026 GB, free: 55.82 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8827/1.64, allocations: 391 MB / 1.408 GB, free: 253.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/1.64, allocations: 100.7 kB / 1.408 GB, free: 253.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.242/2.882, allocations: 435.9 MB / 1.834 GB, free: 177.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.352e-06/2.882, allocations: 0 / 1.834 GB, free: 177.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001606/2.882, allocations: 44.42 kB / 1.834 GB, free: 177.2 MB / 0.948 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.003743/2.886, allocations: 1.503 MB / 1.835 GB, free: 176.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/2.886, allocations: 8.906 kB / 1.835 GB, free: 176.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006527/2.886, allocations: 150.6 kB / 1.836 GB, free: 176.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/2.888, allocations: 0.8783 MB / 1.836 GB, free: 176 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.478e-05/2.888, allocations: 84.41 kB / 1.837 GB, free: 176 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/2.888, allocations: 121.7 kB / 1.837 GB, free: 176 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008888/2.889, allocations: 0.6355 MB / 1.837 GB, free: 175.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/2.889, allocations: 3.938 kB / 1.837 GB, free: 175.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.671e-05/2.889, allocations: 22.91 kB / 1.837 GB, free: 175.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/2.889, allocations: 14.81 kB / 1.837 GB, free: 175.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007477/2.89, allocations: 477.1 kB / 1.838 GB, free: 175.9 MB / 0.948 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.003988/2.894, allocations: 3.079 MB / 1.841 GB, free: 174.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000576/2.895, allocations: 324.5 kB / 1.841 GB, free: 174.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/2.895, allocations: 164.3 kB / 1.841 GB, free: 174.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002993/2.895, allocations: 349.2 kB / 1.842 GB, free: 174.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/2.895, allocations: 35.75 kB / 1.842 GB, free: 174.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.485e-06/2.895, allocations: 1.656 kB / 1.842 GB, free: 174.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001549/2.897, allocations: 0.5618 MB / 1.842 GB, free: 174.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/2.897, allocations: 59 kB / 1.842 GB, free: 174 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/2.898, allocations: 0.9043 MB / 1.843 GB, free: 173.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002447/2.899, allocations: 57.27 kB / 1.843 GB, free: 173.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003875/2.899, allocations: 0.5439 MB / 1.844 GB, free: 173.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.108e-05/2.899, allocations: 110 kB / 1.844 GB, free: 173.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/2.899, allocations: 13.31 kB / 1.844 GB, free: 173.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.688e-05/2.899, allocations: 329.7 kB / 1.844 GB, free: 173.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/2.9, allocations: 185.4 kB / 1.844 GB, free: 173.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/2.901, allocations: 1.439 MB / 1.846 GB, free: 172.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007649/2.902, allocations: 462.2 kB / 1.846 GB, free: 172.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/2.902, allocations: 0.9688 kB / 1.846 GB, free: 172.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001529/2.903, allocations: 0.6562 MB / 1.847 GB, free: 172 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-05/2.903, allocations: 156.9 kB / 1.847 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/2.903, allocations: 0.9688 kB / 1.847 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/2.903, allocations: 5.312 kB / 1.847 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/2.905, allocations: 242.3 kB / 1.847 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/2.906, allocations: 2.964 MB / 1.85 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004221/2.91, allocations: 0.9075 MB / 1.851 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/2.91, allocations: 30.86 kB / 1.851 GB, free: 168.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/2.91, allocations: 6.688 kB / 1.851 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001101/2.912, allocations: 0.5063 MB / 1.851 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/2.912, allocations: 3.562 kB / 1.851 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/2.912, allocations: 4.938 kB / 1.851 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006382/2.912, allocations: 165.1 kB / 1.852 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/2.912, allocations: 7.812 kB / 1.852 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003698/2.916, allocations: 0.9008 MB / 1.853 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.364e-05/2.916, allocations: 30.33 kB / 1.853 GB, free: 168.9 MB / 0.948 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 () * Number of clocked 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.0008267/2.917, allocations: 335.8 kB / 1.853 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/2.917, allocations: 95.12 kB / 1.853 GB, free: 168.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/2.918, allocations: 0.5374 MB / 1.853 GB, free: 168.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/2.918, allocations: 4.625 kB / 1.853 GB, free: 168.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/2.918, allocations: 0 / 1.853 GB, free: 168.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/2.918, allocations: 10.08 kB / 1.853 GB, free: 168.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/2.92, allocations: 1.287 MB / 1.855 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/2.92, allocations: 1.188 kB / 1.855 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004921/2.921, allocations: 122.2 kB / 1.855 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-06/2.921, allocations: 7.688 kB / 1.855 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/2.921, allocations: 8.469 kB / 1.855 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007688/2.922, allocations: 2.946 MB / 1.858 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/2.922, allocations: 2.312 kB / 1.858 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008145/2.922, allocations: 0.5807 MB / 1.858 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/2.923, allocations: 231.8 kB / 1.859 GB, free: 164.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-05/2.923, allocations: 14.31 kB / 1.859 GB, free: 164.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005318/2.923, allocations: 72.31 kB / 1.859 GB, free: 164.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/2.924, allocations: 27.83 kB / 1.859 GB, free: 164.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/2.924, allocations: 18.39 kB / 1.859 GB, free: 164.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007105/2.924, allocations: 0.6002 MB / 1.859 GB, free: 164.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/2.924, allocations: 0 / 1.859 GB, free: 164.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002207/2.926, allocations: 0.6096 MB / 1.86 GB, free: 164.7 MB / 0.948 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 (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.0009152/2.927, allocations: 0.5013 MB / 1.86 GB, free: 164.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0028/2.93, allocations: 0.8689 MB / 1.861 GB, free: 164.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/2.93, allocations: 4.938 kB / 1.861 GB, free: 164.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005423/2.931, allocations: 244.7 kB / 1.861 GB, free: 164.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/2.933, allocations: 482.7 kB / 1.862 GB, free: 164.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/2.936, allocations: 1.798 MB / 1.864 GB, free: 163.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/2.936, allocations: 1.024 MB / 1.865 GB, free: 162.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001435/2.938, allocations: 211.5 kB / 1.865 GB, free: 162.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/2.938, allocations: 82.09 kB / 1.865 GB, free: 162.9 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/2.938, allocations: 0 / 1.865 GB, free: 162.9 MB / 0.948 GB Notification: Performance of Templates: time 0.0429/2.981, allocations: 28.12 MB / 1.892 GB, free: 159.8 MB / 0.948 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)