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.01129/0.01129, allocations: 102.1 kB / 15.73 MB, free: 6.477 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.001889/0.001889, allocations: 196.3 kB / 16.67 MB, free: 6.391 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.566/1.566, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4037/0.4037, allocations: 54.94 MB / 324.8 MB, free: 15.89 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.001529/0.001529, allocations: 74.12 kB / 456.2 MB, free: 38.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1243, allocations: 59.59 MB / 0.5037 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01504/0.1394, allocations: 17.43 MB / 0.5207 GB, free: 9.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.1501, allocations: 6.75 MB / 0.5273 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007002/0.1508, allocations: 15.88 kB / 0.5273 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.1519, allocations: 298.2 kB / 0.5276 GB, free: 2.441 MB / 398.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.001352/0.1532, allocations: 0.579 MB / 0.5282 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.1549, allocations: 0.6509 MB / 0.5288 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.156, allocations: 1.052 MB / 0.5299 GB, free: 164 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004597/0.1565, allocations: 356.8 kB / 0.5302 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006851/0.1572, allocations: 498.1 kB / 0.5307 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004186/0.1576, allocations: 354.4 kB / 0.531 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.769e-05/0.1577, allocations: 36 kB / 0.531 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009438/0.1587, allocations: 0.6202 MB / 0.5317 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.1588, allocations: 147.5 kB / 0.5318 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.1591, allocations: 286.5 kB / 0.5321 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.1601, allocations: 0.8958 MB / 0.5329 GB, free: 12.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1601, allocations: 0 / 0.5329 GB, free: 12.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1602, allocations: 4 kB / 0.5329 GB, free: 12.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.1602, allocations: 0 / 0.5329 GB, free: 12.98 MB / 414.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.001295/0.1615, allocations: 0.9142 MB / 0.5338 GB, free: 12.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1615, allocations: 8.031 kB / 0.5338 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002875/0.1618, allocations: 72.17 kB / 0.5339 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007267/0.1625, allocations: 489.2 kB / 0.5344 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.1626, allocations: 28.66 kB / 0.5344 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.946e-05/0.1626, allocations: 36 kB / 0.5344 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.1638, allocations: 478.1 kB / 0.5349 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1638, allocations: 7.984 kB / 0.5349 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.875e-05/0.1638, allocations: 20 kB / 0.5349 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/0.1639, allocations: 8 kB / 0.5349 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009162/0.1648, allocations: 325.8 kB / 0.5352 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.1671, allocations: 2.196 MB / 0.5374 GB, free: 8.164 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006752/0.1677, allocations: 198.5 kB / 0.5376 GB, free: 7.961 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.1679, allocations: 56.92 kB / 0.5376 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/0.1692, allocations: 0.9162 MB / 0.5385 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.1692, allocations: 30.56 kB / 0.5386 GB, free: 6.828 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.913e-06/0.1692, allocations: 0 / 0.5386 GB, free: 6.828 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001354/0.1706, allocations: 364.6 kB / 0.5389 GB, free: 6.465 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.1706, allocations: 106.8 kB / 0.539 GB, free: 6.336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006906/0.1713, allocations: 0.6552 MB / 0.5396 GB, free: 5.672 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.1714, allocations: 29.7 kB / 0.5397 GB, free: 5.637 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.1716, allocations: 319.5 kB / 0.54 GB, free: 5.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.1716, allocations: 39.45 kB / 0.54 GB, free: 5.281 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.1718, allocations: 81.59 kB / 0.5401 GB, free: 5.195 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1719, allocations: 374.7 kB / 0.5405 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.1722, allocations: 108.8 kB / 0.5406 GB, free: 4.711 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/0.1727, allocations: 301.9 kB / 0.5408 GB, free: 4.336 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006725/0.1734, allocations: 339.9 kB / 0.5412 GB, free: 3.945 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1734, allocations: 0 / 0.5412 GB, free: 3.945 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008843/0.1743, allocations: 420.5 kB / 0.5416 GB, free: 3.527 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1743, allocations: 8 kB / 0.5416 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1743, allocations: 4 kB / 0.5416 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.1744, allocations: 8 kB / 0.5416 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.1747, allocations: 96.19 kB / 0.5417 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.1747, allocations: 8 kB / 0.5417 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/0.1752, allocations: 71.34 kB / 0.5418 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.1752, allocations: 19.94 kB / 0.5418 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003259/0.1755, allocations: 232 kB / 0.542 GB, free: 3.086 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003149/0.1759, allocations: 270.9 kB / 0.5423 GB, free: 2.742 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004156/0.1763, allocations: 288.1 kB / 0.5425 GB, free: 2.402 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.954e-06/0.1763, allocations: 0 / 0.5425 GB, free: 2.402 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0005966/0.1769, allocations: 368.4 kB / 0.5429 GB, free: 2.035 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.1769, allocations: 8 kB / 0.5429 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1769, allocations: 4 kB / 0.5429 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/0.1769, allocations: 8.562 kB / 0.5429 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.1772, allocations: 83.91 kB / 0.543 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.1772, allocations: 15.86 kB / 0.543 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.1776, allocations: 39.77 kB / 0.543 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.1776, allocations: 16 kB / 0.543 GB, free: 1.863 MB / 414.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.1777, allocations: 196.2 kB / 0.5432 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/0.1778, allocations: 51.34 kB / 0.5433 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006425/0.1785, allocations: 242.1 kB / 0.5435 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1785, allocations: 3.938 kB / 0.5435 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1785, allocations: 0 / 0.5435 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.1785, allocations: 7.984 kB / 0.5435 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.179, allocations: 397.2 kB / 0.5439 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.179, allocations: 7.984 kB / 0.5439 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.1792, allocations: 35.97 kB / 0.5439 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1792, allocations: 0 / 0.5439 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.1792, allocations: 4 kB / 0.5439 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1793, allocations: 3.938 kB / 0.544 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1793, allocations: 4 kB / 0.544 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008992/0.1802, allocations: 407.1 kB / 0.5443 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.1803, allocations: 128.5 kB / 0.5445 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.126e-05/0.1804, allocations: 4 kB / 0.5445 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.1807, allocations: 35.97 kB / 0.5445 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.1807, allocations: 7.984 kB / 0.5445 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.1808, allocations: 4 kB / 0.5445 GB, free: 264 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005096/0.1813, allocations: 458.8 kB / 0.545 GB, free: 15.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1813, allocations: 0 / 0.545 GB, free: 15.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007266/0.182, allocations: 247.8 kB / 0.5452 GB, free: 15.57 MB / 430.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 (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.0009905/0.183, allocations: 437 kB / 0.5456 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000969/0.184, allocations: 401.3 kB / 0.546 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.184, allocations: 0 / 0.546 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.1843, allocations: 83.81 kB / 0.5461 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.1855, allocations: 277.5 kB / 0.5463 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.1885, allocations: 1.15 MB / 0.5475 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.189, allocations: 0.8469 MB / 0.5483 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003429/0.1893, allocations: 100.7 kB / 0.5484 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.1894, allocations: 47.42 kB / 0.5484 GB, free: 12.33 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1894, allocations: 0 / 0.5484 GB, free: 12.33 MB / 430.1 MB Notification: Performance of Templates: time 0.01734/0.2068, allocations: 10.69 MB / 0.5589 GB, free: 1.727 MB / 430.1 MB 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)