Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, 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.001158/0.001158, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.591/1.591, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4462/0.4462, allocations: 54.93 MB / 324.3 MB, free: 168 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.001367/0.001367, allocations: 63.91 kB / 394.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1686, allocations: 59.59 MB / 454.3 MB, free: 0.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.2695/0.4381, allocations: 17.36 MB / 471.7 MB, free: 29.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.4489, allocations: 7.166 MB / 478.8 MB, free: 25.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008786/0.4499, allocations: 13.72 kB / 478.8 MB, free: 25.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.451, allocations: 248.7 kB / 479.1 MB, free: 24.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.4525, allocations: 0.5141 MB / 479.6 MB, free: 24.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.4543, allocations: 0.5719 MB / 480.2 MB, free: 24.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001563/0.4559, allocations: 1.431 MB / 481.6 MB, free: 23.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004226/0.4563, allocations: 309.9 kB / 481.9 MB, free: 23.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006846/0.457, allocations: 429.2 kB / 482.3 MB, free: 23.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004155/0.4574, allocations: 366.2 kB / 482.7 MB, free: 23.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.401e-05/0.4575, allocations: 23.56 kB / 482.7 MB, free: 23.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.4586, allocations: 0.5972 MB / 483.3 MB, free: 23.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.4587, allocations: 140.2 kB / 483.4 MB, free: 23.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.459, allocations: 267.5 kB / 483.7 MB, free: 23.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009643/0.4599, allocations: 0.873 MB / 484.6 MB, free: 22.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4599, allocations: 0 / 484.6 MB, free: 22.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.46, allocations: 0 / 484.6 MB, free: 22.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.537e-06/0.46, allocations: 0 / 484.6 MB, free: 22.71 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00142/0.4614, allocations: 0.9097 MB / 485.5 MB, free: 22.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.4615, allocations: 7.781 kB / 485.5 MB, free: 22.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003632/0.4618, allocations: 74.23 kB / 485.6 MB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007151/0.4626, allocations: 466 kB / 486 MB, free: 21.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.4626, allocations: 27.06 kB / 486 MB, free: 21.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.869e-05/0.4627, allocations: 36.31 kB / 486.1 MB, free: 21.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.4639, allocations: 485 kB / 486.5 MB, free: 21.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.4639, allocations: 4.625 kB / 486.5 MB, free: 21.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.326e-05/0.4639, allocations: 18.5 kB / 486.6 MB, free: 21.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/0.464, allocations: 11.81 kB / 486.6 MB, free: 21.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008936/0.4649, allocations: 327 kB / 486.9 MB, free: 21.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.4669, allocations: 2.205 MB / 489.1 MB, free: 19.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007068/0.4676, allocations: 204.2 kB / 489.3 MB, free: 19.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.4678, allocations: 59.39 kB / 489.4 MB, free: 19.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/0.469, allocations: 0.9126 MB / 490.3 MB, free: 18.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.469, allocations: 40.66 kB / 490.3 MB, free: 18.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 3.286e-06/0.4691, allocations: 0 / 490.3 MB, free: 18.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001435/0.4705, allocations: 359 kB / 490.7 MB, free: 18.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.4706, allocations: 104.1 kB / 490.8 MB, free: 18.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000913/0.4715, allocations: 0.6522 MB / 491.4 MB, free: 18.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.4715, allocations: 28.02 kB / 491.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.4717, allocations: 320.7 kB / 491.8 MB, free: 17.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.4718, allocations: 47.77 kB / 491.8 MB, free: 17.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.4719, allocations: 81.62 kB / 491.9 MB, free: 17.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.472, allocations: 370.3 kB / 492.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.4724, allocations: 112.8 kB / 492.4 MB, free: 17.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.4728, allocations: 301.5 kB / 492.6 MB, free: 17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006446/0.4735, allocations: 340 kB / 493 MB, free: 16.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.4735, allocations: 2.312 kB / 493 MB, free: 16.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009353/0.4744, allocations: 415.3 kB / 493.4 MB, free: 16.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.4744, allocations: 9.719 kB / 493.4 MB, free: 16.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.4745, allocations: 8.938 kB / 493.4 MB, free: 16.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.4745, allocations: 6.656 kB / 493.4 MB, free: 16.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.4749, allocations: 90.72 kB / 493.5 MB, free: 16.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.4749, allocations: 10.5 kB / 493.5 MB, free: 16.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.4755, allocations: 72.28 kB / 493.6 MB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.4755, allocations: 22.09 kB / 493.6 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003879/0.4759, allocations: 229.5 kB / 493.8 MB, free: 16.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003374/0.4763, allocations: 264.7 kB / 494.1 MB, free: 16.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004973/0.4768, allocations: 291.1 kB / 494.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/0.4768, allocations: 0.9688 kB / 494.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0007032/0.4775, allocations: 368.9 kB / 494.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4775, allocations: 10.75 kB / 494.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4775, allocations: 3.875 kB / 494.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.4776, allocations: 6.719 kB / 494.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.4779, allocations: 80.52 kB / 494.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.4779, allocations: 16.23 kB / 494.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004339/0.4783, allocations: 45.78 kB / 494.9 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.4784, allocations: 18.94 kB / 494.9 MB, free: 15.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (42): * Single equations (assignments): 42 * 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.0001734/0.4785, allocations: 200.2 kB / 495.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.4787, allocations: 51.75 kB / 495.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008288/0.4795, allocations: 243.3 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.4795, allocations: 7.016 kB / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.4795, allocations: 1.219 kB / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4795, allocations: 0 / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005916/0.4801, allocations: 403.4 kB / 495.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4801, allocations: 0 / 495.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.4804, allocations: 39.98 kB / 495.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4804, allocations: 3.938 kB / 495.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.4804, allocations: 6.938 kB / 495.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.4804, allocations: 5.406 kB / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4804, allocations: 0 / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009295/0.4814, allocations: 408.3 kB / 496.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.4815, allocations: 123.8 kB / 496.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.36e-05/0.4816, allocations: 4.188 kB / 496.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003417/0.4819, allocations: 36 kB / 496.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.482, allocations: 7.125 kB / 496.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.482, allocations: 6.969 kB / 496.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006341/0.4827, allocations: 459.5 kB / 496.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.52e-07/0.4827, allocations: 0 / 496.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001035/0.4837, allocations: 249.3 kB / 497.1 MB, free: 14.54 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senVolFlo.d) * 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 (11): * Single equations (assignments): 11 * 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.001258/0.485, allocations: 437.7 kB / 497.5 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.4862, allocations: 396.8 kB / 497.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4862, allocations: 4.062 kB / 497.9 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.4864, allocations: 78.27 kB / 498 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.4879, allocations: 276.3 kB / 498.3 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.4917, allocations: 1.313 MB / 499.6 MB, free: 13.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.4921, allocations: 0.8565 MB / 0.4887 GB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005351/0.4927, allocations: 107.1 kB / 0.4888 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.4928, allocations: 46.16 kB / 0.4889 GB, free: 12.83 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4928, allocations: 0 / 0.4889 GB, free: 12.83 MB / 382.1 MB Notification: Performance of Templates: time 0.02788/0.5207, allocations: 10.26 MB / 0.4989 GB, free: 11.31 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)