Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2937/0.2937, allocations: 55.01 MB / 69.95 MB, free: 8.664 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001144/0.001144, allocations: 191.5 kB / 83.98 MB, free: 10.85 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.932/1.932, allocations: 194.4 MB / 292.3 MB, free: 3.602 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002116/0.002116, allocations: 115.6 kB / 350.7 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004145/0.0004146, allocations: 19.97 kB / 418.9 MB, free: 37.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.176, allocations: 57.64 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.248/1.424, allocations: 364.1 MB / 0.8209 GB, free: 65.56 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004385/1.424, allocations: 101.9 kB / 0.821 GB, free: 65.51 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.332/3.756, allocations: 0.5785 GB / 1.399 GB, free: 52.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.317e-06/3.756, allocations: 0 / 1.399 GB, free: 52.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003664/3.757, allocations: 48.3 kB / 1.4 GB, free: 52.02 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.006637/3.763, allocations: 2.06 MB / 1.402 GB, free: 50.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/3.764, allocations: 11.28 kB / 1.402 GB, free: 50.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/3.765, allocations: 217.1 kB / 1.402 GB, free: 50.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004381/3.769, allocations: 1.811 MB / 1.404 GB, free: 49.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.005e-05/3.769, allocations: 85.92 kB / 1.404 GB, free: 49.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/3.769, allocations: 123.4 kB / 1.404 GB, free: 49.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003739/3.773, allocations: 1.555 MB / 1.405 GB, free: 48.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/3.773, allocations: 3.938 kB / 1.405 GB, free: 48.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/3.773, allocations: 51.14 kB / 1.405 GB, free: 47.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/3.773, allocations: 32.16 kB / 1.405 GB, free: 47.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002989/3.776, allocations: 1.158 MB / 1.406 GB, free: 47.45 MB / 0.4948 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.007722/3.784, allocations: 6.706 MB / 1.413 GB, free: 41.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/3.786, allocations: 0.6831 MB / 1.414 GB, free: 40.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/3.787, allocations: 178.5 kB / 1.414 GB, free: 40.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/3.787, allocations: 42.83 kB / 1.414 GB, free: 40.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 2.966e-06/3.787, allocations: 4 kB / 1.414 GB, free: 40.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43): time 0.008756/3.795, allocations: 2.607 MB / 1.416 GB, free: 37.94 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/3.796, allocations: 136.5 kB / 1.417 GB, free: 37.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00231/3.798, allocations: 1.288 MB / 1.418 GB, free: 36.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001971/3.798, allocations: 41.7 kB / 1.418 GB, free: 36.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006521/3.799, allocations: 0.7743 MB / 1.419 GB, free: 35.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/3.799, allocations: 153.8 kB / 1.419 GB, free: 35.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.115e-05/3.799, allocations: 20 kB / 1.419 GB, free: 35.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.968e-05/3.799, allocations: 338 kB / 1.419 GB, free: 35.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009347/3.8, allocations: 393.7 kB / 1.419 GB, free: 34.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/3.801, allocations: 0.7063 MB / 1.42 GB, free: 33.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/3.802, allocations: 482.8 kB / 1.421 GB, free: 33.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/3.802, allocations: 4 kB / 1.421 GB, free: 33.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002665/3.805, allocations: 1.226 MB / 1.422 GB, free: 32.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006006/3.805, allocations: 3.059 MB / 1.425 GB, free: 28.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/3.805, allocations: 8 kB / 1.425 GB, free: 28.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.175e-05/3.806, allocations: 12 kB / 1.425 GB, free: 28.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/3.807, allocations: 275.6 kB / 1.425 GB, free: 28.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/3.807, allocations: 15.94 kB / 1.425 GB, free: 28.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/3.809, allocations: 167.7 kB / 1.425 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/3.809, allocations: 43.98 kB / 1.425 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/3.809, allocations: 9.547 kB / 1.425 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001268/3.81, allocations: 0.7729 MB / 1.426 GB, free: 27.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/3.81, allocations: 8 kB / 1.426 GB, free: 27.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/3.81, allocations: 12 kB / 1.426 GB, free: 27.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007019/3.811, allocations: 211.6 kB / 1.426 GB, free: 27.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/3.811, allocations: 22.86 kB / 1.426 GB, free: 27.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/3.813, allocations: 111.9 kB / 1.426 GB, free: 27.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.163e-05/3.813, allocations: 43.92 kB / 1.426 GB, free: 27.18 MB / 0.4948 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 (110): * Single equations (assignments): 110 * 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.0009729/3.814, allocations: 444.8 kB / 1.427 GB, free: 26.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000432/3.814, allocations: 158.1 kB / 1.427 GB, free: 26.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/3.816, allocations: 0.9423 MB / 1.428 GB, free: 25.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/3.816, allocations: 8 kB / 1.428 GB, free: 25.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/3.816, allocations: 0 / 1.428 GB, free: 25.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001719/3.818, allocations: 1.085 MB / 1.429 GB, free: 24.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004477/3.823, allocations: 2.158 MB / 1.431 GB, free: 22.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/3.823, allocations: 0 / 1.431 GB, free: 22.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007367/3.823, allocations: 159.9 kB / 1.431 GB, free: 22.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000237/3.824, allocations: 73.67 kB / 1.431 GB, free: 21.97 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.424e-05/3.824, allocations: 19.98 kB / 1.431 GB, free: 21.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005402/3.824, allocations: 1.143 MB / 1.433 GB, free: 20.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/3.824, allocations: 4.031 kB / 1.433 GB, free: 20.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002914/3.827, allocations: 1.501 MB / 1.434 GB, free: 19.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009376/3.828, allocations: 323 kB / 1.434 GB, free: 18.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004758/3.829, allocations: 12 kB / 1.434 GB, free: 18.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/3.83, allocations: 123.8 kB / 1.434 GB, free: 18.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/3.83, allocations: 35.91 kB / 1.434 GB, free: 18.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.458e-05/3.83, allocations: 27.97 kB / 1.434 GB, free: 18.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001623/3.832, allocations: 0.9832 MB / 1.435 GB, free: 17.69 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/3.832, allocations: 0 / 1.435 GB, free: 17.69 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002982/3.835, allocations: 0.7186 MB / 1.436 GB, free: 16.97 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valLin.vol.dynBal.U,valEquPerLin.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 (41): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001411/3.836, allocations: 0.6974 MB / 1.437 GB, free: 16.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002979/3.839, allocations: 1.286 MB / 1.438 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/3.839, allocations: 8.062 kB / 1.438 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009364/3.84, allocations: 392.5 kB / 1.438 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004218/3.845, allocations: 0.8375 MB / 1.439 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/3.856, allocations: 4.053 MB / 1.443 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/3.858, allocations: 1.288 MB / 1.444 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00235/3.86, allocations: 338 kB / 1.445 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004544/3.86, allocations: 123.4 kB / 1.445 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of SimCode: time 1.483e-06/3.86, allocations: 0 / 1.445 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of Templates: time 0.3746/4.235, allocations: 33.74 MB / 1.478 GB, free: 57.72 MB / 0.5105 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)