Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8479/0.8479, allocations: 143.4 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 183.4 kB / 191.5 MB, free: 5.742 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.2 MB / 447.7 MB, free: 6.535 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009766/0.0009769, allocations: 104.1 kB / 0.5188 GB, free: 2.879 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001773/0.001773, allocations: 275 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004326, allocations: 16 kB / 0.6929 GB, free: 2.316 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4335, allocations: 82.77 MB / 0.7737 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7779/1.212, allocations: 361.2 MB / 1.126 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/1.212, allocations: 108.5 kB / 1.127 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.6947/1.907, allocations: 179.1 MB / 1.301 GB, free: 155 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/1.907, allocations: 0 / 1.301 GB, free: 155 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.051e-05/1.907, allocations: 16 kB / 1.301 GB, free: 155 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001369/1.908, allocations: 0.8757 MB / 1.302 GB, free: 154.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/1.908, allocations: 12.03 kB / 1.302 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/1.908, allocations: 55.34 kB / 1.302 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006479/1.909, allocations: 465.2 kB / 1.303 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/1.909, allocations: 20.56 kB / 1.303 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/1.909, allocations: 32 kB / 1.303 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/1.909, allocations: 286.3 kB / 1.303 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/1.909, allocations: 7.875 kB / 1.303 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/1.91, allocations: 4 kB / 1.303 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/1.91, allocations: 8 kB / 1.303 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/1.91, allocations: 202.1 kB / 1.303 GB, free: 153 MB / 0.698 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.001562/1.911, allocations: 1.504 MB / 1.305 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/1.912, allocations: 167.6 kB / 1.305 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/1.913, allocations: 1.292 MB / 1.306 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/1.913, allocations: 34.56 kB / 1.306 GB, free: 149.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/1.913, allocations: 0 / 1.306 GB, free: 149.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0005478/1.914, allocations: 275 kB / 1.307 GB, free: 149.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/1.914, allocations: 55.41 kB / 1.307 GB, free: 149.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004794/1.914, allocations: 0.5175 MB / 1.307 GB, free: 148.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/1.914, allocations: 25.7 kB / 1.307 GB, free: 148.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/1.914, allocations: 276.1 kB / 1.307 GB, free: 148.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/1.914, allocations: 51.34 kB / 1.307 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/1.914, allocations: 4 kB / 1.307 GB, free: 148.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.295e-05/1.914, allocations: 358.8 kB / 1.308 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/1.915, allocations: 72.52 kB / 1.308 GB, free: 148 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/1.915, allocations: 233.8 kB / 1.308 GB, free: 147.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/1.915, allocations: 108 kB / 1.308 GB, free: 147.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.915, allocations: 0 / 1.308 GB, free: 147.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005262/1.916, allocations: 318.1 kB / 1.309 GB, free: 147.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001855/1.916, allocations: 0.9639 MB / 1.309 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/1.916, allocations: 3.953 kB / 1.309 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/1.916, allocations: 7.938 kB / 1.309 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/1.916, allocations: 63.91 kB / 1.31 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/1.916, allocations: 7.984 kB / 1.31 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/1.916, allocations: 51.67 kB / 1.31 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/1.916, allocations: 15.98 kB / 1.31 GB, free: 146.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/1.916, allocations: 4 kB / 1.31 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004068/1.917, allocations: 253.7 kB / 1.31 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/1.917, allocations: 4 kB / 1.31 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-06/1.917, allocations: 4 kB / 1.31 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/1.917, allocations: 67.89 kB / 1.31 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/1.917, allocations: 4.25 kB / 1.31 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/1.917, allocations: 51.75 kB / 1.31 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/1.917, allocations: 12 kB / 1.31 GB, free: 145.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001719/1.918, allocations: 265 kB / 1.31 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/1.918, allocations: 51.34 kB / 1.31 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004873/1.918, allocations: 277.5 kB / 1.311 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/1.918, allocations: 0 / 1.311 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.918, allocations: 3.953 kB / 1.311 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.918, allocations: 7.984 kB / 1.311 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008549/1.919, allocations: 0.7475 MB / 1.311 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/1.919, allocations: 7.938 kB / 1.311 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/1.919, allocations: 39.92 kB / 1.311 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.919, allocations: 4 kB / 1.311 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/1.919, allocations: 3.938 kB / 1.311 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/1.919, allocations: 4 kB / 1.311 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.919, allocations: 0 / 1.311 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/1.92, allocations: 421.7 kB / 1.312 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/1.92, allocations: 160.3 kB / 1.312 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/1.92, allocations: 4 kB / 1.312 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/1.92, allocations: 19.98 kB / 1.312 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/1.92, allocations: 15.97 kB / 1.312 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/1.92, allocations: 12 kB / 1.312 GB, free: 143.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003536/1.921, allocations: 406.8 kB / 1.312 GB, free: 143.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.921, allocations: 4 kB / 1.312 GB, free: 143.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007801/1.921, allocations: 263.7 kB / 1.313 GB, free: 142.9 MB / 0.698 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001179/1.923, allocations: 0.6113 MB / 1.313 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006069/1.923, allocations: 348.4 kB / 1.314 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.923, allocations: 0 / 1.314 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/1.923, allocations: 99.33 kB / 1.314 GB, free: 142 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/1.924, allocations: 247.6 kB / 1.314 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/1.926, allocations: 0.9645 MB / 1.315 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/1.926, allocations: 0.8587 MB / 1.316 GB, free: 139.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003136/1.926, allocations: 108.6 kB / 1.316 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.613e-05/1.926, allocations: 35.44 kB / 1.316 GB, free: 139.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/1.926, allocations: 0 / 1.316 GB, free: 139.7 MB / 0.698 GB Notification: Performance of Templates: time 0.01482/1.941, allocations: 11.05 MB / 1.327 GB, free: 128.8 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)