Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008165/0.0008166, 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.005646/0.005646, allocations: 170 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.579/1.579, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4474/0.4474, allocations: 55.01 MB / 325.7 MB, free: 0.6016 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.0005774/0.0005778, allocations: 16 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3594, allocations: 60.72 MB / 458 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01187/0.3713, allocations: 14.96 MB / 472.9 MB, free: 30.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008516/0.3799, allocations: 6.639 MB / 479.6 MB, free: 26.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007198/0.3806, allocations: 21.44 kB / 479.6 MB, free: 26.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.3817, allocations: 253 kB / 479.8 MB, free: 26.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.3831, allocations: 0.4988 MB / 480.3 MB, free: 26.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.3847, allocations: 0.5676 MB / 480.9 MB, free: 25.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001837/0.3865, allocations: 1.439 MB / 482.4 MB, free: 25.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000653/0.3872, allocations: 293.6 kB / 482.6 MB, free: 25.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009949/0.3882, allocations: 432.4 kB / 483.1 MB, free: 25.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006965/0.3889, allocations: 346.1 kB / 483.4 MB, free: 25.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.389, allocations: 17.84 kB / 483.4 MB, free: 25.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.3902, allocations: 0.5095 MB / 483.9 MB, free: 24.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.3904, allocations: 92.86 kB / 484 MB, free: 24.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003563/0.3907, allocations: 265.9 kB / 484.3 MB, free: 24.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.3919, allocations: 0.7473 MB / 485 MB, free: 24.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3919, allocations: 0 / 485 MB, free: 24.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3919, allocations: 0 / 485 MB, free: 24.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.156e-05/0.3919, allocations: 0 / 485 MB, free: 24.45 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.00148/0.3934, allocations: 0.7583 MB / 485.8 MB, free: 23.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.3935, allocations: 8.781 kB / 485.8 MB, free: 23.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003773/0.3939, allocations: 65.77 kB / 485.9 MB, free: 23.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007607/0.3946, allocations: 420.7 kB / 486.3 MB, free: 23.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/0.3947, allocations: 22 kB / 486.3 MB, free: 23.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/0.3948, allocations: 39.58 kB / 486.3 MB, free: 23.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.3964, allocations: 0.5478 MB / 486.9 MB, free: 23.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.3964, allocations: 0 / 486.9 MB, free: 23.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.3964, allocations: 17.03 kB / 486.9 MB, free: 23.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.3965, allocations: 11.69 kB / 486.9 MB, free: 23.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.3977, allocations: 399.6 kB / 487.3 MB, free: 23.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.3996, allocations: 2.039 MB / 489.3 MB, free: 21.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.4007, allocations: 302.2 kB / 489.6 MB, free: 21.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.4008, allocations: 63.75 kB / 489.7 MB, free: 21.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.4009, allocations: 7.984 kB / 489.7 MB, free: 21.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.4009, allocations: 38.06 kB / 489.7 MB, free: 21.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.4009, allocations: 0 / 489.7 MB, free: 21.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.002214/0.4031, allocations: 0.5385 MB / 490.3 MB, free: 21.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.4032, allocations: 162.2 kB / 490.4 MB, free: 20.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005133/0.4037, allocations: 0.5192 MB / 490.9 MB, free: 20.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.4038, allocations: 32.73 kB / 491 MB, free: 20.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.4039, allocations: 281.2 kB / 491.3 MB, free: 20.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.4039, allocations: 32.23 kB / 491.3 MB, free: 20.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.404, allocations: 30 kB / 491.3 MB, free: 20.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.901e-05/0.4041, allocations: 358.9 kB / 491.7 MB, free: 20.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004078/0.4045, allocations: 136 kB / 491.8 MB, free: 20.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/0.405, allocations: 278.4 kB / 492.1 MB, free: 19.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008057/0.4058, allocations: 355.4 kB / 492.4 MB, free: 19.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.4058, allocations: 0.9688 kB / 492.4 MB, free: 19.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00122/0.407, allocations: 437.5 kB / 492.8 MB, free: 19.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-05/0.4071, allocations: 181.6 kB / 493 MB, free: 19.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4071, allocations: 6.766 kB / 493 MB, free: 19.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/0.4072, allocations: 4.719 kB / 493 MB, free: 19.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.4076, allocations: 91.23 kB / 493.1 MB, free: 19.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.4077, allocations: 5.594 kB / 493.1 MB, free: 19.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.4082, allocations: 81.67 kB / 493.2 MB, free: 19.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.4083, allocations: 13.66 kB / 493.2 MB, free: 19.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.4083, allocations: 14.5 kB / 493.2 MB, free: 19.23 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004705/0.4087, allocations: 225.6 kB / 493.5 MB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4088, allocations: 3.875 kB / 493.5 MB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.4088, allocations: 5.125 kB / 493.5 MB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.409, allocations: 61.11 kB / 493.5 MB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.409, allocations: 12.12 kB / 493.5 MB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.4094, allocations: 51.59 kB / 493.6 MB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.4094, allocations: 14.91 kB / 493.6 MB, free: 19.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 31 * 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.0001997/0.4096, allocations: 245.6 kB / 493.8 MB, free: 18.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.4097, allocations: 51 kB / 493.9 MB, free: 18.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009019/0.4106, allocations: 285 kB / 494.2 MB, free: 18.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4107, allocations: 11.59 kB / 494.2 MB, free: 18.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4107, allocations: 1.031 kB / 494.2 MB, free: 18.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4107, allocations: 5.469 kB / 494.2 MB, free: 18.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005882/0.4113, allocations: 0.6004 MB / 494.8 MB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4113, allocations: 3.281 kB / 494.8 MB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.4116, allocations: 58.08 kB / 494.8 MB, free: 18.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4116, allocations: 1.438 kB / 494.9 MB, free: 18.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.4116, allocations: 1.281 kB / 494.9 MB, free: 18.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4116, allocations: 1.188 kB / 494.9 MB, free: 18.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4116, allocations: 1.375 kB / 494.9 MB, free: 18.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008578/0.4125, allocations: 404.4 kB / 495.2 MB, free: 18.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.462e-05/0.4126, allocations: 126.9 kB / 495.4 MB, free: 17.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.799e-05/0.4126, allocations: 7.281 kB / 495.4 MB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/0.4131, allocations: 64.59 kB / 495.4 MB, free: 17.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.4132, allocations: 8.531 kB / 495.5 MB, free: 17.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.4132, allocations: 13.44 kB / 495.5 MB, free: 17.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004245/0.4136, allocations: 370.1 kB / 495.8 MB, free: 17.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4136, allocations: 0 / 495.8 MB, free: 17.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007712/0.4144, allocations: 196.1 kB / 496 MB, free: 17.72 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0009207/0.4153, allocations: 418.8 kB / 496.4 MB, free: 17.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.4167, allocations: 412.8 kB / 496.8 MB, free: 17.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4167, allocations: 5.188 kB / 496.8 MB, free: 17.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004364/0.4171, allocations: 119.8 kB / 497 MB, free: 17.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.4187, allocations: 257 kB / 497.2 MB, free: 17.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005128/0.4238, allocations: 1.58 MB / 498.8 MB, free: 16.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.4242, allocations: 0.8315 MB / 499.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004708/0.4247, allocations: 94.5 kB / 499.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.4248, allocations: 44.59 kB / 499.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4248, allocations: 0 / 499.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of Templates: time 0.0193/0.4441, allocations: 8.927 MB / 0.4968 GB, free: 15.17 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) Environment - environmentSimulation: