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.3633/0.3633, allocations: 54.33 MB / 66.89 MB, free: 6.121 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.001048/0.001048, allocations: 179.8 kB / 80.7 MB, free: 15.4 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.588/1.588, allocations: 194.2 MB / 288.6 MB, free: 14.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001622/0.001622, allocations: 119.5 kB / 346.9 MB, free: 4.719 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.827e-05/2.83e-05, allocations: 0 / 412.4 MB, free: 21.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1146, allocations: 57.64 MB / 470 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9008/1.015, allocations: 342.9 MB / 0.7939 GB, free: 35.68 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/1.016, allocations: 95.38 kB / 0.7939 GB, free: 35.63 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5752/1.591, allocations: 162.9 MB / 0.953 GB, free: 95.18 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.653e-06/1.591, allocations: 0 / 0.953 GB, free: 95.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.157e-05/1.591, allocations: 16 kB / 0.9531 GB, free: 95.17 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.001202/1.592, allocations: 0.8156 MB / 0.9538 GB, free: 94.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.592, allocations: 8.031 kB / 0.9539 GB, free: 94.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002697/1.593, allocations: 71.33 kB / 0.9539 GB, free: 94.22 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000697/1.593, allocations: 457.5 kB / 0.9544 GB, free: 93.74 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/1.593, allocations: 36.73 kB / 0.9544 GB, free: 93.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/1.593, allocations: 36 kB / 0.9544 GB, free: 93.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008249/1.594, allocations: 443.9 kB / 0.9549 GB, free: 93.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/1.594, allocations: 0 / 0.9549 GB, free: 93.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/1.594, allocations: 16 kB / 0.9549 GB, free: 93.17 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/1.594, allocations: 12 kB / 0.9549 GB, free: 93.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006078/1.595, allocations: 274 kB / 0.9551 GB, free: 92.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/1.597, allocations: 2.251 MB / 0.9573 GB, free: 90.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/1.597, allocations: 163.3 kB / 0.9575 GB, free: 90.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.913e-05/1.597, allocations: 44.86 kB / 0.9575 GB, free: 90.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/1.598, allocations: 0.9513 MB / 0.9585 GB, free: 89.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/1.599, allocations: 38.56 kB / 0.9585 GB, free: 89.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/1.599, allocations: 0 / 0.9585 GB, free: 89.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.00086/1.599, allocations: 268.8 kB / 0.9588 GB, free: 88.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/1.599, allocations: 110.8 kB / 0.9589 GB, free: 88.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005434/1.6, allocations: 0.5633 MB / 0.9594 GB, free: 88.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/1.6, allocations: 29.7 kB / 0.9594 GB, free: 88.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/1.6, allocations: 307.3 kB / 0.9597 GB, free: 87.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/1.6, allocations: 43.44 kB / 0.9598 GB, free: 87.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/1.6, allocations: 11.94 kB / 0.9598 GB, free: 87.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.823e-05/1.6, allocations: 366.8 kB / 0.9601 GB, free: 87.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/1.6, allocations: 75.92 kB / 0.9602 GB, free: 87.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/1.601, allocations: 268.5 kB / 0.9605 GB, free: 87.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/1.601, allocations: 136 kB / 0.9606 GB, free: 86.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.601, allocations: 4 kB / 0.9606 GB, free: 86.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004717/1.601, allocations: 374.3 kB / 0.961 GB, free: 86.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003628/1.602, allocations: 1.689 MB / 0.9626 GB, free: 84.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.602, allocations: 4 kB / 0.9626 GB, free: 84.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/1.602, allocations: 8 kB / 0.9626 GB, free: 84.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/1.602, allocations: 99.81 kB / 0.9627 GB, free: 84.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/1.602, allocations: 4 kB / 0.9627 GB, free: 84.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/1.603, allocations: 79.44 kB / 0.9628 GB, free: 84.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/1.603, allocations: 23.98 kB / 0.9628 GB, free: 84.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/1.603, allocations: 9.188 kB / 0.9628 GB, free: 84.45 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003435/1.603, allocations: 289.2 kB / 0.9631 GB, free: 84.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.603, allocations: 4 kB / 0.9631 GB, free: 84.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.603e-06/1.603, allocations: 11.94 kB / 0.9631 GB, free: 84.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/1.603, allocations: 92.39 kB / 0.9632 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/1.603, allocations: 4 kB / 0.9632 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/1.604, allocations: 55.58 kB / 0.9633 GB, free: 84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/1.604, allocations: 23.98 kB / 0.9633 GB, free: 83.97 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 () * 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 7.951e-05/1.604, allocations: 124.8 kB / 0.9634 GB, free: 83.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.779e-05/1.604, allocations: 59.34 kB / 0.9635 GB, free: 83.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/1.604, allocations: 162.2 kB / 0.9636 GB, free: 83.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/1.604, allocations: 4 kB / 0.9636 GB, free: 83.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.604, allocations: 0 / 0.9636 GB, free: 83.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.604, allocations: 3.984 kB / 0.9636 GB, free: 83.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/1.605, allocations: 409.2 kB / 0.964 GB, free: 83.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.605, allocations: 0 / 0.964 GB, free: 83.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/1.605, allocations: 43.91 kB / 0.9641 GB, free: 83.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/1.605, allocations: 0 / 0.9641 GB, free: 83.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/1.605, allocations: 7.984 kB / 0.9641 GB, free: 83.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.605, allocations: 3.938 kB / 0.9641 GB, free: 83.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/1.605, allocations: 0 / 0.9641 GB, free: 83.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/1.605, allocations: 294.9 kB / 0.9643 GB, free: 82.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/1.605, allocations: 140.5 kB / 0.9645 GB, free: 82.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-05/1.605, allocations: 16 kB / 0.9645 GB, free: 82.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/1.606, allocations: 27.97 kB / 0.9645 GB, free: 82.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/1.606, allocations: 15.92 kB / 0.9645 GB, free: 82.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/1.606, allocations: 7.984 kB / 0.9645 GB, free: 82.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004036/1.606, allocations: 441.5 kB / 0.965 GB, free: 82.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.606, allocations: 4 kB / 0.965 GB, free: 82.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008148/1.607, allocations: 279.9 kB / 0.9652 GB, free: 81.88 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 () * 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.0008454/1.608, allocations: 443.6 kB / 0.9657 GB, free: 81.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005167/1.608, allocations: 455.3 kB / 0.9661 GB, free: 81.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.608, allocations: 0 / 0.9661 GB, free: 81.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.188e-05/1.608, allocations: 51.92 kB / 0.9661 GB, free: 80.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/1.61, allocations: 266.2 kB / 0.9664 GB, free: 80.72 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/1.612, allocations: 0.8976 MB / 0.9673 GB, free: 79.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/1.613, allocations: 0.8637 MB / 0.9681 GB, free: 78.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005676/1.613, allocations: 188.5 kB / 0.9683 GB, free: 78.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/1.613, allocations: 35.42 kB / 0.9683 GB, free: 78.69 MB / 0.4948 GB Notification: Performance of SimCode: time 3.9e-07/1.613, allocations: 0 / 0.9683 GB, free: 78.69 MB / 0.4948 GB Notification: Performance of Templates: time 0.01641/1.63, allocations: 12.56 MB / 0.9806 GB, free: 66.14 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)