Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7193/0.7193, allocations: 128.7 MB / 144.5 MB, free: 1.383 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 182.5 kB / 174.2 MB, free: 5.926 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205 MB / 408.9 MB, free: 9.664 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009542/0.0009541, allocations: 92.59 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 59.47 kB / 0.558 GB, free: 97.4 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.124, allocations: 75.47 MB / 0.6317 GB, free: 33.03 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01618/0.1402, allocations: 22.53 MB / 0.6537 GB, free: 10.4 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.008387/0.1486, allocations: 7.839 MB / 0.6613 GB, free: 2.547 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005941/0.1492, allocations: 15.88 kB / 0.6614 GB, free: 2.531 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008034/0.1501, allocations: 218.9 kB / 0.6616 GB, free: 2.316 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.1514, allocations: 0.5482 MB / 0.6621 GB, free: 1.766 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.1527, allocations: 0.5718 MB / 0.6627 GB, free: 1.199 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.1537, allocations: 1.349 MB / 0.664 GB, free: 15.85 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000467/0.1542, allocations: 296.6 kB / 0.6643 GB, free: 15.55 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005858/0.1548, allocations: 382.4 kB / 0.6646 GB, free: 15.18 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003758/0.1552, allocations: 318.6 kB / 0.6649 GB, free: 14.87 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.027e-05/0.1552, allocations: 20 kB / 0.6649 GB, free: 14.85 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.1563, allocations: 0.6822 MB / 0.6656 GB, free: 14.16 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.1564, allocations: 123.5 kB / 0.6657 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.1566, allocations: 226.7 kB / 0.6659 GB, free: 13.82 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.1577, allocations: 0.8607 MB / 0.6668 GB, free: 12.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1577, allocations: 0 / 0.6668 GB, free: 12.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1577, allocations: 4 kB / 0.6668 GB, free: 12.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1577, allocations: 3.938 kB / 0.6668 GB, free: 12.95 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0012/0.1589, allocations: 0.8642 MB / 0.6676 GB, free: 12.03 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.1589, allocations: 8.031 kB / 0.6676 GB, free: 12.02 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.1591, allocations: 56.28 kB / 0.6677 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005732/0.1597, allocations: 449.9 kB / 0.6681 GB, free: 11.49 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.1597, allocations: 24.56 kB / 0.6682 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.1598, allocations: 35.98 kB / 0.6682 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007835/0.1606, allocations: 316.5 kB / 0.6685 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1606, allocations: 0 / 0.6685 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.1606, allocations: 15.98 kB / 0.6685 GB, free: 11.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.1606, allocations: 8 kB / 0.6685 GB, free: 11.08 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006977/0.1613, allocations: 242 kB / 0.6687 GB, free: 10.84 MB / 458.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.001604/0.1629, allocations: 1.25 MB / 0.67 GB, free: 9.504 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.1635, allocations: 198.7 kB / 0.6702 GB, free: 9.301 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.1637, allocations: 64.83 kB / 0.6702 GB, free: 9.234 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/0.1651, allocations: 1.253 MB / 0.6714 GB, free: 7.789 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1651, allocations: 38.55 kB / 0.6715 GB, free: 7.742 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.1651, allocations: 0 / 0.6715 GB, free: 7.742 MB / 458.7 MB Notification: Performance of matching and sorting (n=13): time 0.001169/0.1663, allocations: 322.5 kB / 0.6718 GB, free: 7.422 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.1664, allocations: 59.28 kB / 0.6718 GB, free: 7.352 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005704/0.1669, allocations: 0.577 MB / 0.6724 GB, free: 6.762 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.167, allocations: 33.7 kB / 0.6724 GB, free: 6.723 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.1672, allocations: 271.8 kB / 0.6727 GB, free: 6.449 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.1672, allocations: 47.36 kB / 0.6727 GB, free: 6.402 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-05/0.1673, allocations: 65.59 kB / 0.6728 GB, free: 6.332 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1674, allocations: 362.7 kB / 0.6731 GB, free: 5.969 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.1677, allocations: 96.8 kB / 0.6732 GB, free: 5.871 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.168, allocations: 207.9 kB / 0.6734 GB, free: 5.625 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.1685, allocations: 249.9 kB / 0.6737 GB, free: 5.355 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1685, allocations: 0 / 0.6737 GB, free: 5.355 MB / 458.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006679/0.1692, allocations: 325 kB / 0.674 GB, free: 5.031 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1692, allocations: 8 kB / 0.674 GB, free: 5.023 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1693, allocations: 0 / 0.674 GB, free: 5.023 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1693, allocations: 4 kB / 0.674 GB, free: 5.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.1696, allocations: 67.89 kB / 0.6741 GB, free: 4.953 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.1696, allocations: 7.938 kB / 0.6741 GB, free: 4.945 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/0.1699, allocations: 51.72 kB / 0.6741 GB, free: 4.895 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.17, allocations: 19.98 kB / 0.6741 GB, free: 4.875 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002851/0.1702, allocations: 212.1 kB / 0.6743 GB, free: 4.664 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002416/0.1705, allocations: 184 kB / 0.6745 GB, free: 4.441 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003389/0.1708, allocations: 214.5 kB / 0.6747 GB, free: 4.207 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.1709, allocations: 0 / 0.6747 GB, free: 4.207 MB / 458.7 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0005035/0.1714, allocations: 300.9 kB / 0.675 GB, free: 3.906 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.542e-06/0.1714, allocations: 4 kB / 0.675 GB, free: 3.902 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1714, allocations: 4 kB / 0.675 GB, free: 3.898 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-06/0.1714, allocations: 4 kB / 0.675 GB, free: 3.895 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.1716, allocations: 59.89 kB / 0.6751 GB, free: 3.836 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1716, allocations: 7.938 kB / 0.6751 GB, free: 3.828 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.1719, allocations: 31.89 kB / 0.6751 GB, free: 3.797 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.1719, allocations: 23.98 kB / 0.6751 GB, free: 3.773 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 32 * 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.000102/0.172, allocations: 200.1 kB / 0.6753 GB, free: 3.57 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.904e-05/0.1721, allocations: 47.42 kB / 0.6754 GB, free: 3.523 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006319/0.1728, allocations: 279.5 kB / 0.6756 GB, free: 3.246 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.1728, allocations: 4 kB / 0.6756 GB, free: 3.242 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1728, allocations: 3.984 kB / 0.6756 GB, free: 3.238 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1728, allocations: 0 / 0.6756 GB, free: 3.238 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.1732, allocations: 389.3 kB / 0.676 GB, free: 2.809 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1732, allocations: 0 / 0.676 GB, free: 2.809 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.1734, allocations: 35.97 kB / 0.6761 GB, free: 2.773 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1734, allocations: 0 / 0.6761 GB, free: 2.773 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.1734, allocations: 4 kB / 0.6761 GB, free: 2.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1734, allocations: 11.94 kB / 0.6761 GB, free: 2.758 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1735, allocations: 0 / 0.6761 GB, free: 2.758 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005991/0.1795, allocations: 2.467 MB / 0.6785 GB, free: 152 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.1796, allocations: 128.5 kB / 0.6786 GB, free: 4 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.828e-05/0.1796, allocations: 8.281 kB / 0.6786 GB, free: 15.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.1799, allocations: 23.97 kB / 0.6786 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.18, allocations: 19.92 kB / 0.6786 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.18, allocations: 8 kB / 0.6787 GB, free: 15.94 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004265/0.1804, allocations: 414.8 kB / 0.6791 GB, free: 15.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1804, allocations: 0 / 0.6791 GB, free: 15.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000957/0.1814, allocations: 323.7 kB / 0.6794 GB, free: 15.22 MB / 474.7 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009596/0.1824, allocations: 490.1 kB / 0.6798 GB, free: 14.88 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007696/0.1831, allocations: 335.4 kB / 0.6801 GB, free: 14.55 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1831, allocations: 0 / 0.6801 GB, free: 14.55 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.1834, allocations: 95.88 kB / 0.6802 GB, free: 14.46 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.1847, allocations: 262.2 kB / 0.6805 GB, free: 14.21 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.1886, allocations: 1.395 MB / 0.6819 GB, free: 12.79 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.189, allocations: 0.8546 MB / 0.6827 GB, free: 11.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003342/0.1893, allocations: 84.28 kB / 0.6828 GB, free: 11.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.1894, allocations: 43.42 kB / 0.6828 GB, free: 11.78 MB / 474.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1895, allocations: 0 / 0.6828 GB, free: 11.78 MB / 474.7 MB Notification: Performance of Templates: time 0.01651/0.206, allocations: 10.81 MB / 0.6934 GB, free: 1.09 MB / 474.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)