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.001129/0.001129, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001238/0.001238, allocations: 192.3 kB / 16.25 MB, free: 6.625 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.609/1.609, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4636/0.4636, allocations: 54.93 MB / 324.4 MB, free: 120 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.001314/0.001314, allocations: 63.91 kB / 394.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1358, allocations: 59.6 MB / 454.5 MB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.2533/0.3891, allocations: 15.46 MB / 469.9 MB, free: 30.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00841/0.3976, allocations: 6.356 MB / 476.3 MB, free: 26.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.3987, allocations: 18 kB / 476.3 MB, free: 26.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.4001, allocations: 258.6 kB / 476.6 MB, free: 26.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.4021, allocations: 0.5053 MB / 477.1 MB, free: 25.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.4037, allocations: 0.5882 MB / 477.7 MB, free: 25.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001231/0.4049, allocations: 1.076 MB / 478.7 MB, free: 25.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004948/0.4054, allocations: 344 kB / 479.1 MB, free: 25.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008794/0.4063, allocations: 486.5 kB / 479.5 MB, free: 24.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000406/0.4067, allocations: 361.9 kB / 479.9 MB, free: 24.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.22e-05/0.4068, allocations: 35.12 kB / 479.9 MB, free: 24.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008487/0.4077, allocations: 0.524 MB / 480.5 MB, free: 24.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.4078, allocations: 119.5 kB / 480.6 MB, free: 24.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.408, allocations: 260.2 kB / 480.8 MB, free: 24.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007544/0.4087, allocations: 0.7564 MB / 481.6 MB, free: 24.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4087, allocations: 4 kB / 481.6 MB, free: 24.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4088, allocations: 4 kB / 481.6 MB, free: 24.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.4088, allocations: 7.875 kB / 481.6 MB, free: 24.01 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.001044/0.4098, allocations: 0.8422 MB / 482.4 MB, free: 23.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4099, allocations: 8.688 kB / 482.4 MB, free: 23.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002467/0.4101, allocations: 64.36 kB / 482.5 MB, free: 23.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.4106, allocations: 433.4 kB / 482.9 MB, free: 23.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.4106, allocations: 25.34 kB / 483 MB, free: 23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.4107, allocations: 30.22 kB / 483 MB, free: 22.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.4121, allocations: 0.525 MB / 483.5 MB, free: 22.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.4121, allocations: 0 / 483.5 MB, free: 22.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.4121, allocations: 17.81 kB / 483.5 MB, free: 22.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.4122, allocations: 8.344 kB / 483.5 MB, free: 22.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.4134, allocations: 368 kB / 483.9 MB, free: 22.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.4152, allocations: 2.032 MB / 485.9 MB, free: 20.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.4163, allocations: 275.3 kB / 486.2 MB, free: 20.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.4164, allocations: 53.42 kB / 486.2 MB, free: 20.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.4164, allocations: 3.812 kB / 486.3 MB, free: 20.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.4165, allocations: 34.5 kB / 486.3 MB, free: 20.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.4165, allocations: 6.875 kB / 486.3 MB, free: 20.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.002173/0.4186, allocations: 485 kB / 486.8 MB, free: 20.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.4187, allocations: 157 kB / 486.9 MB, free: 20.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.4192, allocations: 0.5237 MB / 487.4 MB, free: 20.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.4192, allocations: 32.45 kB / 487.5 MB, free: 20.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.4194, allocations: 279.8 kB / 487.7 MB, free: 19.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.4194, allocations: 34.8 kB / 487.8 MB, free: 19.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.661e-05/0.4195, allocations: 68.34 kB / 487.8 MB, free: 19.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.4196, allocations: 357.1 kB / 488.2 MB, free: 19.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003582/0.42, allocations: 132.5 kB / 488.3 MB, free: 19.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/0.4204, allocations: 264.3 kB / 488.6 MB, free: 19.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006817/0.4211, allocations: 323.7 kB / 488.9 MB, free: 19.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4211, allocations: 3.938 kB / 488.9 MB, free: 19.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009032/0.422, allocations: 402.2 kB / 489.3 MB, free: 19.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.422, allocations: 9.188 kB / 489.3 MB, free: 19.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4221, allocations: 5.25 kB / 489.3 MB, free: 19.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4221, allocations: 2.938 kB / 489.3 MB, free: 19.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/0.4225, allocations: 86.28 kB / 489.4 MB, free: 19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.4225, allocations: 12.61 kB / 489.4 MB, free: 19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004918/0.423, allocations: 78.44 kB / 489.5 MB, free: 18.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.423, allocations: 18.44 kB / 489.5 MB, free: 18.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002447/0.4233, allocations: 197.3 kB / 489.7 MB, free: 18.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002151/0.4235, allocations: 224.3 kB / 489.9 MB, free: 18.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002809/0.4238, allocations: 226.8 kB / 490.1 MB, free: 18.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.384e-06/0.4238, allocations: 0.5469 kB / 490.1 MB, free: 18.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0004511/0.4243, allocations: 293.3 kB / 490.4 MB, free: 18.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.4243, allocations: 5.75 kB / 490.4 MB, free: 18.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4243, allocations: 5.25 kB / 490.4 MB, free: 18.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.683e-06/0.4243, allocations: 10.88 kB / 490.4 MB, free: 18.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.4245, allocations: 63.44 kB / 490.5 MB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.4246, allocations: 10.61 kB / 490.5 MB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003565/0.4249, allocations: 43.3 kB / 490.6 MB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.425, allocations: 18.27 kB / 490.6 MB, free: 18.28 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.000106/0.4251, allocations: 196.6 kB / 490.8 MB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.4252, allocations: 49.97 kB / 490.8 MB, free: 18.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008735/0.4261, allocations: 262.3 kB / 491.1 MB, free: 17.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4261, allocations: 2.156 kB / 491.1 MB, free: 17.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.4261, allocations: 0.75 kB / 491.1 MB, free: 17.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.4261, allocations: 5.562 kB / 491.1 MB, free: 17.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006669/0.4268, allocations: 0.5903 MB / 491.7 MB, free: 17.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4268, allocations: 0.9062 kB / 491.7 MB, free: 17.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.4271, allocations: 50.28 kB / 491.7 MB, free: 17.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.4271, allocations: 1.156 kB / 491.7 MB, free: 17.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.4271, allocations: 2.688 kB / 491.7 MB, free: 17.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4271, allocations: 1.344 kB / 491.7 MB, free: 17.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.4271, allocations: 4.875 kB / 491.7 MB, free: 17.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007953/0.4279, allocations: 374.6 kB / 492.1 MB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.329e-05/0.428, allocations: 127.3 kB / 492.2 MB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.869e-05/0.4281, allocations: 5.469 kB / 492.2 MB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/0.4285, allocations: 46.55 kB / 492.3 MB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.4286, allocations: 10.19 kB / 492.3 MB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.4286, allocations: 7.656 kB / 492.3 MB, free: 17.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003824/0.429, allocations: 367.7 kB / 492.7 MB, free: 16.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.32e-07/0.429, allocations: 1.562 kB / 492.7 MB, free: 16.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007648/0.4298, allocations: 209.2 kB / 492.9 MB, free: 16.93 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.001029/0.4308, allocations: 420.7 kB / 493.3 MB, free: 16.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.432, allocations: 390.2 kB / 493.6 MB, free: 16.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.432, allocations: 2.125 kB / 493.7 MB, free: 16.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.4323, allocations: 109.2 kB / 493.8 MB, free: 16.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.4335, allocations: 229.5 kB / 494 MB, free: 16.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005127/0.4386, allocations: 1.446 MB / 495.4 MB, free: 16.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.4389, allocations: 0.8316 MB / 496.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004762/0.4394, allocations: 88.52 kB / 496.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.4396, allocations: 49.67 kB / 496.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4396, allocations: 0 / 496.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of Templates: time 0.02483/0.4644, allocations: 9.072 MB / 0.4936 GB, free: 14.71 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)