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.0124/0.0124, allocations: 170.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7992/0.7992, allocations: 132.3 MB / 148.1 MB, free: 240 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.725/1.725, allocations: 223.2 MB / 403.2 MB, free: 6.746 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.0009855/0.0009854, allocations: 97.33 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003809, allocations: 12 kB / 0.5641 GB, free: 2.129 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4451, allocations: 81.58 MB / 0.6438 GB, free: 39.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8486/1.294, allocations: 359.2 MB / 0.9945 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004018/1.294, allocations: 106.4 kB / 0.9946 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.6963/1.991, allocations: 178.9 MB / 1.169 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/1.991, allocations: 4 kB / 1.169 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.629e-05/1.991, allocations: 19.98 kB / 1.169 GB, free: 161.2 MB / 0.6823 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.001453/1.992, allocations: 0.8214 MB / 1.17 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/1.992, allocations: 12.03 kB / 1.17 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/1.992, allocations: 63.3 kB / 1.17 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007103/1.993, allocations: 437.3 kB / 1.171 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/1.993, allocations: 20.44 kB / 1.171 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/1.993, allocations: 31.94 kB / 1.171 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/1.993, allocations: 207.2 kB / 1.171 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.993, allocations: 3.938 kB / 1.171 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/1.993, allocations: 12 kB / 1.171 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/1.993, allocations: 7.953 kB / 1.171 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/1.994, allocations: 173.6 kB / 1.171 GB, free: 159.3 MB / 0.6823 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.001412/1.995, allocations: 0.9497 MB / 1.172 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/1.996, allocations: 142.6 kB / 1.172 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/1.996, allocations: 332.4 kB / 1.172 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/1.996, allocations: 38.55 kB / 1.173 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/1.996, allocations: 0 / 1.173 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0005523/1.996, allocations: 254.1 kB / 1.173 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/1.996, allocations: 51.41 kB / 1.173 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/1.997, allocations: 421.2 kB / 1.173 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/1.997, allocations: 29.7 kB / 1.173 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/1.997, allocations: 232.6 kB / 1.173 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/1.997, allocations: 43.42 kB / 1.173 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/1.997, allocations: 4 kB / 1.173 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/1.997, allocations: 362.7 kB / 1.174 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/1.997, allocations: 63.95 kB / 1.174 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/1.998, allocations: 175.3 kB / 1.174 GB, free: 156 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/1.998, allocations: 89.69 kB / 1.174 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.998, allocations: 4 kB / 1.174 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004458/1.998, allocations: 253 kB / 1.174 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.91e-05/1.998, allocations: 275 kB / 1.175 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/1.998, allocations: 0 / 1.175 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/1.998, allocations: 4 kB / 1.175 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/1.999, allocations: 51.91 kB / 1.175 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/1.999, allocations: 0 / 1.175 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004369/1.999, allocations: 51.73 kB / 1.175 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/1.999, allocations: 12 kB / 1.175 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/1.999, allocations: 4.625 kB / 1.175 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003746/1.999, allocations: 190.1 kB / 1.175 GB, free: 155 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/1.999, allocations: 7.984 kB / 1.175 GB, free: 155 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-06/1.999, allocations: 0 / 1.175 GB, free: 155 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/2, allocations: 51.91 kB / 1.175 GB, free: 155 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/2, allocations: 3.938 kB / 1.175 GB, free: 155 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/2, allocations: 47.72 kB / 1.175 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/2, allocations: 12 kB / 1.175 GB, free: 154.9 MB / 0.6823 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 () * Number of clocked 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 0.0002493/2, allocations: 253 kB / 1.175 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/2, allocations: 39.53 kB / 1.175 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005046/2.001, allocations: 265 kB / 1.176 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/2.001, allocations: 3.938 kB / 1.176 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/2.001, allocations: 8 kB / 1.176 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/2.001, allocations: 4.125 kB / 1.176 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000867/2.002, allocations: 0.7116 MB / 1.176 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/2.002, allocations: 3.984 kB / 1.176 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/2.002, allocations: 31.98 kB / 1.176 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/2.002, allocations: 7.984 kB / 1.176 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/2.002, allocations: 0 / 1.176 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/2.002, allocations: 4 kB / 1.176 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/2.002, allocations: 7.891 kB / 1.176 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004305/2.002, allocations: 397.2 kB / 1.177 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/2.003, allocations: 144.5 kB / 1.177 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/2.003, allocations: 7.984 kB / 1.177 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/2.003, allocations: 27.89 kB / 1.177 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/2.003, allocations: 15.97 kB / 1.177 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/2.003, allocations: 8 kB / 1.177 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003613/2.003, allocations: 334.8 kB / 1.177 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/2.003, allocations: 0 / 1.177 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001031/2.004, allocations: 235.6 kB / 1.177 GB, free: 152.3 MB / 0.6823 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 (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.001291/2.006, allocations: 0.5719 MB / 1.178 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006278/2.006, allocations: 279.7 kB / 1.178 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/2.006, allocations: 0 / 1.178 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/2.007, allocations: 96.08 kB / 1.178 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/2.008, allocations: 222.9 kB / 1.179 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/2.009, allocations: 0.8407 MB / 1.179 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/2.009, allocations: 0.8428 MB / 1.18 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003198/2.01, allocations: 83.23 kB / 1.18 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.573e-05/2.01, allocations: 35.42 kB / 1.18 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of SimCode: time 6.21e-07/2.01, allocations: 0 / 1.18 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.01438/2.024, allocations: 9.248 MB / 1.189 GB, free: 140.3 MB / 0.6823 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)