Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.01032/0.01032, allocations: 170.4 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.8733/0.8733, allocations: 132.3 MB / 148.1 MB, free: 232 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.854/1.854, allocations: 223.2 MB / 403.2 MB, free: 6.754 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.001105/0.001105, allocations: 94.05 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003733, allocations: 16 kB / 0.5641 GB, free: 2.094 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5577/0.5581, allocations: 81.56 MB / 0.6437 GB, free: 39.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9903/1.548, allocations: 392.8 MB / 1.027 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/1.549, allocations: 108.6 kB / 1.027 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.847/5.396, allocations: 0.9942 GB / 2.022 GB, free: 80.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.453e-06/5.396, allocations: 0 / 2.022 GB, free: 80.13 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002996/5.396, allocations: 81.34 kB / 2.022 GB, free: 80.1 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.009549/5.406, allocations: 3.059 MB / 2.025 GB, free: 78.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.554e-05/5.406, allocations: 6.75 kB / 2.025 GB, free: 78.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/5.408, allocations: 333.9 kB / 2.025 GB, free: 77.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005532/5.413, allocations: 2.491 MB / 2.027 GB, free: 76.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.641e-05/5.413, allocations: 130.9 kB / 2.028 GB, free: 76.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002436/5.413, allocations: 175.2 kB / 2.028 GB, free: 76.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/5.416, allocations: 1.559 MB / 2.029 GB, free: 75.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.772e-05/5.416, allocations: 4.75 kB / 2.029 GB, free: 75.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/5.416, allocations: 65.34 kB / 2.029 GB, free: 75.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.868e-05/5.416, allocations: 48.36 kB / 2.029 GB, free: 75.42 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/5.418, allocations: 1.109 MB / 2.03 GB, free: 74.86 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.01213/5.43, allocations: 8.002 MB / 2.038 GB, free: 68.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007375/5.431, allocations: 459.5 kB / 2.039 GB, free: 67.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006277/5.432, allocations: 0.7578 MB / 2.039 GB, free: 67.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/5.432, allocations: 38.91 kB / 2.039 GB, free: 66.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 3.727e-06/5.432, allocations: 0 / 2.039 GB, free: 66.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.002679/5.435, allocations: 1.011 MB / 2.04 GB, free: 66.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/5.435, allocations: 62.3 kB / 2.041 GB, free: 66.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003323/5.438, allocations: 2.085 MB / 2.043 GB, free: 65.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002922/5.438, allocations: 48.92 kB / 2.043 GB, free: 65.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000927/5.439, allocations: 1.154 MB / 2.044 GB, free: 64.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/5.439, allocations: 213.1 kB / 2.044 GB, free: 64.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/5.439, allocations: 23.97 kB / 2.044 GB, free: 64.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001052/5.44, allocations: 345 kB / 2.044 GB, free: 63.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006266/5.44, allocations: 342.8 kB / 2.045 GB, free: 63.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007948/5.441, allocations: 0.8029 MB / 2.045 GB, free: 62.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006858/5.442, allocations: 469.8 kB / 2.046 GB, free: 62.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/5.442, allocations: 3.938 kB / 2.046 GB, free: 62.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002181/5.444, allocations: 1.27 MB / 2.047 GB, free: 61.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006426/5.445, allocations: 3.212 MB / 2.05 GB, free: 58.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/5.445, allocations: 7.812 kB / 2.05 GB, free: 58.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.47e-05/5.445, allocations: 11.78 kB / 2.05 GB, free: 58.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/5.446, allocations: 257.2 kB / 2.05 GB, free: 58.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.342e-05/5.446, allocations: 18.69 kB / 2.051 GB, free: 58.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/5.448, allocations: 277.6 kB / 2.051 GB, free: 58.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/5.448, allocations: 55.16 kB / 2.051 GB, free: 58.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/5.448, allocations: 3.969 kB / 2.051 GB, free: 58.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001559/5.45, allocations: 1.004 MB / 2.052 GB, free: 57.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/5.45, allocations: 8 kB / 2.052 GB, free: 57.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/5.45, allocations: 12.66 kB / 2.052 GB, free: 57.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008768/5.451, allocations: 263.6 kB / 2.052 GB, free: 57.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/5.451, allocations: 15.94 kB / 2.052 GB, free: 57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/5.453, allocations: 238.5 kB / 2.052 GB, free: 56.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/5.453, allocations: 55.98 kB / 2.052 GB, free: 56.71 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.001662/5.455, allocations: 0.5756 MB / 2.053 GB, free: 56.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006233/5.456, allocations: 241 kB / 2.053 GB, free: 55.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/5.458, allocations: 0.9355 MB / 2.054 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/5.458, allocations: 7.938 kB / 2.054 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/5.458, allocations: 0 / 2.054 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008701/5.458, allocations: 0.726 MB / 2.055 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004821/5.463, allocations: 2.682 MB / 2.057 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/5.463, allocations: 0 / 2.057 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006082/5.464, allocations: 143.8 kB / 2.058 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/5.464, allocations: 4 kB / 2.058 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.955e-05/5.464, allocations: 27.69 kB / 2.058 GB, free: 51.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.311e-06/5.464, allocations: 4.094 kB / 2.058 GB, free: 51.26 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/5.464, allocations: 4 kB / 2.058 GB, free: 51.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/5.466, allocations: 1.401 MB / 2.059 GB, free: 49.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/5.467, allocations: 473.7 kB / 2.059 GB, free: 49.31 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002508/5.467, allocations: 16 kB / 2.059 GB, free: 49.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/5.469, allocations: 163.6 kB / 2.06 GB, free: 49.13 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/5.469, allocations: 44.5 kB / 2.06 GB, free: 49.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.11e-05/5.469, allocations: 31.98 kB / 2.06 GB, free: 49.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002168/5.471, allocations: 1.585 MB / 2.061 GB, free: 47.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/5.471, allocations: 2.344 kB / 2.061 GB, free: 47.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003625/5.475, allocations: 1.22 MB / 2.062 GB, free: 46.25 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.002362/5.477, allocations: 1.278 MB / 2.064 GB, free: 45.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002314/5.479, allocations: 1.362 MB / 2.065 GB, free: 43.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/5.479, allocations: 128 / 2.065 GB, free: 43.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004419/5.48, allocations: 347 kB / 2.065 GB, free: 43.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006832/5.487, allocations: 1.483 MB / 2.067 GB, free: 42.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005985/5.493, allocations: 4.433 MB / 2.071 GB, free: 37.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009749/5.494, allocations: 1.645 MB / 2.073 GB, free: 35.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002918/5.497, allocations: 0.501 MB / 2.073 GB, free: 35.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005988/5.497, allocations: 183.4 kB / 2.073 GB, free: 35.34 MB / 0.698 GB Notification: Performance of SimCode: time 1.633e-06/5.497, allocations: 0 / 2.073 GB, free: 35.34 MB / 0.698 GB Notification: Performance of Templates: time 0.08239/5.58, allocations: 51.52 MB / 2.124 GB, free: 0.668 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)