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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009331/0.0009325, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006554/0.006555, allocations: 169.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4552/0.4552, allocations: 55.01 MB / 325.8 MB, free: 0.5547 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005826/0.0005827, allocations: 15.98 kB / 397.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4296, allocations: 60.72 MB / 458 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.06767/0.4974, allocations: 76.66 MB / 0.5221 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03197/0.5294, allocations: 16.49 MB / 0.5382 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004687/0.5341, allocations: 66.84 kB / 0.5383 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003594/0.5378, allocations: 0.7048 MB / 0.539 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008973/0.5468, allocations: 2.193 MB / 0.5411 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006228/0.553, allocations: 1.471 MB / 0.5425 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01046/0.5635, allocations: 6.349 MB / 0.5487 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00302/0.5665, allocations: 1.271 MB / 0.55 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004434/0.571, allocations: 1.509 MB / 0.5515 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003227/0.5743, allocations: 1.377 MB / 0.5528 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006316/0.5749, allocations: 60 kB / 0.5529 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004308/0.5792, allocations: 1.064 MB / 0.5539 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009449/0.5802, allocations: 334.4 kB / 0.5542 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003255/0.5835, allocations: 0.8759 MB / 0.5551 GB, free: 8.797 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005828/0.5893, allocations: 2.706 MB / 0.5577 GB, free: 6.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5894, allocations: 0 / 0.5577 GB, free: 6.082 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.5894, allocations: 0 / 0.5577 GB, free: 6.082 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001137/0.5895, allocations: 0 / 0.5577 GB, free: 6.082 MB / 430.1 MB 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.004794/0.5943, allocations: 1.817 MB / 0.5595 GB, free: 4.211 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.5944, allocations: 8.031 kB / 0.5595 GB, free: 4.203 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.5956, allocations: 221.8 kB / 0.5597 GB, free: 3.984 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003122/0.5987, allocations: 1.347 MB / 0.561 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.096e-05/0.5988, allocations: 90.11 kB / 0.5611 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002648/0.5991, allocations: 116 kB / 0.5612 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004465/0.6036, allocations: 1.602 MB / 0.5628 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.6036, allocations: 3.938 kB / 0.5628 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.6037, allocations: 48 kB / 0.5628 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.912e-05/0.6038, allocations: 39.94 kB / 0.5629 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003607/0.6074, allocations: 1.198 MB / 0.564 GB, free: 15.38 MB / 446.1 MB 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.00945/0.6169, allocations: 6.736 MB / 0.5706 GB, free: 8.223 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.6195, allocations: 0.7069 MB / 0.5713 GB, free: 7.508 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004374/0.62, allocations: 217.4 kB / 0.5715 GB, free: 7.293 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003384/0.6203, allocations: 182.5 kB / 0.5717 GB, free: 7.078 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/0.6204, allocations: 38.89 kB / 0.5717 GB, free: 7.031 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 2.625e-06/0.6204, allocations: 0 / 0.5717 GB, free: 7.031 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.009393/0.6298, allocations: 2.708 MB / 0.5744 GB, free: 4.258 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.569e-05/0.6299, allocations: 136.5 kB / 0.5745 GB, free: 4.094 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002892/0.6328, allocations: 1.457 MB / 0.5759 GB, free: 2.633 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.6329, allocations: 45.64 kB / 0.576 GB, free: 2.582 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007292/0.6337, allocations: 0.778 MB / 0.5767 GB, free: 1.793 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.6339, allocations: 153.8 kB / 0.5769 GB, free: 1.641 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.634, allocations: 89.66 kB / 0.577 GB, free: 1.547 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6342, allocations: 334 kB / 0.5773 GB, free: 1.215 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.6353, allocations: 413.7 kB / 0.5777 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.6367, allocations: 0.7072 MB / 0.5784 GB, free: 15.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/0.639, allocations: 1.04 MB / 0.5794 GB, free: 14.81 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/0.6391, allocations: 4 kB / 0.5794 GB, free: 14.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003091/0.6422, allocations: 1.256 MB / 0.5806 GB, free: 13.54 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002323/0.6424, allocations: 336.8 kB / 0.5809 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.6424, allocations: 11.94 kB / 0.5809 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.339e-05/0.6425, allocations: 12 kB / 0.581 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.6436, allocations: 267.6 kB / 0.5812 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.779e-05/0.6437, allocations: 23.92 kB / 0.5812 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.6455, allocations: 175.5 kB / 0.5814 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.6456, allocations: 43.98 kB / 0.5814 GB, free: 12.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.6456, allocations: 8 kB / 0.5814 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001445/0.6471, allocations: 0.8082 MB / 0.5822 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.6471, allocations: 8.125 kB / 0.5822 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.6471, allocations: 19.98 kB / 0.5823 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007255/0.6478, allocations: 207.7 kB / 0.5825 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.849e-05/0.6479, allocations: 15.98 kB / 0.5825 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.6491, allocations: 107.8 kB / 0.5826 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-05/0.6492, allocations: 47.92 kB / 0.5826 GB, free: 11.36 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (112): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008518/0.6501, allocations: 440.8 kB / 0.583 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003859/0.6504, allocations: 150.1 kB / 0.5832 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002659/0.6531, allocations: 0.9769 MB / 0.5841 GB, free: 9.785 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.6531, allocations: 12.17 kB / 0.5842 GB, free: 9.773 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.6532, allocations: 4 kB / 0.5842 GB, free: 9.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002238/0.6554, allocations: 1.097 MB / 0.5852 GB, free: 8.578 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00481/0.6602, allocations: 2.209 MB / 0.5874 GB, free: 6.297 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.6603, allocations: 4.125 kB / 0.5874 GB, free: 6.293 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007413/0.661, allocations: 143.8 kB / 0.5875 GB, free: 6.152 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002729/0.6613, allocations: 89.66 kB / 0.5876 GB, free: 6.059 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/0.6613, allocations: 12 kB / 0.5876 GB, free: 6.047 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007941/0.6622, allocations: 1.163 MB / 0.5888 GB, free: 4.832 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.6622, allocations: 4.031 kB / 0.5888 GB, free: 4.828 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003464/0.6656, allocations: 1.453 MB / 0.5902 GB, free: 3.336 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008235/0.6665, allocations: 319 kB / 0.5905 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003632/0.6668, allocations: 12 kB / 0.5905 GB, free: 2.992 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.6682, allocations: 135.8 kB / 0.5906 GB, free: 2.859 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.544e-05/0.6683, allocations: 31.89 kB / 0.5907 GB, free: 2.828 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.945e-05/0.6684, allocations: 23.98 kB / 0.5907 GB, free: 2.805 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001775/0.6702, allocations: 0.983 MB / 0.5916 GB, free: 1.828 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6702, allocations: 4 kB / 0.5916 GB, free: 1.824 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002553/0.6727, allocations: 0.6485 MB / 0.5923 GB, free: 1.176 MB / 462.1 MB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009194/0.6737, allocations: 357 kB / 0.5926 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003416/0.6771, allocations: 1.329 MB / 0.5939 GB, free: 15.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.6771, allocations: 4 kB / 0.5939 GB, free: 15.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.6783, allocations: 388.8 kB / 0.5943 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005566/0.6838, allocations: 0.9289 MB / 0.5952 GB, free: 14.22 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/0.6982, allocations: 4.47 MB / 0.5996 GB, free: 9.703 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/0.6996, allocations: 1.253 MB / 0.6008 GB, free: 8.422 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002025/0.7016, allocations: 332.4 kB / 0.6011 GB, free: 8.098 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005036/0.7022, allocations: 123.3 kB / 0.6012 GB, free: 7.977 MB / 478.1 MB Notification: Performance of SimCode: time 1.813e-06/0.7022, allocations: 0 / 0.6012 GB, free: 7.977 MB / 478.1 MB Notification: Performance of Templates: time 0.0609/0.7631, allocations: 31.18 MB / 0.6317 GB, free: 9.023 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: