Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001267, allocations: 111.6 kB / 17.08 MB, free: 6.008 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.0013/0.0013, allocations: 199 kB / 18.02 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6791/0.6791, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 67.94 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1261, allocations: 76.18 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01628/0.1424, allocations: 15.52 MB / 0.6479 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00608/0.1485, allocations: 4.342 MB / 0.6521 GB, free: 468 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000632/0.1492, allocations: 11.94 kB / 0.6521 GB, free: 456 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009711/0.1502, allocations: 262.3 kB / 0.6524 GB, free: 192 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.1517, allocations: 0.6063 MB / 0.653 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.1535, allocations: 0.7111 MB / 0.6537 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001329/0.1548, allocations: 1.025 MB / 0.6547 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005533/0.1554, allocations: 335.7 kB / 0.655 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007988/0.1562, allocations: 438.3 kB / 0.6554 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005304/0.1567, allocations: 322.5 kB / 0.6557 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.802e-05/0.1568, allocations: 28 kB / 0.6558 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.1579, allocations: 0.6317 MB / 0.6564 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.158, allocations: 91.67 kB / 0.6565 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002665/0.1583, allocations: 230.7 kB / 0.6567 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.1595, allocations: 0.7633 MB / 0.6574 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1595, allocations: 0 / 0.6574 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1595, allocations: 0 / 0.6574 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.641e-05/0.1595, allocations: 8 kB / 0.6574 GB, free: 11.02 MB / 0.4981 GB 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.001322/0.1609, allocations: 0.8213 MB / 0.6582 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1609, allocations: 8.031 kB / 0.6582 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.161, allocations: 56.28 kB / 0.6583 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006864/0.1617, allocations: 433.4 kB / 0.6587 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1618, allocations: 20.44 kB / 0.6587 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.522e-05/0.1618, allocations: 31.94 kB / 0.6588 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.1622, allocations: 219.2 kB / 0.659 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1623, allocations: 0 / 0.659 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.1623, allocations: 8 kB / 0.659 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1623, allocations: 4 kB / 0.659 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.1627, allocations: 165.6 kB / 0.6591 GB, free: 9.172 MB / 0.4981 GB 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.00161/0.1643, allocations: 0.9417 MB / 0.6601 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.1646, allocations: 142.5 kB / 0.6602 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.1647, allocations: 68.81 kB / 0.6603 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002483/0.165, allocations: 336.4 kB / 0.6606 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.165, allocations: 38.5 kB / 0.6606 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.165, allocations: 0 / 0.6606 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005796/0.1656, allocations: 234.2 kB / 0.6608 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.1656, allocations: 59.34 kB / 0.6609 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004834/0.1661, allocations: 481.9 kB / 0.6614 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.1662, allocations: 29.7 kB / 0.6614 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.1663, allocations: 224.6 kB / 0.6616 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.1664, allocations: 51.36 kB / 0.6616 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.531e-05/0.1665, allocations: 65.59 kB / 0.6617 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1666, allocations: 354.7 kB / 0.662 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.1668, allocations: 84.61 kB / 0.6621 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.167, allocations: 148.9 kB / 0.6623 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.1673, allocations: 163.8 kB / 0.6624 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1673, allocations: 0 / 0.6624 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004902/0.1678, allocations: 254.8 kB / 0.6627 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1679, allocations: 4 kB / 0.6627 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1679, allocations: 0 / 0.6627 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1679, allocations: 4 kB / 0.6627 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.1681, allocations: 51.91 kB / 0.6627 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1681, allocations: 0 / 0.6627 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.1684, allocations: 35.72 kB / 0.6628 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.1685, allocations: 12 kB / 0.6628 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002577/0.1687, allocations: 192.1 kB / 0.663 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002192/0.169, allocations: 165 kB / 0.6631 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003092/0.1693, allocations: 173.5 kB / 0.6633 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.1693, allocations: 0 / 0.6633 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004751/0.1698, allocations: 260.5 kB / 0.6635 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.1698, allocations: 4 kB / 0.6635 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.1698, allocations: 0 / 0.6635 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.638e-06/0.1698, allocations: 4 kB / 0.6635 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.17, allocations: 47.91 kB / 0.6636 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.17, allocations: 4.062 kB / 0.6636 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.1703, allocations: 39.75 kB / 0.6636 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.1704, allocations: 16 kB / 0.6636 GB, free: 4.238 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.1705, allocations: 192.8 kB / 0.6638 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.397e-05/0.1706, allocations: 43.44 kB / 0.6639 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005231/0.1711, allocations: 253.3 kB / 0.6641 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.1711, allocations: 4 kB / 0.6641 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1711, allocations: 0 / 0.6641 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1712, allocations: 192 / 0.6641 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009474/0.1721, allocations: 0.7005 MB / 0.6648 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1721, allocations: 7.938 kB / 0.6648 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.1722, allocations: 23.98 kB / 0.6648 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.1723, allocations: 7.984 kB / 0.6648 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1723, allocations: 4 kB / 0.6648 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.1723, allocations: 7.938 kB / 0.6648 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1723, allocations: 0 / 0.6648 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004597/0.1728, allocations: 344.4 kB / 0.6652 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.1729, allocations: 136.5 kB / 0.6653 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.426e-05/0.173, allocations: 4 kB / 0.6653 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.1732, allocations: 27.91 kB / 0.6653 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.1732, allocations: 7.984 kB / 0.6653 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1732, allocations: 12 kB / 0.6653 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003394/0.1736, allocations: 330.9 kB / 0.6657 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1736, allocations: 0 / 0.6657 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006299/0.1742, allocations: 203.7 kB / 0.6659 GB, free: 1.84 MB / 0.4981 GB 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 (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.001076/0.1753, allocations: 474.1 kB / 0.6663 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006168/0.1759, allocations: 279.8 kB / 0.6666 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.176, allocations: 0 / 0.6666 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.1761, allocations: 79.89 kB / 0.6667 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009102/0.1771, allocations: 198 kB / 0.6668 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.1783, allocations: 0.734 MB / 0.6676 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.1787, allocations: 0.827 MB / 0.6684 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.871e-05/0.1788, allocations: 39.42 kB / 0.6684 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1788, allocations: 0 / 0.6684 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of Templates: time 0.01092/0.1897, allocations: 7.426 MB / 0.6757 GB, free: 7.938 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)