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.001335/0.001335, allocations: 169.5 kB / 12.72 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7525/0.7525, allocations: 130.5 MB / 143.8 MB, free: 13.59 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 221.3 MB / 396.8 MB, free: 9.121 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009104/0.0009102, allocations: 94.67 kB / 478.9 MB, free: 10.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.976e-05/3.976e-05, allocations: 4.125 kB / 0.5551 GB, free: 86.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1705, allocations: 81.59 MB / 0.6348 GB, free: 12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.268/1.439, allocations: 359.1 MB / 0.9854 GB, free: 263 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003997/1.439, allocations: 95.16 kB / 0.9855 GB, free: 263 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3236/1.763, allocations: 178.5 MB / 1.16 GB, free: 92.79 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.884e-06/1.763, allocations: 0 / 1.16 GB, free: 92.79 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.222e-05/1.763, allocations: 12 kB / 1.16 GB, free: 92.78 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.001104/1.764, allocations: 0.7396 MB / 1.161 GB, free: 91.99 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.764, allocations: 8.031 kB / 1.161 GB, free: 91.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.916e-05/1.764, allocations: 59.3 kB / 1.161 GB, free: 91.92 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/1.765, allocations: 425.5 kB / 1.161 GB, free: 91.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/1.765, allocations: 20.44 kB / 1.161 GB, free: 91.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/1.765, allocations: 28 kB / 1.161 GB, free: 91.42 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/1.765, allocations: 195.2 kB / 1.161 GB, free: 91.22 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/1.765, allocations: 0 / 1.161 GB, free: 91.22 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/1.765, allocations: 8 kB / 1.161 GB, free: 91.21 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/1.765, allocations: 11.95 kB / 1.161 GB, free: 91.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/1.765, allocations: 133.7 kB / 1.161 GB, free: 91.07 MB / 0.6823 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.001339/1.767, allocations: 0.9536 MB / 1.162 GB, free: 90.04 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/1.767, allocations: 118.5 kB / 1.162 GB, free: 89.91 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.314e-05/1.767, allocations: 56.84 kB / 1.162 GB, free: 89.85 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/1.767, allocations: 344.4 kB / 1.163 GB, free: 89.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/1.767, allocations: 34.56 kB / 1.163 GB, free: 89.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/1.767, allocations: 4 kB / 1.163 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0003093/1.768, allocations: 162.1 kB / 1.163 GB, free: 89.23 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/1.768, allocations: 55.41 kB / 1.163 GB, free: 89.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/1.768, allocations: 415.9 kB / 1.163 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/1.768, allocations: 29.7 kB / 1.163 GB, free: 88.71 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/1.768, allocations: 228.4 kB / 1.164 GB, free: 88.49 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/1.768, allocations: 43.3 kB / 1.164 GB, free: 88.45 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/1.768, allocations: 4 kB / 1.164 GB, free: 88.44 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.11e-05/1.768, allocations: 358.7 kB / 1.164 GB, free: 88.08 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/1.768, allocations: 55.94 kB / 1.164 GB, free: 88.03 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/1.768, allocations: 151.1 kB / 1.164 GB, free: 87.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/1.769, allocations: 76.91 kB / 1.164 GB, free: 87.77 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.769, allocations: 0 / 1.164 GB, free: 87.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002923/1.769, allocations: 218.4 kB / 1.165 GB, free: 87.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.441e-05/1.769, allocations: 276.5 kB / 1.165 GB, free: 87.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.769, allocations: 8 kB / 1.165 GB, free: 87.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/1.769, allocations: 0 / 1.165 GB, free: 87.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/1.769, allocations: 55.91 kB / 1.165 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/1.769, allocations: 0 / 1.165 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/1.77, allocations: 47.81 kB / 1.165 GB, free: 87.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/1.77, allocations: 11.98 kB / 1.165 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.602e-06/1.77, allocations: 4 kB / 1.165 GB, free: 87.13 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002292/1.77, allocations: 147.8 kB / 1.165 GB, free: 86.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-06/1.77, allocations: 0 / 1.165 GB, free: 86.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-06/1.77, allocations: 4 kB / 1.165 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/1.77, allocations: 47.91 kB / 1.165 GB, free: 86.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/1.77, allocations: 4 kB / 1.165 GB, free: 86.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/1.77, allocations: 51.66 kB / 1.165 GB, free: 86.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/1.77, allocations: 15.98 kB / 1.165 GB, free: 86.87 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 () * 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 6.751e-05/1.77, allocations: 116.7 kB / 1.165 GB, free: 86.75 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/1.771, allocations: 39.72 kB / 1.165 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000353/1.771, allocations: 242.3 kB / 1.166 GB, free: 86.46 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.771, allocations: 0 / 1.166 GB, free: 86.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.771, allocations: 0 / 1.166 GB, free: 86.46 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.771, allocations: 0 / 1.166 GB, free: 86.46 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006682/1.772, allocations: 0.6906 MB / 1.166 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.772, allocations: 0 / 1.166 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/1.772, allocations: 35.92 kB / 1.166 GB, free: 85.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/1.772, allocations: 0 / 1.166 GB, free: 85.67 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/1.772, allocations: 8 kB / 1.166 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.772, allocations: 3.938 kB / 1.166 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.772, allocations: 7.953 kB / 1.166 GB, free: 85.65 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/1.772, allocations: 366.7 kB / 1.167 GB, free: 85.24 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/1.772, allocations: 148.4 kB / 1.167 GB, free: 85.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/1.772, allocations: 4 kB / 1.167 GB, free: 85.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/1.772, allocations: 31.88 kB / 1.167 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/1.773, allocations: 11.98 kB / 1.167 GB, free: 85.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/1.773, allocations: 8 kB / 1.167 GB, free: 85.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002967/1.773, allocations: 325.6 kB / 1.167 GB, free: 84.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.773, allocations: 0 / 1.167 GB, free: 84.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000702/1.774, allocations: 231.7 kB / 1.167 GB, free: 84.48 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 () * 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.001114/1.775, allocations: 0.5473 MB / 1.168 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003812/1.775, allocations: 243.9 kB / 1.168 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.775, allocations: 0 / 1.168 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.953e-05/1.775, allocations: 71.86 kB / 1.168 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/1.776, allocations: 221.4 kB / 1.168 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008076/1.777, allocations: 0.4921 MB / 1.169 GB, free: 82.98 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/1.777, allocations: 0.8395 MB / 1.17 GB, free: 82.12 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003733/1.778, allocations: 139 kB / 1.17 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/1.778, allocations: 27.42 kB / 1.17 GB, free: 81.95 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/1.778, allocations: 0 / 1.17 GB, free: 81.95 MB / 0.6823 GB Notification: Performance of Templates: time 0.01499/1.793, allocations: 10.31 MB / 1.18 GB, free: 71.75 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)