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.4339/0.4339, allocations: 54.41 MB / 61.89 MB, free: 13.73 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.001375/0.001375, allocations: 182.8 kB / 75.61 MB, free: 0.7812 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.463/1.463, allocations: 194.3 MB / 283.5 MB, free: 14.86 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.001609/0.001609, allocations: 105.4 kB / 341.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.516e-05/1.519e-05, allocations: 224 / 405.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.372, allocations: 57.64 MB / 463.2 MB, free: 51.74 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6449/1.017, allocations: 363.3 MB / 0.8071 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/1.017, allocations: 95.61 kB / 0.8072 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.034/3.051, allocations: 0.5733 GB / 1.381 GB, free: 26.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.432e-06/3.051, allocations: 0 / 1.381 GB, free: 26.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001588/3.051, allocations: 47.98 kB / 1.381 GB, free: 26.36 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.003715/3.055, allocations: 1.756 MB / 1.382 GB, free: 24.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/3.055, allocations: 16.02 kB / 1.382 GB, free: 24.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007795/3.056, allocations: 215 kB / 1.383 GB, free: 24.33 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003496/3.059, allocations: 1.791 MB / 1.384 GB, free: 22.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/3.059, allocations: 39.98 kB / 1.384 GB, free: 22.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/3.06, allocations: 76 kB / 1.384 GB, free: 22.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001266/3.061, allocations: 0.6799 MB / 1.385 GB, free: 21.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/3.062, allocations: 1.019 MB / 1.386 GB, free: 20.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/3.062, allocations: 7.938 kB / 1.386 GB, free: 20.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.407e-05/3.062, allocations: 4 kB / 1.386 GB, free: 20.56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.324e-05/3.063, allocations: 32 kB / 1.386 GB, free: 20.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.007479/3.07, allocations: 6.447 MB / 1.392 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/3.07, allocations: 323.2 kB / 1.393 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/3.071, allocations: 197.4 kB / 1.393 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/3.071, allocations: 182.5 kB / 1.393 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/3.071, allocations: 46.58 kB / 1.393 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 3.657e-06/3.071, allocations: 0 / 1.393 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=41): time 0.00416/3.075, allocations: 1.553 MB / 1.395 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/3.075, allocations: 136.5 kB / 1.395 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/3.076, allocations: 0.9803 MB / 1.396 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.741e-05/3.076, allocations: 29.69 kB / 1.396 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/3.077, allocations: 0.7841 MB / 1.396 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.456e-05/3.077, allocations: 134 kB / 1.397 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/3.077, allocations: 3.938 kB / 1.397 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.75e-05/3.077, allocations: 341.9 kB / 1.397 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/3.077, allocations: 246.6 kB / 1.397 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/3.078, allocations: 0.5492 MB / 1.398 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/3.078, allocations: 330.3 kB / 1.398 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/3.078, allocations: 4 kB / 1.398 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001197/3.08, allocations: 0.8567 MB / 1.399 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005178/3.08, allocations: 3.011 MB / 1.402 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/3.08, allocations: 8 kB / 1.402 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/3.08, allocations: 12 kB / 1.402 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/3.081, allocations: 267.6 kB / 1.402 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/3.081, allocations: 19.92 kB / 1.402 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/3.083, allocations: 139.6 kB / 1.402 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/3.083, allocations: 43.98 kB / 1.402 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/3.083, allocations: 5.25 kB / 1.402 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008885/3.084, allocations: 0.6181 MB / 1.403 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/3.084, allocations: 8 kB / 1.403 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/3.084, allocations: 12 kB / 1.403 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006762/3.084, allocations: 204.5 kB / 1.403 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/3.084, allocations: 15.94 kB / 1.403 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008525/3.085, allocations: 79.77 kB / 1.403 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/3.085, allocations: 36 kB / 1.403 GB, free: 2.062 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 (108): * Single equations (assignments): 108 * 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.0002151/3.085, allocations: 144.6 kB / 1.403 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/3.086, allocations: 126.4 kB / 1.403 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/3.087, allocations: 0.6152 MB / 1.404 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/3.087, allocations: 15.88 kB / 1.404 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/3.087, allocations: 4 kB / 1.404 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008271/3.088, allocations: 0.7899 MB / 1.405 GB, free: 260 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/3.091, allocations: 1.708 MB / 1.407 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/3.091, allocations: 4 kB / 1.407 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007363/3.092, allocations: 155.9 kB / 1.407 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003488/3.092, allocations: 77.58 kB / 1.407 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-05/3.092, allocations: 7.984 kB / 1.407 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009356/3.093, allocations: 1.143 MB / 1.408 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-05/3.093, allocations: 7.891 kB / 1.408 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/3.095, allocations: 1.027 MB / 1.409 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005972/3.095, allocations: 287.3 kB / 1.409 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/3.096, allocations: 7.938 kB / 1.409 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/3.097, allocations: 123.8 kB / 1.409 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.864e-05/3.097, allocations: 39.89 kB / 1.409 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.472e-05/3.097, allocations: 23.98 kB / 1.409 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001196/3.098, allocations: 0.7269 MB / 1.41 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/3.098, allocations: 0 / 1.41 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002639/3.101, allocations: 0.6718 MB / 1.411 GB, free: 10.04 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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.001397/3.102, allocations: 0.7064 MB / 1.411 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001852/3.104, allocations: 0.9724 MB / 1.412 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/3.104, allocations: 0 / 1.412 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004802/3.104, allocations: 243.5 kB / 1.413 GB, free: 8.129 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003328/3.108, allocations: 0.6559 MB / 1.413 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/3.118, allocations: 2.818 MB / 1.416 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009854/3.119, allocations: 1.281 MB / 1.417 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00206/3.121, allocations: 378.4 kB / 1.418 GB, free: 2.914 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/3.121, allocations: 91.39 kB / 1.418 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of SimCode: time 7.42e-07/3.121, allocations: 0 / 1.418 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of Templates: time 0.4102/3.531, allocations: 28.36 MB / 1.445 GB, free: 60.3 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)