Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7341/0.7341, allocations: 130.7 MB / 138.7 MB, free: 3.508 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.527/1.527, 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.0008976/0.0008976, allocations: 100.7 kB / 473.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.147e-05/2.148e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.4781, allocations: 81.57 MB / 0.6282 GB, free: 42.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8909/1.369, allocations: 362.9 MB / 0.9826 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/1.369, allocations: 95.88 kB / 0.9827 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.8241/2.194, allocations: 177.5 MB / 1.156 GB, free: 160.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.604e-06/2.194, allocations: 0 / 1.156 GB, free: 160.1 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.73e-05/2.194, allocations: 19.98 kB / 1.156 GB, free: 160.1 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001833/2.196, allocations: 0.7746 MB / 1.157 GB, free: 159.2 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/2.196, allocations: 8.031 kB / 1.157 GB, free: 159.2 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/2.196, allocations: 67.3 kB / 1.157 GB, free: 159.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009461/2.197, allocations: 455.5 kB / 1.157 GB, free: 158.7 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/2.197, allocations: 12 kB / 1.157 GB, free: 158.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/2.197, allocations: 20 kB / 1.157 GB, free: 158.6 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003192/2.197, allocations: 137.1 kB / 1.157 GB, free: 158.5 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/2.198, allocations: 233.3 kB / 1.158 GB, free: 158.3 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/2.198, allocations: 7.922 kB / 1.158 GB, free: 158.3 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/2.198, allocations: 0 / 1.158 GB, free: 158.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/2.198, allocations: 11.95 kB / 1.158 GB, free: 158.2 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.0019/2.2, allocations: 1.437 MB / 1.159 GB, free: 156.7 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/2.2, allocations: 142.7 kB / 1.159 GB, free: 156.6 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.302e-05/2.2, allocations: 60.94 kB / 1.159 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001544/2.202, allocations: 1.288 MB / 1.161 GB, free: 155 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/2.202, allocations: 50.39 kB / 1.161 GB, free: 155 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 2.074e-06/2.202, allocations: 0 / 1.161 GB, free: 155 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0005961/2.202, allocations: 173.2 kB / 1.161 GB, free: 154.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/2.202, allocations: 59.39 kB / 1.161 GB, free: 154.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005641/2.203, allocations: 469.3 kB / 1.161 GB, free: 154.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/2.203, allocations: 29.7 kB / 1.161 GB, free: 154.2 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/2.203, allocations: 260.3 kB / 1.162 GB, free: 154 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/2.203, allocations: 55.2 kB / 1.162 GB, free: 153.9 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/2.203, allocations: 0 / 1.162 GB, free: 153.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000117/2.203, allocations: 362.7 kB / 1.162 GB, free: 153.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.454e-05/2.203, allocations: 44.56 kB / 1.162 GB, free: 153.5 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/2.203, allocations: 209 kB / 1.162 GB, free: 153.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/2.204, allocations: 106 kB / 1.162 GB, free: 153.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/2.204, allocations: 0 / 1.162 GB, free: 153.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004976/2.204, allocations: 268.9 kB / 1.163 GB, free: 152.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002024/2.205, allocations: 0.9653 MB / 1.164 GB, free: 151.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/2.205, allocations: 4 kB / 1.164 GB, free: 151.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/2.205, allocations: 7.984 kB / 1.164 GB, free: 151.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/2.205, allocations: 59.91 kB / 1.164 GB, free: 151.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/2.205, allocations: 7.938 kB / 1.164 GB, free: 151.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/2.205, allocations: 43.75 kB / 1.164 GB, free: 151.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/2.205, allocations: 16 kB / 1.164 GB, free: 151.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/2.205, allocations: 4 kB / 1.164 GB, free: 151.7 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003759/2.206, allocations: 193.7 kB / 1.164 GB, free: 151.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/2.206, allocations: 0 / 1.164 GB, free: 151.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-06/2.206, allocations: 4 kB / 1.164 GB, free: 151.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/2.206, allocations: 67.91 kB / 1.164 GB, free: 151.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/2.206, allocations: 7.984 kB / 1.164 GB, free: 151.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/2.206, allocations: 43.78 kB / 1.164 GB, free: 151.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/2.206, allocations: 19.98 kB / 1.164 GB, free: 151.4 MB / 0.6667 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 () * 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 9.698e-05/2.206, allocations: 110.5 kB / 1.164 GB, free: 151.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.067e-05/2.206, allocations: 51.38 kB / 1.164 GB, free: 151.2 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00049/2.207, allocations: 229.4 kB / 1.164 GB, free: 151 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/2.207, allocations: 4 kB / 1.164 GB, free: 151 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/2.207, allocations: 4 kB / 1.164 GB, free: 151 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/2.207, allocations: 0 / 1.164 GB, free: 151 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008573/2.208, allocations: 0.6737 MB / 1.165 GB, free: 150.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/2.208, allocations: 0 / 1.165 GB, free: 150.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/2.208, allocations: 39.97 kB / 1.165 GB, free: 150.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/2.208, allocations: 4.125 kB / 1.165 GB, free: 150.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/2.208, allocations: 4 kB / 1.165 GB, free: 150.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/2.208, allocations: 0 / 1.165 GB, free: 150.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/2.208, allocations: 11.88 kB / 1.165 GB, free: 150.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/2.208, allocations: 371.2 kB / 1.165 GB, free: 149.8 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/2.209, allocations: 152.4 kB / 1.166 GB, free: 149.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.549e-05/2.209, allocations: 0 / 1.166 GB, free: 149.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/2.209, allocations: 27.92 kB / 1.166 GB, free: 149.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/2.209, allocations: 11.98 kB / 1.166 GB, free: 149.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/2.209, allocations: 7.984 kB / 1.166 GB, free: 149.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003367/2.209, allocations: 370.8 kB / 1.166 GB, free: 149.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.51e-07/2.209, allocations: 0 / 1.166 GB, free: 149.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008617/2.21, allocations: 247.6 kB / 1.166 GB, free: 148.9 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 (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.001272/2.211, allocations: 0.5755 MB / 1.167 GB, free: 148.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004358/2.212, allocations: 279.1 kB / 1.167 GB, free: 148.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/2.212, allocations: 0 / 1.167 GB, free: 148.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 9.573e-05/2.212, allocations: 76.03 kB / 1.167 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/2.213, allocations: 218.4 kB / 1.167 GB, free: 147.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/2.214, allocations: 0.5623 MB / 1.168 GB, free: 147.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/2.214, allocations: 0.8552 MB / 1.169 GB, free: 146.4 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000533/2.215, allocations: 176 kB / 1.169 GB, free: 146.2 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/2.215, allocations: 27.44 kB / 1.169 GB, free: 146.2 MB / 0.6667 GB Notification: Performance of SimCode: time 3.31e-07/2.215, allocations: 0 / 1.169 GB, free: 146.2 MB / 0.6667 GB Notification: Performance of Templates: time 0.01388/2.229, allocations: 9.891 MB / 1.179 GB, free: 136.4 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)