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.0012/0.001201, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001199/0.001199, allocations: 192.4 kB / 16.13 MB, free: 6.707 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.652/1.652, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4431/0.4431, allocations: 54.94 MB / 324.3 MB, free: 100 kB / 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.001355/0.001355, allocations: 68.47 kB / 394.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1499, allocations: 59.59 MB / 454.3 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.2206/0.3705, allocations: 15.48 MB / 469.7 MB, free: 31.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009202/0.3798, allocations: 6.733 MB / 476.5 MB, free: 26.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006145/0.3805, allocations: 14.53 kB / 476.5 MB, free: 26.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009694/0.3815, allocations: 256.5 kB / 476.7 MB, free: 26.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.3827, allocations: 0.5019 MB / 477.2 MB, free: 26.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.3842, allocations: 0.5576 MB / 477.8 MB, free: 26.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00141/0.3856, allocations: 1.442 MB / 479.2 MB, free: 25.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005033/0.3862, allocations: 303.2 kB / 479.5 MB, free: 25.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006894/0.3869, allocations: 439.2 kB / 480 MB, free: 25.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004364/0.3873, allocations: 365.9 kB / 480.3 MB, free: 25.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.395e-05/0.3874, allocations: 20.09 kB / 480.3 MB, free: 25.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009788/0.3884, allocations: 0.4943 MB / 480.8 MB, free: 25.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.3885, allocations: 109.1 kB / 480.9 MB, free: 24.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.3887, allocations: 244.8 kB / 481.2 MB, free: 24.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009928/0.3897, allocations: 0.7477 MB / 481.9 MB, free: 24.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.3898, allocations: 3.141 kB / 481.9 MB, free: 24.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3898, allocations: 0 / 481.9 MB, free: 24.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.3898, allocations: 0 / 481.9 MB, free: 24.55 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.001641/0.3914, allocations: 0.8463 MB / 482.8 MB, free: 23.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.3915, allocations: 9.5 kB / 482.8 MB, free: 23.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000327/0.3918, allocations: 68.05 kB / 482.9 MB, free: 23.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006308/0.3925, allocations: 417.8 kB / 483.3 MB, free: 23.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.3925, allocations: 26.34 kB / 483.3 MB, free: 23.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.3926, allocations: 31.69 kB / 483.3 MB, free: 23.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.394, allocations: 0.528 MB / 483.9 MB, free: 23.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3941, allocations: 0.75 kB / 483.9 MB, free: 23.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.3941, allocations: 16.78 kB / 483.9 MB, free: 23.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/0.3942, allocations: 10.16 kB / 483.9 MB, free: 23.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.3954, allocations: 370.4 kB / 484.2 MB, free: 23.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.3973, allocations: 2.033 MB / 486.3 MB, free: 21.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009989/0.3983, allocations: 272.7 kB / 486.5 MB, free: 21.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3984, allocations: 52.89 kB / 486.6 MB, free: 21.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.3985, allocations: 4.328 kB / 486.6 MB, free: 21.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.3985, allocations: 45.72 kB / 486.6 MB, free: 21.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.3985, allocations: 0 / 486.6 MB, free: 21.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.002084/0.4006, allocations: 488.9 kB / 487.1 MB, free: 21.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.4007, allocations: 156.9 kB / 487.3 MB, free: 21.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004622/0.4011, allocations: 0.5242 MB / 487.8 MB, free: 20.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.4012, allocations: 32.3 kB / 487.8 MB, free: 20.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.4013, allocations: 280.3 kB / 488.1 MB, free: 20.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.4013, allocations: 36.61 kB / 488.1 MB, free: 20.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/0.4014, allocations: 68.14 kB / 488.2 MB, free: 20.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.968e-05/0.4015, allocations: 354.2 kB / 488.5 MB, free: 20.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/0.4019, allocations: 130.1 kB / 488.7 MB, free: 20.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004339/0.4023, allocations: 267 kB / 488.9 MB, free: 19.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006901/0.403, allocations: 327.6 kB / 489.3 MB, free: 19.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.403, allocations: 0 / 489.3 MB, free: 19.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009419/0.404, allocations: 401.7 kB / 489.6 MB, free: 19.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.404, allocations: 10.25 kB / 489.7 MB, free: 19.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.404, allocations: 3.781 kB / 489.7 MB, free: 19.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.4041, allocations: 8.5 kB / 489.7 MB, free: 19.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004354/0.4045, allocations: 86.03 kB / 489.8 MB, free: 19.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.4045, allocations: 7.812 kB / 489.8 MB, free: 19.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007459/0.4053, allocations: 78.89 kB / 489.8 MB, free: 19.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.4053, allocations: 18.5 kB / 489.9 MB, free: 19.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000343/0.4057, allocations: 194.5 kB / 490 MB, free: 19.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002368/0.406, allocations: 223.3 kB / 490.3 MB, free: 19.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003283/0.4063, allocations: 228.6 kB / 490.5 MB, free: 18.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.786e-06/0.4063, allocations: 0.75 kB / 490.5 MB, free: 18.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005276/0.4068, allocations: 295.1 kB / 490.8 MB, free: 18.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.4069, allocations: 6.625 kB / 490.8 MB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.4069, allocations: 4.75 kB / 490.8 MB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.4069, allocations: 8.656 kB / 490.8 MB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.4073, allocations: 65.2 kB / 490.9 MB, free: 18.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.4073, allocations: 11.66 kB / 490.9 MB, free: 18.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.4078, allocations: 40.23 kB / 490.9 MB, free: 18.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.4079, allocations: 9.406 kB / 490.9 MB, free: 18.82 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.0001175/0.408, allocations: 201.1 kB / 491.1 MB, free: 18.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.4081, allocations: 57.52 kB / 491.2 MB, free: 18.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008587/0.409, allocations: 260.8 kB / 491.4 MB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.409, allocations: 2.281 kB / 491.4 MB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.409, allocations: 0.75 kB / 491.4 MB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.409, allocations: 1.125 kB / 491.4 MB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006379/0.4097, allocations: 0.5974 MB / 492 MB, free: 18.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.4097, allocations: 1.594 kB / 492 MB, free: 18.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003867/0.4101, allocations: 48.69 kB / 492.1 MB, free: 18.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.4101, allocations: 0.7031 kB / 492.1 MB, free: 18.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.4101, allocations: 4.25 kB / 492.1 MB, free: 18.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4101, allocations: 1.406 kB / 492.1 MB, free: 18.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4101, allocations: 4.688 kB / 492.1 MB, free: 18.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007948/0.4109, allocations: 377.2 kB / 492.5 MB, free: 17.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.4111, allocations: 117 kB / 492.6 MB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.014e-05/0.4111, allocations: 9.984 kB / 492.6 MB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/0.4116, allocations: 45.33 kB / 492.6 MB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.4116, allocations: 14.69 kB / 492.6 MB, free: 17.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.4117, allocations: 8.078 kB / 492.6 MB, free: 17.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004718/0.4121, allocations: 365.3 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4121, allocations: 0 / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008375/0.413, allocations: 203.7 kB / 493.2 MB, free: 17.47 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.001114/0.4141, allocations: 430.1 kB / 493.6 MB, free: 17.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.4155, allocations: 386 kB / 494 MB, free: 17.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4155, allocations: 0 / 494 MB, free: 17.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004363/0.4159, allocations: 103.5 kB / 494.1 MB, free: 17.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.4175, allocations: 254.1 kB / 494.3 MB, free: 17.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005222/0.4227, allocations: 1.436 MB / 495.8 MB, free: 16.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.423, allocations: 0.8328 MB / 496.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005153/0.4235, allocations: 96.84 kB / 496.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.4237, allocations: 41.73 kB / 496.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4237, allocations: 1.125 kB / 496.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of Templates: time 0.02201/0.4457, allocations: 8.969 MB / 0.4939 GB, free: 15.2 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (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)