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.001325/0.001329, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.656/1.656, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4182/0.4182, allocations: 54.95 MB / 324.7 MB, free: 15.97 MB / 270.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.001526/0.001526, allocations: 67.91 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1249, allocations: 59.59 MB / 454.9 MB, free: 148 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.2603/0.3853, allocations: 15.54 MB / 470.5 MB, free: 30.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01166/0.397, allocations: 6.305 MB / 476.8 MB, free: 26.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.3981, allocations: 15.72 kB / 476.8 MB, free: 26.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.3997, allocations: 304.8 kB / 477.1 MB, free: 26.13 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.00198/0.4017, allocations: 0.543 MB / 477.6 MB, free: 25.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.4036, allocations: 0.6306 MB / 478.3 MB, free: 25.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001427/0.4051, allocations: 1.078 MB / 479.3 MB, free: 25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005057/0.4056, allocations: 348.4 kB / 479.7 MB, free: 24.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008229/0.4064, allocations: 478.5 kB / 480.1 MB, free: 24.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004271/0.4069, allocations: 352.9 kB / 480.5 MB, free: 24.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.918e-05/0.4069, allocations: 33.06 kB / 480.5 MB, free: 24.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009988/0.408, allocations: 0.5261 MB / 481 MB, free: 24.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.4081, allocations: 116.4 kB / 481.2 MB, free: 24.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002474/0.4084, allocations: 257.3 kB / 481.4 MB, free: 24.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009184/0.4093, allocations: 0.7671 MB / 482.2 MB, free: 23.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4093, allocations: 4 kB / 482.2 MB, free: 23.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4093, allocations: 0 / 482.2 MB, free: 23.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.4093, allocations: 3.938 kB / 482.2 MB, free: 23.86 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.001203/0.4105, allocations: 0.848 MB / 483 MB, free: 23.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.4106, allocations: 9.062 kB / 483 MB, free: 23.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00028/0.4109, allocations: 71.19 kB / 483.1 MB, free: 23.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000476/0.4113, allocations: 422.1 kB / 483.5 MB, free: 22.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.4114, allocations: 33.55 kB / 483.6 MB, free: 22.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.4114, allocations: 32.28 kB / 483.6 MB, free: 22.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.4128, allocations: 0.5125 MB / 484.1 MB, free: 22.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.4129, allocations: 6.844 kB / 484.1 MB, free: 22.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.4129, allocations: 10.84 kB / 484.1 MB, free: 22.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.4129, allocations: 15.44 kB / 484.1 MB, free: 22.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.4142, allocations: 372.1 kB / 484.5 MB, free: 22.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.416, allocations: 2.029 MB / 486.5 MB, free: 20.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.4171, allocations: 276.3 kB / 486.8 MB, free: 20.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.4172, allocations: 51.2 kB / 486.8 MB, free: 20.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.4173, allocations: 7.328 kB / 486.9 MB, free: 20.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.4173, allocations: 37.94 kB / 486.9 MB, free: 20.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.774e-06/0.4173, allocations: 0 / 486.9 MB, free: 20.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.00218/0.4195, allocations: 489.8 kB / 487.4 MB, free: 20.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.4196, allocations: 157.6 kB / 487.5 MB, free: 20.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/0.4201, allocations: 0.5262 MB / 488 MB, free: 20.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.4202, allocations: 30.02 kB / 488.1 MB, free: 20.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.4204, allocations: 280.3 kB / 488.4 MB, free: 19.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.4204, allocations: 36.28 kB / 488.4 MB, free: 19.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.4205, allocations: 67.08 kB / 488.5 MB, free: 19.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.4206, allocations: 360.1 kB / 488.8 MB, free: 19.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.421, allocations: 123.3 kB / 488.9 MB, free: 19.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000464/0.4215, allocations: 269.9 kB / 489.2 MB, free: 19.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007331/0.4222, allocations: 322.3 kB / 489.5 MB, free: 19.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.4222, allocations: 1.5 kB / 489.5 MB, free: 19.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009479/0.4232, allocations: 407.2 kB / 489.9 MB, free: 18.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.4232, allocations: 13.22 kB / 489.9 MB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.4232, allocations: 3.797 kB / 489.9 MB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.4233, allocations: 5.25 kB / 489.9 MB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.4237, allocations: 85.62 kB / 490 MB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.4237, allocations: 5.25 kB / 490 MB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004592/0.4241, allocations: 71.66 kB / 490.1 MB, free: 18.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.4242, allocations: 19.12 kB / 490.1 MB, free: 18.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002784/0.4245, allocations: 199.2 kB / 490.3 MB, free: 18.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002335/0.4247, allocations: 230 kB / 490.5 MB, free: 18.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002871/0.425, allocations: 229.7 kB / 490.7 MB, free: 18.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.425, allocations: 0 / 490.7 MB, free: 18.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0004825/0.4255, allocations: 297.9 kB / 491 MB, free: 18.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.4255, allocations: 6.062 kB / 491 MB, free: 18.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4255, allocations: 5.875 kB / 491 MB, free: 18.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.161e-06/0.4255, allocations: 7.781 kB / 491.1 MB, free: 18.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.4258, allocations: 63.66 kB / 491.1 MB, free: 18.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.4258, allocations: 13 kB / 491.1 MB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.4261, allocations: 34.75 kB / 491.2 MB, free: 18.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.4262, allocations: 10.41 kB / 491.2 MB, free: 18.13 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.0001246/0.4263, allocations: 200.7 kB / 491.4 MB, free: 17.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.4264, allocations: 49.47 kB / 491.4 MB, free: 17.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.399e-05/0.4265, allocations: 45.39 kB / 491.5 MB, free: 17.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4265, allocations: 7.781 kB / 491.5 MB, free: 17.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.4265, allocations: 4.844 kB / 491.5 MB, free: 17.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4265, allocations: 1.531 kB / 491.5 MB, free: 17.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006613/0.4272, allocations: 0.5984 MB / 492.1 MB, free: 17.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4272, allocations: 1.031 kB / 492.1 MB, free: 17.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.4275, allocations: 43.89 kB / 492.1 MB, free: 17.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.4275, allocations: 6.031 kB / 492.1 MB, free: 17.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.4275, allocations: 0.9688 kB / 492.1 MB, free: 17.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.4275, allocations: 5.469 kB / 492.1 MB, free: 17.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4275, allocations: 0.5625 kB / 492.1 MB, free: 17.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008197/0.4284, allocations: 374.2 kB / 492.5 MB, free: 17.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.639e-05/0.4285, allocations: 123.5 kB / 492.6 MB, free: 17.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.968e-05/0.4285, allocations: 2.438 kB / 492.6 MB, free: 17.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/0.429, allocations: 39.61 kB / 492.7 MB, free: 17.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.497e-05/0.4291, allocations: 12.97 kB / 492.7 MB, free: 17.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.4291, allocations: 7.406 kB / 492.7 MB, free: 17.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005925/0.4297, allocations: 369.1 kB / 493 MB, free: 16.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.146e-06/0.4297, allocations: 0 / 493 MB, free: 16.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001008/0.4307, allocations: 215.9 kB / 493.2 MB, free: 16.84 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.001397/0.4321, allocations: 406.9 kB / 493.6 MB, free: 16.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001641/0.4338, allocations: 399.6 kB / 494 MB, free: 16.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.4338, allocations: 0 / 494 MB, free: 16.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004162/0.4342, allocations: 105.1 kB / 494.1 MB, free: 16.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.4356, allocations: 233.3 kB / 494.4 MB, free: 16.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005483/0.4411, allocations: 1.295 MB / 495.7 MB, free: 16.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.4416, allocations: 0.831 MB / 496.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005263/0.4421, allocations: 94.97 kB / 496.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.4422, allocations: 44.19 kB / 496.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4423, allocations: 1.562 kB / 496.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of Templates: time 0.02437/0.4666, allocations: 9.18 MB / 0.494 GB, free: 14.6 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)