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.001026/0.001027, allocations: 173.7 kB / 12.73 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.7001/0.7001, allocations: 130.5 MB / 143.8 MB, free: 13.58 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.63/1.63, allocations: 221.3 MB / 396.8 MB, free: 9.172 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.000914/0.0009141, allocations: 92.67 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.139e-05/3.141e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1665, allocations: 81.57 MB / 0.6347 GB, free: 12.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.193/1.359, allocations: 392.8 MB / 1.018 GB, free: 239.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/1.36, allocations: 101.4 kB / 1.018 GB, free: 239.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.081/4.44, allocations: 0.9913 GB / 2.01 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.293e-06/4.44, allocations: 0 / 2.01 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000271/4.441, allocations: 79.91 kB / 2.01 GB, free: 9.246 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.00456/4.445, allocations: 2.57 MB / 2.012 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/4.445, allocations: 8.031 kB / 2.012 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008879/4.446, allocations: 332.2 kB / 2.013 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0044/4.451, allocations: 2.45 MB / 2.015 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/4.451, allocations: 135 kB / 2.015 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/4.451, allocations: 183.9 kB / 2.015 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/4.453, allocations: 1.511 MB / 2.017 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/4.453, allocations: 4 kB / 2.017 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/4.453, allocations: 60 kB / 2.017 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/4.454, allocations: 43.95 kB / 2.017 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/4.455, allocations: 1.058 MB / 2.018 GB, free: 0.7109 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.01214/4.467, allocations: 8.002 MB / 2.026 GB, free: 8.199 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006844/4.468, allocations: 441.8 kB / 2.026 GB, free: 7.758 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000437/4.468, allocations: 315 kB / 2.026 GB, free: 7.445 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007042/4.469, allocations: 0.7563 MB / 2.027 GB, free: 6.523 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/4.469, allocations: 47.06 kB / 2.027 GB, free: 6.469 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 2.816e-06/4.469, allocations: 0 / 2.027 GB, free: 6.469 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001666/4.471, allocations: 0.7461 MB / 2.028 GB, free: 5.715 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/4.471, allocations: 59.92 kB / 2.028 GB, free: 5.641 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003112/4.474, allocations: 2.053 MB / 2.03 GB, free: 3.566 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002228/4.474, allocations: 49.7 kB / 2.03 GB, free: 3.512 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001115/4.475, allocations: 1.155 MB / 2.031 GB, free: 2.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/4.476, allocations: 212.9 kB / 2.031 GB, free: 2.129 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/4.476, allocations: 24 kB / 2.031 GB, free: 2.105 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001736/4.476, allocations: 349.9 kB / 2.032 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005743/4.476, allocations: 314.6 kB / 2.032 GB, free: 1.449 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/4.478, allocations: 0.7843 MB / 2.033 GB, free: 484 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000747/4.478, allocations: 451.8 kB / 2.033 GB, free: 32 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/4.478, allocations: 0 / 2.033 GB, free: 32 kB / 0.698 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00265/4.481, allocations: 1.204 MB / 2.034 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001574/4.483, allocations: 3.21 MB / 2.038 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/4.483, allocations: 4 kB / 2.038 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-05/4.483, allocations: 16 kB / 2.038 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/4.484, allocations: 255.6 kB / 2.038 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.281e-05/4.484, allocations: 23.89 kB / 2.038 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003036/4.487, allocations: 270 kB / 2.038 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/4.487, allocations: 55.97 kB / 2.038 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/4.487, allocations: 4.781 kB / 2.038 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001852/4.489, allocations: 0.9593 MB / 2.039 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/4.489, allocations: 8 kB / 2.039 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/4.489, allocations: 16 kB / 2.039 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009046/4.49, allocations: 251.6 kB / 2.039 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/4.49, allocations: 15.94 kB / 2.039 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/4.492, allocations: 250.7 kB / 2.04 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/4.492, allocations: 47.98 kB / 2.04 GB, free: 9.184 MB / 0.7136 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.0002908/4.493, allocations: 177 kB / 2.04 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000468/4.493, allocations: 237 kB / 2.04 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/4.495, allocations: 0.8894 MB / 2.041 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/4.495, allocations: 7.984 kB / 2.041 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/4.495, allocations: 4 kB / 2.041 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009282/4.496, allocations: 0.6813 MB / 2.042 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00487/4.501, allocations: 2.636 MB / 2.044 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/4.501, allocations: 4 kB / 2.044 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005996/4.501, allocations: 143.8 kB / 2.044 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/4.501, allocations: 4 kB / 2.044 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.143e-05/4.501, allocations: 23.98 kB / 2.044 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/4.502, allocations: 12.03 kB / 2.044 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/4.502, allocations: 0 / 2.044 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/4.503, allocations: 1.346 MB / 2.046 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/4.505, allocations: 478 kB / 2.046 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00026/4.505, allocations: 16 kB / 2.046 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/4.506, allocations: 159.6 kB / 2.046 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/4.506, allocations: 44.5 kB / 2.046 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.869e-05/4.506, allocations: 39.95 kB / 2.046 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002508/4.509, allocations: 1.562 MB / 2.048 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/4.509, allocations: 0 / 2.048 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.4774/4.986, allocations: 1.206 MB / 2.049 GB, free: 76.27 MB / 0.7136 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.002686/4.989, allocations: 1.233 MB / 2.05 GB, free: 76.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002904/4.992, allocations: 1.379 MB / 2.052 GB, free: 76.08 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/4.992, allocations: 0.9062 kB / 2.052 GB, free: 76.08 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005397/4.992, allocations: 323.4 kB / 2.052 GB, free: 76.08 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007959/5, allocations: 1.483 MB / 2.053 GB, free: 76.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005732/5.006, allocations: 2.871 MB / 2.056 GB, free: 75.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/5.007, allocations: 1.652 MB / 2.058 GB, free: 74.54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003484/5.011, allocations: 0.7136 MB / 2.059 GB, free: 74.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/5.011, allocations: 130.5 kB / 2.059 GB, free: 74.51 MB / 0.7136 GB Notification: Performance of SimCode: time 1.052e-06/5.011, allocations: 0 / 2.059 GB, free: 74.51 MB / 0.7136 GB Notification: Performance of Templates: time 0.08812/5.099, allocations: 56.91 MB / 2.114 GB, free: 71.89 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)