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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.3482/0.3482, allocations: 55.02 MB / 69.96 MB, free: 8.66 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001362/0.001362, allocations: 189.8 kB / 83.98 MB, free: 10.85 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.769/1.769, allocations: 194.4 MB / 292.3 MB, free: 3.602 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001919/0.001919, allocations: 108.4 kB / 350.7 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004336, allocations: 12 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1756, allocations: 57.65 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.245/1.421, allocations: 343 MB / 0.8003 GB, free: 86.19 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/1.421, allocations: 100.4 kB / 0.8004 GB, free: 86.13 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7167/2.138, allocations: 163.4 MB / 0.96 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.366e-06/2.138, allocations: 4 kB / 0.96 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.991e-05/2.138, allocations: 14.19 kB / 0.96 GB, free: 129.2 MB / 0.4948 GB 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.002644/2.141, allocations: 0.9071 MB / 0.9609 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/2.141, allocations: 8.031 kB / 0.9609 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005546/2.141, allocations: 67.33 kB / 0.961 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/2.143, allocations: 477.3 kB / 0.9614 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.563e-05/2.143, allocations: 32.55 kB / 0.9614 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/2.143, allocations: 43.91 kB / 0.9615 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/2.144, allocations: 494.1 kB / 0.962 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/2.144, allocations: 0 / 0.962 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.672e-05/2.144, allocations: 16 kB / 0.962 GB, free: 127 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-05/2.144, allocations: 11.88 kB / 0.962 GB, free: 127 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/2.145, allocations: 341.8 kB / 0.9623 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003201/2.149, allocations: 2.244 MB / 0.9645 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007507/2.149, allocations: 214.5 kB / 0.9647 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001582/2.151, allocations: 0.9318 MB / 0.9656 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/2.151, allocations: 42.55 kB / 0.9657 GB, free: 123 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 2.535e-06/2.151, allocations: 4 kB / 0.9657 GB, free: 123 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.001543/2.153, allocations: 394 kB / 0.966 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/2.153, allocations: 106.8 kB / 0.9661 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007836/2.153, allocations: 0.5762 MB / 0.9667 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/2.153, allocations: 25.7 kB / 0.9667 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/2.154, allocations: 319.3 kB / 0.967 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/2.154, allocations: 39.45 kB / 0.9671 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/2.154, allocations: 8 kB / 0.9671 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001213/2.154, allocations: 358.8 kB / 0.9674 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/2.154, allocations: 115.9 kB / 0.9675 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004636/2.155, allocations: 327.6 kB / 0.9678 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/2.155, allocations: 177.5 kB / 0.968 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/2.155, allocations: 4 kB / 0.968 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009897/2.156, allocations: 476.2 kB / 0.9685 GB, free: 120 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005512/2.157, allocations: 1.677 MB / 0.9701 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/2.157, allocations: 11.95 kB / 0.9701 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/2.157, allocations: 4 kB / 0.9701 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/2.157, allocations: 103.8 kB / 0.9702 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/2.157, allocations: 8 kB / 0.9702 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006378/2.158, allocations: 79.48 kB / 0.9703 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/2.158, allocations: 20 kB / 0.9703 GB, free: 118 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/2.158, allocations: 5.25 kB / 0.9703 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006073/2.159, allocations: 329.4 kB / 0.9706 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/2.159, allocations: 4 kB / 0.9706 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/2.159, allocations: 8 kB / 0.9706 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/2.159, allocations: 79.91 kB / 0.9707 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/2.159, allocations: 12.3 kB / 0.9707 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/2.159, allocations: 59.52 kB / 0.9708 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/2.159, allocations: 20 kB / 0.9708 GB, free: 117.4 MB / 0.4948 GB 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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * 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.0003321/2.16, allocations: 265 kB / 0.9711 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/2.16, allocations: 55.28 kB / 0.9711 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000705/2.161, allocations: 266 kB / 0.9714 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/2.161, allocations: 0 / 0.9714 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/2.161, allocations: 0 / 0.9714 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/2.161, allocations: 0 / 0.9714 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000602/2.161, allocations: 413.2 kB / 0.9718 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/2.161, allocations: 0 / 0.9718 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/2.161, allocations: 43.91 kB / 0.9718 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/2.161, allocations: 4 kB / 0.9718 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/2.161, allocations: 0 / 0.9718 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/2.161, allocations: 0 / 0.9718 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/2.161, allocations: 0 / 0.9718 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009171/2.162, allocations: 451.1 kB / 0.9722 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/2.163, allocations: 140.5 kB / 0.9724 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.617e-05/2.163, allocations: 4 kB / 0.9724 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/2.163, allocations: 32.03 kB / 0.9724 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.97e-05/2.163, allocations: 11.98 kB / 0.9724 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/2.163, allocations: 11.92 kB / 0.9724 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005267/2.164, allocations: 442.8 kB / 0.9729 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/2.164, allocations: 0 / 0.9729 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001145/2.165, allocations: 276 kB / 0.9731 GB, free: 115 MB / 0.4948 GB 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.001339/2.166, allocations: 470 kB / 0.9736 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001197/2.167, allocations: 0.5353 MB / 0.9741 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/2.168, allocations: 0 / 0.9741 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00026/2.168, allocations: 96.19 kB / 0.9742 GB, free: 114 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/2.169, allocations: 270 kB / 0.9744 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/2.173, allocations: 1.34 MB / 0.9757 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/2.173, allocations: 0.8743 MB / 0.9766 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005766/2.174, allocations: 104.6 kB / 0.9767 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/2.174, allocations: 47.38 kB / 0.9767 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of SimCode: time 8.52e-07/2.174, allocations: 0 / 0.9767 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.02271/2.197, allocations: 11.43 MB / 0.9879 GB, free: 99.9 MB / 0.4948 GB 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)