Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001393/0.001397, allocations: 183.6 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.7123/0.7123, allocations: 82.92 MB / 99.42 MB, free: 3.352 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.448/2.448, allocations: 205.4 MB / 325.4 MB, free: 3.332 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.001023/0.001023, allocations: 98.78 kB / 393.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004469/0.0004472, allocations: 12 kB / 471.5 MB, free: 66.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09066/0.09113, allocations: 67.45 MB / 0.5264 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02594/0.1171, allocations: 16.5 MB / 0.5425 GB, free: 14.52 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.132, allocations: 7.317 MB / 0.5496 GB, free: 7.188 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.1331, allocations: 19.81 kB / 0.5496 GB, free: 7.168 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.1348, allocations: 378.2 kB / 0.55 GB, free: 6.797 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00331/0.1381, allocations: 0.7977 MB / 0.5508 GB, free: 6 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007996/0.1462, allocations: 2.183 MB / 0.5529 GB, free: 3.844 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002122/0.1483, allocations: 0.9466 MB / 0.5538 GB, free: 2.895 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008177/0.1491, allocations: 419.7 kB / 0.5542 GB, free: 2.477 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.1503, allocations: 0.4944 MB / 0.5547 GB, free: 1.98 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000656/0.1509, allocations: 402.3 kB / 0.5551 GB, free: 1.586 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.735e-05/0.1511, allocations: 28 kB / 0.5551 GB, free: 1.559 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.1527, allocations: 0.6318 MB / 0.5557 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.1529, allocations: 127.5 kB / 0.5559 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.1531, allocations: 157.3 kB / 0.556 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.1545, allocations: 0.7404 MB / 0.5567 GB, free: 15.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.232e-06/0.1545, allocations: 0 / 0.5567 GB, free: 15.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.85e-06/0.1545, allocations: 4 kB / 0.5567 GB, free: 15.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.1545, allocations: 0 / 0.5567 GB, free: 15.89 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002179/0.1567, allocations: 0.9851 MB / 0.5577 GB, free: 14.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1568, allocations: 15.97 kB / 0.5577 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.157, allocations: 79.06 kB / 0.5578 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009537/0.1579, allocations: 486.6 kB / 0.5583 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.816e-05/0.158, allocations: 37 kB / 0.5583 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.1581, allocations: 51.98 kB / 0.5583 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.1596, allocations: 0.6333 MB / 0.559 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.1597, allocations: 4 kB / 0.559 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.889e-05/0.1597, allocations: 16 kB / 0.559 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.1598, allocations: 12 kB / 0.559 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.1613, allocations: 0.5189 MB / 0.5595 GB, free: 12.91 MB / 410.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.004962/0.1663, allocations: 3.205 MB / 0.5626 GB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009911/0.1673, allocations: 361.4 kB / 0.563 GB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004486/0.1678, allocations: 340.5 kB / 0.5633 GB, free: 8.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.1678, allocations: 46.5 kB / 0.5633 GB, free: 8.695 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 4.156e-06/0.1678, allocations: 0 / 0.5633 GB, free: 8.695 MB / 410.7 MB Notification: Performance of matching and sorting (n=38): time 0.002993/0.1708, allocations: 0.8577 MB / 0.5642 GB, free: 7.809 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.1709, allocations: 55.41 kB / 0.5642 GB, free: 7.742 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000983/0.1719, allocations: 0.5782 MB / 0.5648 GB, free: 7.156 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.322e-05/0.172, allocations: 41.64 kB / 0.5648 GB, free: 7.109 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/0.1724, allocations: 324.4 kB / 0.5651 GB, free: 6.789 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.1726, allocations: 138.1 kB / 0.5653 GB, free: 6.652 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.1726, allocations: 15.88 kB / 0.5653 GB, free: 6.637 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002575/0.1729, allocations: 378.7 kB / 0.5657 GB, free: 6.258 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007092/0.1736, allocations: 217.2 kB / 0.5659 GB, free: 6.047 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008596/0.1745, allocations: 372 kB / 0.5662 GB, free: 5.621 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007816/0.1753, allocations: 256.7 kB / 0.5665 GB, free: 5.371 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.1753, allocations: 4 kB / 0.5665 GB, free: 5.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002196/0.1775, allocations: 0.7267 MB / 0.5672 GB, free: 4.633 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009948/0.1785, allocations: 1.744 MB / 0.5689 GB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.1786, allocations: 4 kB / 0.5689 GB, free: 2.746 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007755/0.1794, allocations: 156.8 kB / 0.569 GB, free: 2.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009208/0.1803, allocations: 155.8 kB / 0.5692 GB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009357/0.1813, allocations: 0.6226 MB / 0.5698 GB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000901/0.1822, allocations: 107.3 kB / 0.5699 GB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-05/0.1823, allocations: 31.98 kB / 0.5699 GB, free: 1.652 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1823, allocations: 4 kB / 0.5699 GB, free: 1.648 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001875/0.1842, allocations: 0.6189 MB / 0.5705 GB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.1842, allocations: 4 kB / 0.5705 GB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.1843, allocations: 11.95 kB / 0.5705 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008778/0.1852, allocations: 164.3 kB / 0.5707 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/0.1852, allocations: 15.92 kB / 0.5707 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008286/0.186, allocations: 91.48 kB / 0.5708 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.288e-05/0.1861, allocations: 27.98 kB / 0.5708 GB, free: 0.7188 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004576/0.1866, allocations: 272.7 kB / 0.5711 GB, free: 452 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.1868, allocations: 67.16 kB / 0.5712 GB, free: 384 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.189, allocations: 0.663 MB / 0.5718 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/0.189, allocations: 7.953 kB / 0.5718 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.804e-06/0.189, allocations: 7.938 kB / 0.5718 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.189, allocations: 3.984 kB / 0.5718 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003765/0.1928, allocations: 1.393 MB / 0.5732 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.679e-06/0.1929, allocations: 0 / 0.5732 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/0.1934, allocations: 103.9 kB / 0.5733 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005703/0.194, allocations: 128.8 kB / 0.5734 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.526e-05/0.1941, allocations: 12 kB / 0.5734 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009146/0.195, allocations: 0.6458 MB / 0.574 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.999e-06/0.195, allocations: 4.031 kB / 0.574 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.1971, allocations: 0.7567 MB / 0.5748 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/0.1976, allocations: 200 kB / 0.575 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.1977, allocations: 7.984 kB / 0.575 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006602/0.1984, allocations: 55.95 kB / 0.575 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.1985, allocations: 35.91 kB / 0.5751 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.243e-05/0.1986, allocations: 23.98 kB / 0.5751 GB, free: 12.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006835/0.1993, allocations: 387.1 kB / 0.5755 GB, free: 11.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.74e-07/0.1993, allocations: 0 / 0.5755 GB, free: 11.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001459/0.2007, allocations: 383.3 kB / 0.5758 GB, free: 11.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007806/0.2015, allocations: 296.5 kB / 0.5761 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002915/0.2045, allocations: 0.9175 MB / 0.577 GB, free: 10.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.388e-06/0.2045, allocations: 0 / 0.577 GB, free: 10.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.2056, allocations: 295.9 kB / 0.5773 GB, free: 9.902 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.2074, allocations: 269.5 kB / 0.5775 GB, free: 9.637 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.2101, allocations: 1.276 MB / 0.5788 GB, free: 8.324 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007096/0.2109, allocations: 0.9197 MB / 0.5797 GB, free: 7.375 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009273/0.2118, allocations: 153.1 kB / 0.5798 GB, free: 7.227 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.2121, allocations: 59.42 kB / 0.5799 GB, free: 7.168 MB / 426.7 MB Notification: Performance of SimCode: time 2.002e-06/0.2121, allocations: 0 / 0.5799 GB, free: 7.168 MB / 426.7 MB Notification: Performance of Templates: time 0.4619/0.674, allocations: 11.8 MB / 0.5914 GB, free: 60.74 MB / 426.7 MB