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.2847/0.2847, allocations: 54.34 MB / 66.89 MB, free: 6.105 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.001106/0.001106, allocations: 181.7 kB / 80.71 MB, free: 15.39 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.501/1.501, allocations: 194.2 MB / 288.6 MB, free: 14.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001696/0.001696, allocations: 124.5 kB / 346.9 MB, free: 4.711 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.628e-05/3.643e-05, allocations: 4 kB / 412.4 MB, free: 21.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1219, allocations: 57.64 MB / 470 MB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9176/1.04, allocations: 364 MB / 0.8144 GB, free: 15.67 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/1.04, allocations: 94.52 kB / 0.8145 GB, free: 15.62 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894/2.934, allocations: 0.5767 GB / 1.391 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.034e-06/2.934, allocations: 4 kB / 1.391 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001588/2.934, allocations: 55.92 kB / 1.391 GB, free: 28.21 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.003187/2.937, allocations: 1.756 MB / 1.393 GB, free: 26.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/2.937, allocations: 8.031 kB / 1.393 GB, free: 26.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006683/2.938, allocations: 213.6 kB / 1.393 GB, free: 26.19 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003273/2.941, allocations: 1.796 MB / 1.395 GB, free: 24.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.53e-05/2.941, allocations: 94.11 kB / 1.395 GB, free: 24.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/2.941, allocations: 116 kB / 1.395 GB, free: 24.13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002901/2.944, allocations: 1.413 MB / 1.397 GB, free: 22.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/2.944, allocations: 4 kB / 1.397 GB, free: 22.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.422e-05/2.944, allocations: 48 kB / 1.397 GB, free: 22.56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/2.944, allocations: 43.92 kB / 1.397 GB, free: 22.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00235/2.947, allocations: 0.9876 MB / 1.398 GB, free: 21.53 MB / 0.4948 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.007248/2.954, allocations: 6.702 MB / 1.404 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/2.956, allocations: 0.5695 MB / 1.405 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/2.956, allocations: 198.5 kB / 1.405 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001754/2.956, allocations: 174.5 kB / 1.405 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/2.956, allocations: 38.89 kB / 1.405 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 3.927e-06/2.956, allocations: 0 / 1.405 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43): time 0.005395/2.961, allocations: 1.931 MB / 1.407 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/2.962, allocations: 132.5 kB / 1.407 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/2.963, allocations: 1.272 MB / 1.408 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.597e-05/2.963, allocations: 49.7 kB / 1.408 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004364/2.964, allocations: 0.7665 MB / 1.409 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/2.964, allocations: 157.8 kB / 1.409 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/2.964, allocations: 16 kB / 1.409 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.428e-05/2.964, allocations: 341.9 kB / 1.41 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/2.964, allocations: 266 kB / 1.41 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/2.965, allocations: 0.5739 MB / 1.41 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/2.965, allocations: 356 kB / 1.411 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/2.965, allocations: 8 kB / 1.411 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001292/2.967, allocations: 0.9668 MB / 1.412 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005104/2.967, allocations: 3.054 MB / 1.415 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/2.967, allocations: 4 kB / 1.415 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/2.967, allocations: 16 kB / 1.415 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/2.968, allocations: 271.6 kB / 1.415 GB, free: 2.699 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/2.968, allocations: 23.88 kB / 1.415 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/2.97, allocations: 179.7 kB / 1.415 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.522e-05/2.97, allocations: 43.98 kB / 1.415 GB, free: 2.457 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/2.97, allocations: 4 kB / 1.415 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009539/2.971, allocations: 0.7366 MB / 1.416 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/2.971, allocations: 8 kB / 1.416 GB, free: 1.711 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/2.971, allocations: 12.19 kB / 1.416 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006463/2.972, allocations: 207.6 kB / 1.416 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/2.972, allocations: 20.33 kB / 1.416 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009614/2.973, allocations: 123.8 kB / 1.416 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/2.973, allocations: 43.97 kB / 1.416 GB, free: 1.312 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 () * 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.0001879/2.973, allocations: 161.4 kB / 1.417 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/2.973, allocations: 162 kB / 1.417 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/2.974, allocations: 0.6478 MB / 1.417 GB, free: 336 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/2.974, allocations: 4 kB / 1.417 GB, free: 332 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/2.974, allocations: 0 / 1.417 GB, free: 332 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008082/2.975, allocations: 0.7794 MB / 1.418 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/2.978, allocations: 1.879 MB / 1.42 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/2.978, allocations: 4 kB / 1.42 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007793/2.979, allocations: 171.9 kB / 1.42 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/2.979, allocations: 4 kB / 1.42 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/2.979, allocations: 15.98 kB / 1.42 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/2.979, allocations: 4 kB / 1.42 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/2.979, allocations: 3.953 kB / 1.42 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/2.98, allocations: 1.067 MB / 1.421 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005835/2.981, allocations: 319 kB / 1.421 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/2.981, allocations: 12 kB / 1.421 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009994/2.982, allocations: 127.7 kB / 1.422 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/2.982, allocations: 35.94 kB / 1.422 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-05/2.982, allocations: 27.98 kB / 1.422 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001309/2.984, allocations: 0.9633 MB / 1.423 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.1e-07/2.984, allocations: 0 / 1.423 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002339/2.986, allocations: 0.7225 MB / 1.423 GB, free: 9.977 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valLin.port_3.h_outflow,valEquPerLin.port_3.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001394/2.987, allocations: 0.6867 MB / 1.424 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002155/2.99, allocations: 1.067 MB / 1.425 GB, free: 8.211 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/2.99, allocations: 4 kB / 1.425 GB, free: 8.207 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004276/2.99, allocations: 247.8 kB / 1.425 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004278/2.994, allocations: 0.86 MB / 1.426 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009056/3.003, allocations: 2.895 MB / 1.429 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007948/3.004, allocations: 1.283 MB / 1.43 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002117/3.006, allocations: 464.5 kB / 1.431 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/3.007, allocations: 99.39 kB / 1.431 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/3.007, allocations: 3.938 kB / 1.431 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of Templates: time 0.3482/3.355, allocations: 37.1 MB / 1.467 GB, free: 58.13 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)