Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001419/0.001423, allocations: 185.8 kB / 15.77 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.7535/0.7535, allocations: 82.92 MB / 99.42 MB, free: 3.355 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.177/2.177, allocations: 205.4 MB / 325.4 MB, free: 3.578 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.001094/0.001094, allocations: 93.8 kB / 393.6 MB, free: 15.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004493/0.0004494, allocations: 8 kB / 471.5 MB, free: 66.61 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.08976, allocations: 67.45 MB / 0.5264 GB, free: 15.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02066/0.1104, allocations: 13.24 MB / 0.5393 GB, free: 1.828 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01303/0.1235, allocations: 6.355 MB / 0.5455 GB, free: 11.46 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007147/0.1243, allocations: 15.81 kB / 0.5455 GB, free: 11.45 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.1256, allocations: 350.5 kB / 0.5458 GB, free: 11.1 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.128, allocations: 0.5959 MB / 0.5464 GB, free: 10.5 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007046/0.135, allocations: 1.855 MB / 0.5482 GB, free: 8.672 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001519/0.1366, allocations: 0.6364 MB / 0.5489 GB, free: 8.031 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005356/0.1371, allocations: 262.5 kB / 0.5491 GB, free: 7.773 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007172/0.1379, allocations: 334.8 kB / 0.5494 GB, free: 7.445 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004191/0.1383, allocations: 227 kB / 0.5496 GB, free: 7.223 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.08e-05/0.1384, allocations: 12 kB / 0.5497 GB, free: 7.211 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.1395, allocations: 383.5 kB / 0.55 GB, free: 6.836 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.1397, allocations: 83.64 kB / 0.5501 GB, free: 6.754 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.1398, allocations: 105.5 kB / 0.5502 GB, free: 6.645 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008186/0.1407, allocations: 490.8 kB / 0.5507 GB, free: 6.164 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.03e-06/0.1407, allocations: 0 / 0.5507 GB, free: 6.164 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.11e-06/0.1407, allocations: 0 / 0.5507 GB, free: 6.164 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.1407, allocations: 0 / 0.5507 GB, free: 6.164 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001329/0.142, allocations: 0.7202 MB / 0.5514 GB, free: 5.395 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1421, allocations: 8.031 kB / 0.5514 GB, free: 5.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.1422, allocations: 55.34 kB / 0.5514 GB, free: 5.332 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007304/0.143, allocations: 396.9 kB / 0.5518 GB, free: 4.902 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.143, allocations: 20.44 kB / 0.5518 GB, free: 4.883 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.269e-05/0.1431, allocations: 39.88 kB / 0.5519 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/0.1437, allocations: 219.2 kB / 0.5521 GB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1437, allocations: 0 / 0.5521 GB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.1438, allocations: 12 kB / 0.5521 GB, free: 4.609 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.1438, allocations: 8 kB / 0.5521 GB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000513/0.1443, allocations: 169.6 kB / 0.5523 GB, free: 4.438 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.002107/0.1464, allocations: 0.9457 MB / 0.5532 GB, free: 3.414 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.1468, allocations: 142.5 kB / 0.5533 GB, free: 3.266 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003756/0.1472, allocations: 332.4 kB / 0.5536 GB, free: 2.867 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.1473, allocations: 34.56 kB / 0.5537 GB, free: 2.824 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.137e-06/0.1473, allocations: 0 / 0.5537 GB, free: 2.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008327/0.1482, allocations: 261.2 kB / 0.5539 GB, free: 2.562 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.1482, allocations: 51.41 kB / 0.554 GB, free: 2.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007266/0.149, allocations: 466 kB / 0.5544 GB, free: 2.031 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/0.149, allocations: 29.7 kB / 0.5544 GB, free: 1.996 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.1493, allocations: 236.5 kB / 0.5547 GB, free: 1.762 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.867e-05/0.1494, allocations: 51.36 kB / 0.5547 GB, free: 1.711 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.1494, allocations: 0 / 0.5547 GB, free: 1.711 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.1496, allocations: 354.8 kB / 0.5551 GB, free: 1.355 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.1499, allocations: 67.95 kB / 0.5551 GB, free: 1.289 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.1502, allocations: 147.7 kB / 0.5553 GB, free: 1.117 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.1505, allocations: 95.81 kB / 0.5554 GB, free: 1.023 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.833e-06/0.1505, allocations: 0 / 0.5554 GB, free: 1.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007458/0.1513, allocations: 259.5 kB / 0.5556 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001767/0.1515, allocations: 279 kB / 0.5559 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.066e-06/0.1515, allocations: 0 / 0.5559 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1515, allocations: 0 / 0.5559 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.1518, allocations: 47.97 kB / 0.5559 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.166e-06/0.1519, allocations: 0 / 0.5559 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004519/0.1523, allocations: 43.81 kB / 0.556 GB, free: 392 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/0.1524, allocations: 15.92 kB / 0.556 GB, free: 376 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1524, allocations: 4 kB / 0.556 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000589/0.153, allocations: 189.8 kB / 0.5562 GB, free: 184 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.441e-06/0.153, allocations: 0 / 0.5562 GB, free: 184 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.92e-06/0.1531, allocations: 7.953 kB / 0.5562 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.1533, allocations: 51.97 kB / 0.5562 GB, free: 124 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.34e-06/0.1534, allocations: 3.938 kB / 0.5562 GB, free: 120 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.1538, allocations: 51.7 kB / 0.5563 GB, free: 68 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.1538, allocations: 12.08 kB / 0.5563 GB, free: 56 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0003301/0.1542, allocations: 241 kB / 0.5565 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.1543, allocations: 39.53 kB / 0.5565 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007662/0.1551, allocations: 265 kB / 0.5568 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.1551, allocations: 7.953 kB / 0.5568 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.838e-06/0.1551, allocations: 0 / 0.5568 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.077e-06/0.1551, allocations: 0 / 0.5568 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.1566, allocations: 0.7083 MB / 0.5575 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.1566, allocations: 4 kB / 0.5575 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.1568, allocations: 32.11 kB / 0.5575 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.1568, allocations: 0 / 0.5575 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.1568, allocations: 7.984 kB / 0.5575 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.873e-06/0.1569, allocations: 7.938 kB / 0.5575 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.677e-06/0.1569, allocations: 0 / 0.5575 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006948/0.1576, allocations: 393.7 kB / 0.5579 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.1578, allocations: 144.4 kB / 0.5581 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.1579, allocations: 11.98 kB / 0.5581 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.1582, allocations: 15.98 kB / 0.5581 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/0.1583, allocations: 27.88 kB / 0.5581 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.1583, allocations: 4 kB / 0.5581 GB, free: 14.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005329/0.1589, allocations: 326.9 kB / 0.5584 GB, free: 13.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.1589, allocations: 0 / 0.5584 GB, free: 13.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008828/0.1598, allocations: 195.7 kB / 0.5586 GB, free: 13.5 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 (16): * Single equations (assignments): 14 * 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.001593/0.1614, allocations: 485.2 kB / 0.5591 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009419/0.1624, allocations: 279.9 kB / 0.5593 GB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.111e-06/0.1624, allocations: 0 / 0.5593 GB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.1627, allocations: 91.88 kB / 0.5594 GB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.1642, allocations: 224.7 kB / 0.5596 GB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.1659, allocations: 0.8232 MB / 0.5605 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/0.1665, allocations: 0.8389 MB / 0.5613 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004921/0.167, allocations: 87.39 kB / 0.5614 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.1671, allocations: 35.42 kB / 0.5614 GB, free: 10.7 MB / 410.7 MB Notification: Performance of SimCode: time 3.883e-06/0.1672, allocations: 0 / 0.5614 GB, free: 10.7 MB / 410.7 MB Notification: Performance of Templates: time 0.02183/0.189, allocations: 8.125 MB / 0.5693 GB, free: 2.656 MB / 410.7 MB