Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00139/0.001394, allocations: 183.8 kB / 15.76 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.689/0.689, allocations: 82.92 MB / 99.42 MB, free: 3.293 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.468/2.468, allocations: 205.4 MB / 325.4 MB, free: 3.328 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.00107, allocations: 86.86 kB / 393.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007586/0.0007591, allocations: 12 kB / 471.5 MB, free: 66.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1091, allocations: 67.46 MB / 0.5264 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02219/0.1313, allocations: 14.83 MB / 0.5408 GB, free: 176 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.1443, allocations: 6.699 MB / 0.5474 GB, free: 9.461 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006095/0.1449, allocations: 15.88 kB / 0.5474 GB, free: 9.445 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.1461, allocations: 282.8 kB / 0.5477 GB, free: 9.168 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.1482, allocations: 0.5448 MB / 0.5482 GB, free: 8.625 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006377/0.1546, allocations: 1.699 MB / 0.5498 GB, free: 6.945 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001344/0.1559, allocations: 0.5894 MB / 0.5504 GB, free: 6.355 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005179/0.1565, allocations: 262.7 kB / 0.5507 GB, free: 6.098 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007022/0.1572, allocations: 330.8 kB / 0.551 GB, free: 5.773 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.1576, allocations: 215.1 kB / 0.5512 GB, free: 5.562 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.221e-05/0.1577, allocations: 16 kB / 0.5512 GB, free: 5.547 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.159, allocations: 451.3 kB / 0.5516 GB, free: 5.105 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.1592, allocations: 111.6 kB / 0.5517 GB, free: 4.996 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.1594, allocations: 117.3 kB / 0.5519 GB, free: 4.875 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009868/0.1604, allocations: 0.5339 MB / 0.5524 GB, free: 4.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.993e-06/0.1604, allocations: 0 / 0.5524 GB, free: 4.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.661e-06/0.1604, allocations: 0 / 0.5524 GB, free: 4.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.85e-06/0.1604, allocations: 0 / 0.5524 GB, free: 4.34 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001377/0.1618, allocations: 0.7746 MB / 0.5531 GB, free: 3.516 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1619, allocations: 11.97 kB / 0.5531 GB, free: 3.504 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.1621, allocations: 59.3 kB / 0.5532 GB, free: 3.445 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007894/0.1629, allocations: 432.8 kB / 0.5536 GB, free: 2.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.1629, allocations: 20.56 kB / 0.5536 GB, free: 2.965 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.163, allocations: 32 kB / 0.5537 GB, free: 2.934 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007564/0.1638, allocations: 282.2 kB / 0.5539 GB, free: 2.637 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.1638, allocations: 4 kB / 0.5539 GB, free: 2.633 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.335e-05/0.1639, allocations: 12 kB / 0.554 GB, free: 2.621 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.164, allocations: 12 kB / 0.554 GB, free: 2.609 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.165, allocations: 202 kB / 0.5542 GB, free: 2.41 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/0.1679, allocations: 1.468 MB / 0.5556 GB, free: 0.832 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/0.1684, allocations: 170.8 kB / 0.5558 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002215/0.1706, allocations: 1.284 MB / 0.557 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.1707, allocations: 38.5 kB / 0.557 GB, free: 15.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 3.312e-06/0.1707, allocations: 4 kB / 0.557 GB, free: 15.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008691/0.1716, allocations: 264.1 kB / 0.5573 GB, free: 14.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.1716, allocations: 51.41 kB / 0.5573 GB, free: 14.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00095/0.1726, allocations: 0.5808 MB / 0.5579 GB, free: 14.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.1726, allocations: 29.7 kB / 0.5579 GB, free: 14.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.1729, allocations: 272 kB / 0.5582 GB, free: 13.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.909e-05/0.173, allocations: 55.27 kB / 0.5583 GB, free: 13.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.1731, allocations: 8 kB / 0.5583 GB, free: 13.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.1733, allocations: 354.8 kB / 0.5586 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.1736, allocations: 84.44 kB / 0.5587 GB, free: 13.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004162/0.174, allocations: 214.7 kB / 0.5589 GB, free: 13.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.1743, allocations: 107.1 kB / 0.559 GB, free: 13.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1744, allocations: 0 / 0.559 GB, free: 13.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008911/0.1753, allocations: 312.9 kB / 0.5593 GB, free: 12.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005556/0.1758, allocations: 0.9677 MB / 0.5602 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.1759, allocations: 4 kB / 0.5602 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.1759, allocations: 4 kB / 0.5602 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.1763, allocations: 59.91 kB / 0.5603 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.1763, allocations: 4 kB / 0.5603 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/0.1768, allocations: 59.56 kB / 0.5604 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.1769, allocations: 12 kB / 0.5604 GB, free: 11.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.765e-06/0.1769, allocations: 4.094 kB / 0.5604 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006924/0.1776, allocations: 251.5 kB / 0.5606 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.961e-06/0.1776, allocations: 4 kB / 0.5606 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.432e-06/0.1776, allocations: 4 kB / 0.5606 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.1779, allocations: 64.16 kB / 0.5607 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.178, allocations: 15.92 kB / 0.5607 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.1784, allocations: 47.75 kB / 0.5607 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.1785, allocations: 8 kB / 0.5608 GB, free: 11.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0003478/0.1788, allocations: 272.2 kB / 0.561 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.179, allocations: 47.34 kB / 0.5611 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007699/0.1797, allocations: 267.4 kB / 0.5613 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.1798, allocations: 4 kB / 0.5613 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.916e-06/0.1798, allocations: 4 kB / 0.5613 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.1798, allocations: 3.984 kB / 0.5613 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.1813, allocations: 0.7356 MB / 0.562 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.1813, allocations: 4 kB / 0.562 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.1815, allocations: 35.91 kB / 0.5621 GB, free: 9.711 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.1815, allocations: 4.188 kB / 0.5621 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.1816, allocations: 12 kB / 0.5621 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.091e-06/0.1816, allocations: 0 / 0.5621 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.682e-06/0.1816, allocations: 0 / 0.5621 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007198/0.1823, allocations: 421.1 kB / 0.5625 GB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/0.1826, allocations: 148.4 kB / 0.5626 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.646e-05/0.1827, allocations: 11.94 kB / 0.5626 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.183, allocations: 15.98 kB / 0.5627 GB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.1831, allocations: 19.92 kB / 0.5627 GB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.1831, allocations: 11.94 kB / 0.5627 GB, free: 9.008 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006774/0.1838, allocations: 414.8 kB / 0.5631 GB, free: 8.605 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.1838, allocations: 0 / 0.5631 GB, free: 8.605 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001023/0.1849, allocations: 227.7 kB / 0.5633 GB, free: 8.383 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001623/0.1865, allocations: 491.1 kB / 0.5638 GB, free: 8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.1876, allocations: 336.2 kB / 0.5641 GB, free: 7.672 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.845e-06/0.1876, allocations: 4.25 kB / 0.5641 GB, free: 7.668 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.1879, allocations: 91.89 kB / 0.5642 GB, free: 7.578 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.1894, allocations: 250.2 kB / 0.5644 GB, free: 7.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.1913, allocations: 0.9545 MB / 0.5654 GB, free: 6.344 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006216/0.1919, allocations: 0.8506 MB / 0.5662 GB, free: 5.465 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005324/0.1925, allocations: 108.2 kB / 0.5663 GB, free: 5.355 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.1926, allocations: 43.42 kB / 0.5663 GB, free: 5.312 MB / 410.7 MB Notification: Performance of SimCode: time 1.827e-06/0.1926, allocations: 0 / 0.5663 GB, free: 5.312 MB / 410.7 MB Notification: Performance of Templates: time 0.02439/0.217, allocations: 9.595 MB / 0.5757 GB, free: 11.8 MB / 426.7 MB