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.0009626/0.0009674, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001025/0.001025, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.882/1.882, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4406/0.4406, allocations: 55.01 MB / 325.4 MB, free: 0.6758 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.0005612/0.0005614, allocations: 20 kB / 396.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4492, allocations: 60.72 MB / 457.4 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01346/0.4627, allocations: 14.22 MB / 471.6 MB, free: 31.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009976/0.4727, allocations: 6.006 MB / 477.6 MB, free: 27.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006021/0.4734, allocations: 13.16 kB / 477.6 MB, free: 27.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.4744, allocations: 229.9 kB / 477.8 MB, free: 27.65 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001354/0.4758, allocations: 471.2 kB / 478.3 MB, free: 27.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.4773, allocations: 0.5155 MB / 478.8 MB, free: 27.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001243/0.4786, allocations: 1.238 MB / 480 MB, free: 26.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004087/0.479, allocations: 273.3 kB / 480.3 MB, free: 26.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008311/0.4798, allocations: 424.9 kB / 480.7 MB, free: 26.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004109/0.4802, allocations: 332.5 kB / 481.1 MB, free: 26.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.308e-05/0.4803, allocations: 16.47 kB / 481.1 MB, free: 26.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009113/0.4812, allocations: 491.3 kB / 481.5 MB, free: 26.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.4813, allocations: 97.77 kB / 481.6 MB, free: 26.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.4815, allocations: 116.7 kB / 481.8 MB, free: 26.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005681/0.482, allocations: 0.5564 MB / 482.3 MB, free: 25.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4821, allocations: 0 / 482.3 MB, free: 25.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4821, allocations: 0 / 482.3 MB, free: 25.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.4821, allocations: 0 / 482.3 MB, free: 25.87 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.001005/0.4831, allocations: 0.7579 MB / 483.1 MB, free: 25.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.4831, allocations: 9.156 kB / 483.1 MB, free: 25.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.4834, allocations: 63.09 kB / 483.1 MB, free: 25.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.4838, allocations: 408.4 kB / 483.5 MB, free: 24.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.4839, allocations: 19.78 kB / 483.6 MB, free: 24.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.4839, allocations: 34.62 kB / 483.6 MB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.4852, allocations: 0.556 MB / 484.1 MB, free: 24.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.4852, allocations: 6.109 kB / 484.2 MB, free: 24.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.4853, allocations: 14.16 kB / 484.2 MB, free: 24.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.4853, allocations: 8.625 kB / 484.2 MB, free: 24.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.4864, allocations: 405 kB / 484.6 MB, free: 24.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.4882, allocations: 2.034 MB / 486.6 MB, free: 22.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009265/0.4891, allocations: 309.8 kB / 486.9 MB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.4893, allocations: 53.2 kB / 487 MB, free: 22.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.4893, allocations: 7.844 kB / 487 MB, free: 22.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.4893, allocations: 44.83 kB / 487 MB, free: 22.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.793e-06/0.4894, allocations: 0 / 487 MB, free: 22.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.002016/0.4914, allocations: 0.5389 MB / 487.6 MB, free: 22.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.4915, allocations: 160.6 kB / 487.7 MB, free: 22.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005491/0.492, allocations: 0.5181 MB / 488.2 MB, free: 22.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.492, allocations: 29.7 kB / 488.3 MB, free: 22.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.4922, allocations: 274.7 kB / 488.5 MB, free: 21.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.4922, allocations: 36.83 kB / 488.6 MB, free: 21.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/0.4923, allocations: 8 kB / 488.6 MB, free: 21.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.4924, allocations: 355.9 kB / 488.9 MB, free: 21.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.4927, allocations: 138.5 kB / 489 MB, free: 21.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/0.4931, allocations: 279.1 kB / 489.3 MB, free: 21.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.4935, allocations: 162.1 kB / 489.5 MB, free: 21.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4935, allocations: 0 / 489.5 MB, free: 21.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008581/0.4944, allocations: 434.2 kB / 489.9 MB, free: 21.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.284e-05/0.4945, allocations: 173.3 kB / 490.1 MB, free: 20.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.4945, allocations: 7.078 kB / 490.1 MB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.4945, allocations: 5.953 kB / 490.1 MB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.4949, allocations: 97.09 kB / 490.2 MB, free: 20.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.4949, allocations: 3.562 kB / 490.2 MB, free: 20.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/0.4954, allocations: 83.73 kB / 490.3 MB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.4955, allocations: 12.12 kB / 490.3 MB, free: 20.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.4955, allocations: 6.062 kB / 490.3 MB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000379/0.4959, allocations: 232.3 kB / 490.5 MB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.4959, allocations: 3 kB / 490.5 MB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-06/0.4959, allocations: 4.969 kB / 490.5 MB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.4961, allocations: 67.14 kB / 490.6 MB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4961, allocations: 7.062 kB / 490.6 MB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.4964, allocations: 48.17 kB / 490.6 MB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.4964, allocations: 15.03 kB / 490.7 MB, free: 20.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002187/0.4966, allocations: 259.1 kB / 490.9 MB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.833e-05/0.4967, allocations: 47.22 kB / 491 MB, free: 20.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007576/0.4975, allocations: 293.7 kB / 491.2 MB, free: 20.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.4975, allocations: 2.438 kB / 491.2 MB, free: 20.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4975, allocations: 0 / 491.2 MB, free: 20.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.4976, allocations: 0.875 kB / 491.2 MB, free: 20.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00076/0.4983, allocations: 0.5871 MB / 491.8 MB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.4983, allocations: 5.125 kB / 491.8 MB, free: 19.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.4986, allocations: 54.28 kB / 491.9 MB, free: 19.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.4986, allocations: 1 kB / 491.9 MB, free: 19.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.4987, allocations: 3.969 kB / 491.9 MB, free: 19.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.4987, allocations: 1.469 kB / 491.9 MB, free: 19.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4987, allocations: 9.547 kB / 491.9 MB, free: 19.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009359/0.4996, allocations: 405.8 kB / 492.3 MB, free: 19.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.4997, allocations: 120.7 kB / 492.4 MB, free: 19.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.4998, allocations: 9.281 kB / 492.4 MB, free: 19.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.5002, allocations: 57.89 kB / 492.5 MB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.5003, allocations: 14.3 kB / 492.5 MB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.5003, allocations: 10.98 kB / 492.5 MB, free: 19.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004651/0.5008, allocations: 365.7 kB / 492.9 MB, free: 19.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5008, allocations: 0 / 492.9 MB, free: 19.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007857/0.5016, allocations: 204.2 kB / 493.1 MB, free: 19.31 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009892/0.5026, allocations: 415.4 kB / 493.5 MB, free: 19.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.5039, allocations: 414.3 kB / 493.9 MB, free: 19.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5039, allocations: 2.312 kB / 493.9 MB, free: 19.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.5042, allocations: 120.2 kB / 494 MB, free: 19.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.5056, allocations: 252.9 kB / 494.2 MB, free: 19.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005061/0.5107, allocations: 1.536 MB / 495.8 MB, free: 18.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.5111, allocations: 0.8293 MB / 496.6 MB, free: 17.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005824/0.5117, allocations: 97.53 kB / 496.7 MB, free: 17.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.5118, allocations: 40.45 kB / 496.7 MB, free: 17.73 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5118, allocations: 0 / 496.7 MB, free: 17.73 MB / 382.1 MB Notification: Performance of Templates: time 0.02779/0.5396, allocations: 8.677 MB / 0.4936 GB, free: 17.04 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: