Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json 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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 174.7 kB / 7.644 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7406/0.7406, allocations: 130.7 MB / 138.7 MB, free: 3.5 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 221.5 MB / 391.8 MB, free: 14.16 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.0009798/0.0009798, allocations: 98.17 kB / 473.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.682e-05/1.685e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5393/0.5393, allocations: 81.57 MB / 0.6282 GB, free: 42.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.852/1.391, allocations: 358.4 MB / 0.9782 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/1.392, allocations: 86.58 kB / 0.9783 GB, free: 1.203 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.7224/2.114, allocations: 177.2 MB / 1.151 GB, free: 164.7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.132e-06/2.114, allocations: 0 / 1.151 GB, free: 164.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.984e-05/2.114, allocations: 12 kB / 1.151 GB, free: 164.7 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001001/2.115, allocations: 0.7435 MB / 1.152 GB, free: 163.9 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/2.115, allocations: 8.031 kB / 1.152 GB, free: 163.9 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.465e-05/2.115, allocations: 59.3 kB / 1.152 GB, free: 163.9 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005785/2.116, allocations: 431.5 kB / 1.152 GB, free: 163.4 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/2.116, allocations: 12 kB / 1.153 GB, free: 163.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/2.116, allocations: 16 kB / 1.153 GB, free: 163.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000216/2.116, allocations: 128.8 kB / 1.153 GB, free: 163.3 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/2.116, allocations: 162.4 kB / 1.153 GB, free: 163.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/2.116, allocations: 0 / 1.153 GB, free: 163.1 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.01e-05/2.117, allocations: 3.953 kB / 1.153 GB, free: 163.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/2.117, allocations: 4 kB / 1.153 GB, free: 163.1 MB / 0.6667 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.001238/2.118, allocations: 0.8909 MB / 1.154 GB, free: 162.1 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/2.118, allocations: 110.6 kB / 1.154 GB, free: 162 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.954e-05/2.118, allocations: 60.78 kB / 1.154 GB, free: 162 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002171/2.118, allocations: 344.5 kB / 1.154 GB, free: 161.5 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/2.118, allocations: 30.56 kB / 1.154 GB, free: 161.5 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/2.118, allocations: 0 / 1.154 GB, free: 161.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14): time 0.0003671/2.119, allocations: 170.1 kB / 1.154 GB, free: 161.3 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/2.119, allocations: 51.41 kB / 1.154 GB, free: 161.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/2.119, allocations: 361.2 kB / 1.155 GB, free: 160.9 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/2.119, allocations: 29.7 kB / 1.155 GB, free: 160.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/2.119, allocations: 236.7 kB / 1.155 GB, free: 160.6 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/2.119, allocations: 39.36 kB / 1.155 GB, free: 160.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/2.119, allocations: 0 / 1.155 GB, free: 160.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.538e-05/2.119, allocations: 350.8 kB / 1.155 GB, free: 160.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.145e-05/2.119, allocations: 43.98 kB / 1.155 GB, free: 160.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/2.119, allocations: 155.1 kB / 1.156 GB, free: 160 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/2.12, allocations: 88.98 kB / 1.156 GB, free: 159.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/2.12, allocations: 0 / 1.156 GB, free: 159.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003168/2.12, allocations: 209.1 kB / 1.156 GB, free: 159.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.879e-05/2.12, allocations: 272.9 kB / 1.156 GB, free: 159.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/2.12, allocations: 3.984 kB / 1.156 GB, free: 159.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/2.12, allocations: 3.953 kB / 1.156 GB, free: 159.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/2.12, allocations: 55.91 kB / 1.156 GB, free: 159.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/2.12, allocations: 4 kB / 1.156 GB, free: 159.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/2.121, allocations: 43.66 kB / 1.156 GB, free: 159.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/2.121, allocations: 11.98 kB / 1.156 GB, free: 159.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/2.121, allocations: 7.938 kB / 1.156 GB, free: 159.3 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002557/2.121, allocations: 135.9 kB / 1.156 GB, free: 159.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-06/2.121, allocations: 4 kB / 1.156 GB, free: 159.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-06/2.121, allocations: 0 / 1.156 GB, free: 159.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/2.121, allocations: 47.91 kB / 1.156 GB, free: 159.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-06/2.121, allocations: 7.984 kB / 1.156 GB, free: 159.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/2.121, allocations: 35.88 kB / 1.156 GB, free: 159.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/2.122, allocations: 16 kB / 1.156 GB, free: 159.1 MB / 0.6667 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 7.192e-05/2.122, allocations: 106.6 kB / 1.157 GB, free: 159 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/2.122, allocations: 47.42 kB / 1.157 GB, free: 158.9 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003958/2.122, allocations: 210.6 kB / 1.157 GB, free: 158.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/2.122, allocations: 7.984 kB / 1.157 GB, free: 158.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/2.122, allocations: 4 kB / 1.157 GB, free: 158.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/2.122, allocations: 0 / 1.157 GB, free: 158.7 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006497/2.123, allocations: 0.6291 MB / 1.157 GB, free: 158 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/2.123, allocations: 0 / 1.157 GB, free: 158 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/2.123, allocations: 36.09 kB / 1.157 GB, free: 158 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/2.123, allocations: 4 kB / 1.157 GB, free: 158 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/2.123, allocations: 7.938 kB / 1.157 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/2.123, allocations: 0 / 1.157 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/2.123, allocations: 7.938 kB / 1.158 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/2.123, allocations: 345.2 kB / 1.158 GB, free: 157.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/2.123, allocations: 152.4 kB / 1.158 GB, free: 157.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/2.123, allocations: 7.984 kB / 1.158 GB, free: 157.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/2.124, allocations: 19.98 kB / 1.158 GB, free: 157.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/2.124, allocations: 19.91 kB / 1.158 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/2.124, allocations: 4 kB / 1.158 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002224/2.124, allocations: 286.9 kB / 1.158 GB, free: 157.1 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.51e-07/2.124, allocations: 0 / 1.158 GB, free: 157.1 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007376/2.125, allocations: 219.6 kB / 1.159 GB, free: 156.8 MB / 0.6667 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 (16): * Single equations (assignments): 14 * 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.001069/2.126, allocations: 0.5233 MB / 1.159 GB, free: 156.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003471/2.126, allocations: 234.1 kB / 1.159 GB, free: 156.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/2.126, allocations: 8 kB / 1.159 GB, free: 156.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 8.78e-05/2.126, allocations: 67.92 kB / 1.159 GB, free: 156.1 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009852/2.127, allocations: 182.8 kB / 1.159 GB, free: 155.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007985/2.128, allocations: 487 kB / 1.16 GB, free: 155.4 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/2.128, allocations: 0.8429 MB / 1.161 GB, free: 154.5 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003681/2.129, allocations: 119.5 kB / 1.161 GB, free: 154.4 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.894e-05/2.129, allocations: 39.36 kB / 1.161 GB, free: 154.4 MB / 0.6667 GB Notification: Performance of SimCode: time 4.51e-07/2.129, allocations: 0 / 1.161 GB, free: 154.4 MB / 0.6667 GB Notification: Performance of Templates: time 0.01184/2.141, allocations: 8.37 MB / 1.169 GB, free: 146.1 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)