Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.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-master/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-master/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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008538/0.008538, allocations: 170.2 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7916/0.7916, allocations: 135.2 MB / 151.1 MB, free: 13.82 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.623/1.623, allocations: 223.2 MB / 406.9 MB, free: 3.238 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.001257/0.001257, allocations: 102.9 kB / 489.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000418/0.0004181, allocations: 19.94 kB / 0.5691 GB, free: 14.2 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.505/0.5054, allocations: 82.3 MB / 0.6495 GB, free: 36.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/1.54, allocations: 393.1 MB / 1.033 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/1.54, allocations: 108.9 kB / 1.033 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.841/5.381, allocations: 0.9941 GB / 2.028 GB, free: 67.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.906e-06/5.381, allocations: 0 / 2.028 GB, free: 67.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002727/5.382, allocations: 88.94 kB / 2.028 GB, free: 67.29 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.006092/5.388, allocations: 3.055 MB / 2.031 GB, free: 65.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/5.388, allocations: 11.73 kB / 2.031 GB, free: 65.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008088/5.389, allocations: 331.8 kB / 2.031 GB, free: 64.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004509/5.393, allocations: 2.491 MB / 2.033 GB, free: 62.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.045e-05/5.393, allocations: 131 kB / 2.034 GB, free: 62.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/5.393, allocations: 180 kB / 2.034 GB, free: 62.42 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/5.396, allocations: 1.558 MB / 2.035 GB, free: 60.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/5.396, allocations: 3.938 kB / 2.035 GB, free: 60.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/5.396, allocations: 64 kB / 2.035 GB, free: 60.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/5.396, allocations: 36 kB / 2.035 GB, free: 60.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/5.397, allocations: 1.12 MB / 2.036 GB, free: 59.57 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.008805/5.406, allocations: 8.001 MB / 2.044 GB, free: 51.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/5.407, allocations: 468 kB / 2.045 GB, free: 50.63 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004284/5.407, allocations: 0.7485 MB / 2.045 GB, free: 49.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/5.407, allocations: 47.12 kB / 2.045 GB, free: 49.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 2.494e-06/5.407, allocations: 0 / 2.045 GB, free: 49.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001627/5.409, allocations: 1.011 MB / 2.046 GB, free: 48.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/5.409, allocations: 59.97 kB / 2.046 GB, free: 48.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/5.411, allocations: 2.077 MB / 2.049 GB, free: 46.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.991e-05/5.411, allocations: 53.7 kB / 2.049 GB, free: 46.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006723/5.412, allocations: 1.155 MB / 2.05 GB, free: 45.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/5.412, allocations: 213 kB / 2.05 GB, free: 45.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/5.412, allocations: 20 kB / 2.05 GB, free: 45.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.593e-05/5.412, allocations: 345.9 kB / 2.05 GB, free: 44.67 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/5.413, allocations: 346.5 kB / 2.051 GB, free: 44.33 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006834/5.413, allocations: 0.8086 MB / 2.051 GB, free: 43.33 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006031/5.414, allocations: 469.4 kB / 2.052 GB, free: 42.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/5.414, allocations: 4 kB / 2.052 GB, free: 42.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001615/5.416, allocations: 1.252 MB / 2.053 GB, free: 41.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004652/5.416, allocations: 3.219 MB / 2.056 GB, free: 38.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/5.416, allocations: 4 kB / 2.056 GB, free: 38.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/5.416, allocations: 16 kB / 2.056 GB, free: 38.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000939/5.417, allocations: 263.6 kB / 2.056 GB, free: 37.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/5.417, allocations: 25.42 kB / 2.056 GB, free: 37.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/5.419, allocations: 270 kB / 2.057 GB, free: 37.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.828e-05/5.419, allocations: 59.92 kB / 2.057 GB, free: 37.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/5.419, allocations: 4.938 kB / 2.057 GB, free: 37.49 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00131/5.42, allocations: 1.007 MB / 2.058 GB, free: 36.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/5.42, allocations: 8 kB / 2.058 GB, free: 36.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/5.42, allocations: 16 kB / 2.058 GB, free: 36.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008169/5.421, allocations: 251.6 kB / 2.058 GB, free: 36.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/5.421, allocations: 23.92 kB / 2.058 GB, free: 36.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/5.423, allocations: 238.8 kB / 2.058 GB, free: 35.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.81e-05/5.423, allocations: 51.97 kB / 2.058 GB, free: 35.91 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (138): * Single equations (assignments): 138 * 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.000974/5.424, allocations: 0.5791 MB / 2.059 GB, free: 35.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/5.424, allocations: 241 kB / 2.059 GB, free: 35.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/5.426, allocations: 0.9325 MB / 2.06 GB, free: 34.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/5.426, allocations: 8 kB / 2.06 GB, free: 34.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/5.426, allocations: 0 / 2.06 GB, free: 34.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007891/5.426, allocations: 0.7221 MB / 2.061 GB, free: 33.37 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003658/5.43, allocations: 2.678 MB / 2.063 GB, free: 30.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/5.43, allocations: 7 kB / 2.063 GB, free: 30.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/5.431, allocations: 151.9 kB / 2.064 GB, free: 30.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/5.431, allocations: 7.938 kB / 2.064 GB, free: 30.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/5.431, allocations: 16 kB / 2.064 GB, free: 30.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/5.431, allocations: 0 / 2.064 GB, free: 30.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/5.431, allocations: 4 kB / 2.064 GB, free: 30.44 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/5.432, allocations: 1.403 MB / 2.065 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/5.433, allocations: 473.7 kB / 2.065 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/5.434, allocations: 12 kB / 2.065 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/5.435, allocations: 159.7 kB / 2.066 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/5.435, allocations: 48.44 kB / 2.066 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.025e-05/5.435, allocations: 39.97 kB / 2.066 GB, free: 28.24 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001998/5.437, allocations: 1.585 MB / 2.067 GB, free: 26.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/5.437, allocations: 0 / 2.067 GB, free: 26.65 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003346/5.44, allocations: 1.228 MB / 2.068 GB, free: 25.42 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002017/5.442, allocations: 1.258 MB / 2.07 GB, free: 24.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002308/5.445, allocations: 1.365 MB / 2.071 GB, free: 23.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/5.445, allocations: 7.938 kB / 2.071 GB, free: 23.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004358/5.445, allocations: 336.3 kB / 2.071 GB, free: 22.74 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005994/5.451, allocations: 1.492 MB / 2.073 GB, free: 21.31 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005354/5.457, allocations: 4.444 MB / 2.077 GB, free: 16.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008808/5.457, allocations: 1.645 MB / 2.079 GB, free: 15.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001895/5.459, allocations: 0.4974 MB / 2.079 GB, free: 14.69 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/5.46, allocations: 183.4 kB / 2.079 GB, free: 14.51 MB / 0.698 GB Notification: Performance of SimCode: time 6.41e-07/5.46, allocations: 0 / 2.079 GB, free: 14.51 MB / 0.698 GB Notification: Performance of Templates: time 0.5712/6.031, allocations: 51.5 MB / 2.13 GB, free: 73.34 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)