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.001056/0.001056, allocations: 169.2 kB / 7.64 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.7473/0.7473, allocations: 130.7 MB / 138.7 MB, free: 3.586 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.514/1.514, allocations: 221.5 MB / 391.8 MB, free: 14.23 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.0009713/0.0009715, allocations: 101.2 kB / 473.9 MB, free: 4.492 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.813e-05/1.815e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5088/0.5089, allocations: 81.56 MB / 0.6282 GB, free: 42.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8334/1.342, allocations: 392.1 MB / 1.011 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/1.343, allocations: 98.19 kB / 1.011 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.71/5.053, allocations: 0.986 GB / 1.997 GB, free: 66.83 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.202e-06/5.053, allocations: 0 / 1.997 GB, free: 66.83 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002677/5.053, allocations: 86.72 kB / 1.997 GB, free: 66.8 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.005078/5.058, allocations: 2.566 MB / 2 GB, free: 64.98 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/5.058, allocations: 13.08 kB / 2 GB, free: 64.97 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008752/5.059, allocations: 328.7 kB / 2 GB, free: 64.81 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004183/5.063, allocations: 2.456 MB / 2.002 GB, free: 63.11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.517e-05/5.064, allocations: 46.47 kB / 2.002 GB, free: 63.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/5.064, allocations: 103.9 kB / 2.003 GB, free: 63.11 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001615/5.065, allocations: 0.9799 MB / 2.004 GB, free: 62.65 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/5.067, allocations: 1.31 MB / 2.005 GB, free: 61.88 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.746e-05/5.067, allocations: 10.86 kB / 2.005 GB, free: 61.88 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/5.068, allocations: 3.953 kB / 2.005 GB, free: 61.87 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.126e-05/5.068, allocations: 46.44 kB / 2.005 GB, free: 61.87 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.008894/5.076, allocations: 7.646 MB / 2.012 GB, free: 54.82 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005339/5.077, allocations: 432.9 kB / 2.013 GB, free: 54.39 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/5.077, allocations: 313.1 kB / 2.013 GB, free: 54.08 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004966/5.078, allocations: 0.7601 MB / 2.014 GB, free: 53.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/5.078, allocations: 43.12 kB / 2.014 GB, free: 53.11 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 2.545e-06/5.078, allocations: 0 / 2.014 GB, free: 53.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.001429/5.079, allocations: 0.723 MB / 2.015 GB, free: 52.37 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/5.079, allocations: 55.97 kB / 2.015 GB, free: 52.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/5.081, allocations: 1.707 MB / 2.016 GB, free: 50.58 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.12e-05/5.081, allocations: 25.7 kB / 2.016 GB, free: 50.55 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007438/5.082, allocations: 1.168 MB / 2.017 GB, free: 49.36 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/5.082, allocations: 208.9 kB / 2.018 GB, free: 49.15 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/5.082, allocations: 4 kB / 2.018 GB, free: 49.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.905e-05/5.083, allocations: 349.9 kB / 2.018 GB, free: 48.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/5.083, allocations: 302.6 kB / 2.018 GB, free: 48.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006045/5.084, allocations: 0.7583 MB / 2.019 GB, free: 47.55 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007182/5.084, allocations: 450.3 kB / 2.019 GB, free: 47.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/5.084, allocations: 4 kB / 2.019 GB, free: 47.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001589/5.086, allocations: 1.119 MB / 2.021 GB, free: 45.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005661/5.086, allocations: 3.16 MB / 2.024 GB, free: 42.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/5.086, allocations: 8 kB / 2.024 GB, free: 42.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/5.087, allocations: 12 kB / 2.024 GB, free: 42.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009391/5.087, allocations: 259.6 kB / 2.024 GB, free: 42.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/5.087, allocations: 19.94 kB / 2.024 GB, free: 42.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/5.089, allocations: 194.6 kB / 2.024 GB, free: 42.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.172e-05/5.089, allocations: 61.25 kB / 2.024 GB, free: 41.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/5.089, allocations: 4 kB / 2.024 GB, free: 41.96 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001246/5.091, allocations: 0.8528 MB / 2.025 GB, free: 41.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/5.091, allocations: 8 kB / 2.025 GB, free: 41.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/5.091, allocations: 12 kB / 2.025 GB, free: 41.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008334/5.091, allocations: 256.2 kB / 2.025 GB, free: 40.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/5.091, allocations: 19.94 kB / 2.025 GB, free: 40.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/5.093, allocations: 173 kB / 2.025 GB, free: 40.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.858e-05/5.093, allocations: 55.98 kB / 2.025 GB, free: 40.59 MB / 0.6823 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 () * 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.0001935/5.093, allocations: 134.4 kB / 2.026 GB, free: 40.46 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/5.093, allocations: 213.3 kB / 2.026 GB, free: 40.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/5.095, allocations: 0.8357 MB / 2.027 GB, free: 39.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/5.095, allocations: 8 kB / 2.027 GB, free: 39.39 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/5.095, allocations: 0 / 2.027 GB, free: 39.39 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007988/5.096, allocations: 0.65 MB / 2.027 GB, free: 38.71 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/5.099, allocations: 2.418 MB / 2.03 GB, free: 36.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/5.099, allocations: 0 / 2.03 GB, free: 36.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/5.099, allocations: 147.8 kB / 2.03 GB, free: 36.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/5.099, allocations: 4 kB / 2.03 GB, free: 36.09 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/5.1, allocations: 12 kB / 2.03 GB, free: 36.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/5.1, allocations: 0 / 2.03 GB, free: 36.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/5.1, allocations: 4 kB / 2.03 GB, free: 36.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/5.101, allocations: 1.266 MB / 2.031 GB, free: 34.76 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005726/5.102, allocations: 446.1 kB / 2.031 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/5.102, allocations: 10.52 kB / 2.031 GB, free: 34.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/5.103, allocations: 155.5 kB / 2.032 GB, free: 34.14 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.166e-05/5.103, allocations: 48.44 kB / 2.032 GB, free: 34.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.385e-05/5.103, allocations: 35.97 kB / 2.032 GB, free: 34.06 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001383/5.105, allocations: 1.254 MB / 2.033 GB, free: 32.79 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/5.105, allocations: 0.9375 kB / 2.033 GB, free: 32.79 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00309/5.108, allocations: 1.223 MB / 2.034 GB, free: 31.57 MB / 0.6823 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 () * 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.001871/5.11, allocations: 1.223 MB / 2.035 GB, free: 30.51 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001603/5.111, allocations: 1.291 MB / 2.037 GB, free: 29.22 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/5.111, allocations: 4.125 kB / 2.037 GB, free: 29.22 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003177/5.111, allocations: 305.9 kB / 2.037 GB, free: 28.92 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0059/5.117, allocations: 1.257 MB / 2.038 GB, free: 27.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005031/5.122, allocations: 2.783 MB / 2.041 GB, free: 24.88 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/5.124, allocations: 1.648 MB / 2.042 GB, free: 23.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002562/5.126, allocations: 0.6353 MB / 2.043 GB, free: 22.59 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/5.127, allocations: 135.3 kB / 2.043 GB, free: 22.46 MB / 0.6823 GB Notification: Performance of SimCode: time 7.01e-07/5.127, allocations: 0 / 2.043 GB, free: 22.46 MB / 0.6823 GB Notification: Performance of Templates: time 0.6583/5.785, allocations: 44.73 MB / 2.087 GB, free: 84.32 MB / 0.698 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)