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.001193/0.001193, allocations: 91.61 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.001242/0.001242, 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.848/1.848, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4603/0.4603, allocations: 55.01 MB / 325.4 MB, free: 0.6055 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.0006217/0.0006218, allocations: 12 kB / 396.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4647/0.4653, allocations: 60.72 MB / 457.4 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01605/0.4814, allocations: 15.98 MB / 473.3 MB, free: 30.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.4917, allocations: 6.399 MB / 479.7 MB, free: 26.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008357/0.4926, allocations: 14.5 kB / 479.8 MB, free: 26.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.4936, allocations: 222 kB / 480 MB, free: 26.2 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.001509/0.4951, allocations: 478.7 kB / 480.4 MB, free: 25.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.4969, allocations: 0.529 MB / 481 MB, free: 25.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.4981, allocations: 1.221 MB / 482.2 MB, free: 25.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/0.4985, allocations: 279.1 kB / 482.5 MB, free: 25.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005895/0.4991, allocations: 413 kB / 482.9 MB, free: 24.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003625/0.4995, allocations: 333.9 kB / 483.2 MB, free: 24.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.113e-05/0.4995, allocations: 21.03 kB / 483.2 MB, free: 24.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000945/0.5005, allocations: 0.5352 MB / 483.8 MB, free: 24.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.5006, allocations: 128.3 kB / 483.9 MB, free: 24.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.5007, allocations: 126.3 kB / 484 MB, free: 24.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006534/0.5014, allocations: 0.6301 MB / 484.6 MB, free: 24.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.5014, allocations: 0 / 484.6 MB, free: 24.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5014, allocations: 7.938 kB / 484.6 MB, free: 24.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.5015, allocations: 0 / 484.6 MB, free: 24.37 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.001109/0.5026, allocations: 0.809 MB / 485.5 MB, free: 23.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.5026, allocations: 13.09 kB / 485.5 MB, free: 23.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/0.5029, allocations: 79.08 kB / 485.5 MB, free: 23.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.5035, allocations: 446.5 kB / 486 MB, free: 23.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.5035, allocations: 27.16 kB / 486 MB, free: 23.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/0.5036, allocations: 35.97 kB / 486 MB, free: 23.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.5046, allocations: 496.2 kB / 486.5 MB, free: 23.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.5046, allocations: 3.938 kB / 486.5 MB, free: 23.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.5047, allocations: 13.59 kB / 486.5 MB, free: 23.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.5047, allocations: 13.53 kB / 486.6 MB, free: 23.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007997/0.5055, allocations: 338.3 kB / 486.9 MB, free: 23.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.5074, allocations: 2.217 MB / 489.1 MB, free: 21.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006525/0.508, allocations: 207.3 kB / 489.3 MB, free: 21.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.5082, allocations: 72.3 kB / 489.4 MB, free: 21.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/0.5093, allocations: 0.9282 MB / 490.3 MB, free: 20.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.5093, allocations: 42.05 kB / 490.3 MB, free: 20.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.5093, allocations: 0 / 490.3 MB, free: 20.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001186/0.5105, allocations: 395.7 kB / 490.7 MB, free: 20.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.5106, allocations: 105.6 kB / 490.8 MB, free: 20.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006499/0.5112, allocations: 0.6399 MB / 491.5 MB, free: 19.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.5113, allocations: 33.12 kB / 491.5 MB, free: 19.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.5114, allocations: 325.6 kB / 491.8 MB, free: 19.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.5115, allocations: 39.52 kB / 491.9 MB, free: 19.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.5115, allocations: 10.62 kB / 491.9 MB, free: 19.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.5116, allocations: 364.9 kB / 492.2 MB, free: 19.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.5119, allocations: 113.8 kB / 492.3 MB, free: 19.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.5123, allocations: 305.4 kB / 492.6 MB, free: 18.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.5126, allocations: 157.7 kB / 492.8 MB, free: 18.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5126, allocations: 6.625 kB / 492.8 MB, free: 18.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007399/0.5133, allocations: 436.7 kB / 493.2 MB, free: 18.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-05/0.5134, allocations: 213.6 kB / 493.4 MB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.5135, allocations: 10.84 kB / 493.4 MB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.5135, allocations: 6 kB / 493.4 MB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.5139, allocations: 92.38 kB / 493.5 MB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/0.5139, allocations: 9.75 kB / 493.5 MB, free: 18.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.5143, allocations: 80.81 kB / 493.6 MB, free: 18.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.5144, allocations: 17.34 kB / 493.6 MB, free: 18.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.5144, allocations: 3.469 kB / 493.6 MB, free: 18.24 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006114/0.515, allocations: 291.5 kB / 493.9 MB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.515, allocations: 8.344 kB / 493.9 MB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.5151, allocations: 7.188 kB / 493.9 MB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.5154, allocations: 87.02 kB / 494 MB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.5154, allocations: 10.53 kB / 494 MB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.5157, allocations: 62.94 kB / 494.1 MB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.5157, allocations: 13.09 kB / 494.1 MB, free: 18.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002823/0.516, allocations: 275.4 kB / 494.4 MB, free: 17.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-05/0.5161, allocations: 56.16 kB / 494.4 MB, free: 17.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006558/0.5168, allocations: 258.5 kB / 494.7 MB, free: 17.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.5168, allocations: 1 kB / 494.7 MB, free: 17.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.5168, allocations: 0 / 494.7 MB, free: 17.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.5168, allocations: 5.047 kB / 494.7 MB, free: 17.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.5173, allocations: 399 kB / 495.1 MB, free: 17.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5173, allocations: 3.938 kB / 495.1 MB, free: 17.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.5175, allocations: 41.28 kB / 495.1 MB, free: 17.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.5175, allocations: 5 kB / 495.1 MB, free: 17.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.5176, allocations: 1.312 kB / 495.1 MB, free: 17.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.5176, allocations: 1.219 kB / 495.1 MB, free: 17.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.5176, allocations: 0 / 495.1 MB, free: 17.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008489/0.5184, allocations: 441.2 kB / 495.6 MB, free: 17.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.5186, allocations: 139.6 kB / 495.7 MB, free: 17.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.769e-05/0.5186, allocations: 9.156 kB / 495.7 MB, free: 17.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/0.519, allocations: 31.38 kB / 495.7 MB, free: 17.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.519, allocations: 13.31 kB / 495.8 MB, free: 17.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.519, allocations: 10.88 kB / 495.8 MB, free: 17.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005368/0.5196, allocations: 456 kB / 496.2 MB, free: 16.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5196, allocations: 0 / 496.2 MB, free: 16.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009328/0.5205, allocations: 236.2 kB / 496.4 MB, free: 16.85 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 (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.001196/0.5217, allocations: 443.6 kB / 496.9 MB, free: 16.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.5229, allocations: 419.8 kB / 497.3 MB, free: 16.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.5229, allocations: 1.75 kB / 497.3 MB, free: 16.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.5232, allocations: 90.95 kB / 497.4 MB, free: 16.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.5245, allocations: 281 kB / 497.7 MB, free: 16.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/0.5282, allocations: 1.376 MB / 499 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.5286, allocations: 0.8549 MB / 499.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004925/0.5291, allocations: 118.4 kB / 0.4883 GB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.5292, allocations: 40.05 kB / 0.4883 GB, free: 15.17 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5292, allocations: 0 / 0.4883 GB, free: 15.17 MB / 382.1 MB Notification: Performance of Templates: time 0.02817/0.5574, allocations: 9.933 MB / 0.498 GB, free: 13.58 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: