Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 119.1 kB / 17.09 MB, free: 5.988 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.001201/0.001201, allocations: 195 kB / 18.02 MB, free: 5.07 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.301/1.301, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6934/0.6934, allocations: 115.3 MB / 407.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 64.48 kB / 0.5583 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1277, allocations: 76.19 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01675/0.1445, allocations: 17.44 MB / 0.6498 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006124/0.1507, allocations: 4.921 MB / 0.6546 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004615/0.1512, allocations: 15.94 kB / 0.6546 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007449/0.1519, allocations: 250.4 kB / 0.6548 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.1532, allocations: 0.6141 MB / 0.6554 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.1549, allocations: 0.7215 MB / 0.6561 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001088/0.156, allocations: 0.9624 MB / 0.6571 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004704/0.1565, allocations: 336.9 kB / 0.6574 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005835/0.1571, allocations: 434.2 kB / 0.6578 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003678/0.1575, allocations: 314.6 kB / 0.6581 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.661e-05/0.1575, allocations: 32 kB / 0.6581 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.1586, allocations: 0.7253 MB / 0.6588 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1587, allocations: 127.6 kB / 0.659 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.1589, allocations: 250.6 kB / 0.6592 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.16, allocations: 0.8763 MB / 0.6601 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.16, allocations: 4 kB / 0.6601 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.16, allocations: 0 / 0.6601 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.16, allocations: 0 / 0.6601 GB, free: 8.32 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001165/0.1612, allocations: 0.8679 MB / 0.6609 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1613, allocations: 12.03 kB / 0.6609 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.1614, allocations: 68.27 kB / 0.661 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006104/0.162, allocations: 457.6 kB / 0.6614 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.1621, allocations: 24.5 kB / 0.6614 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/0.1621, allocations: 28 kB / 0.6615 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004573/0.1626, allocations: 290.2 kB / 0.6618 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1626, allocations: 3.984 kB / 0.6618 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.1626, allocations: 12 kB / 0.6618 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.1626, allocations: 4 kB / 0.6618 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.163, allocations: 190.1 kB / 0.662 GB, free: 6.281 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.00167/0.1647, allocations: 1.468 MB / 0.6634 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.165, allocations: 178.6 kB / 0.6636 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.1652, allocations: 80.81 kB / 0.6636 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001401/0.1666, allocations: 1.272 MB / 0.6649 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.1666, allocations: 34.5 kB / 0.6649 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.1666, allocations: 7.938 kB / 0.6649 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005817/0.1672, allocations: 249.1 kB / 0.6652 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.1673, allocations: 51.41 kB / 0.6652 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005954/0.1679, allocations: 0.5847 MB / 0.6658 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.1679, allocations: 33.7 kB / 0.6658 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.1681, allocations: 264.1 kB / 0.6661 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.1682, allocations: 67.11 kB / 0.6661 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-05/0.1683, allocations: 61.98 kB / 0.6662 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1684, allocations: 358.8 kB / 0.6665 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.1686, allocations: 81.88 kB / 0.6666 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.1689, allocations: 214.7 kB / 0.6668 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.1693, allocations: 243.2 kB / 0.667 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1693, allocations: 0 / 0.667 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005416/0.1699, allocations: 308.7 kB / 0.6673 GB, free: 308 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1699, allocations: 12.19 kB / 0.6673 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1699, allocations: 8 kB / 0.6674 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1699, allocations: 4 kB / 0.6674 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.1702, allocations: 59.91 kB / 0.6674 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1702, allocations: 7.938 kB / 0.6674 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.1705, allocations: 51.66 kB / 0.6675 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.1705, allocations: 8 kB / 0.6675 GB, free: 156 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002939/0.1708, allocations: 217.4 kB / 0.6677 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002539/0.1711, allocations: 208.4 kB / 0.6679 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003442/0.1714, allocations: 236.3 kB / 0.6681 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.1714, allocations: 0 / 0.6681 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005156/0.172, allocations: 312.8 kB / 0.6684 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.172, allocations: 5.969 kB / 0.6684 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.172, allocations: 11.94 kB / 0.6684 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.168e-06/0.172, allocations: 4 kB / 0.6684 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.1722, allocations: 59.91 kB / 0.6685 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1723, allocations: 7.984 kB / 0.6685 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.1726, allocations: 35.83 kB / 0.6685 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.1726, allocations: 8 kB / 0.6685 GB, free: 14.98 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.1727, allocations: 204.2 kB / 0.6687 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.809e-05/0.1728, allocations: 55.28 kB / 0.6688 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005234/0.1733, allocations: 261.7 kB / 0.669 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.1733, allocations: 4 kB / 0.669 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1734, allocations: 0 / 0.669 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1734, allocations: 0 / 0.669 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009256/0.1743, allocations: 0.7394 MB / 0.6698 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.1743, allocations: 0 / 0.6698 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.1744, allocations: 31.92 kB / 0.6698 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1744, allocations: 0 / 0.6698 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.1745, allocations: 11.98 kB / 0.6698 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1745, allocations: 7.938 kB / 0.6698 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1745, allocations: 4.125 kB / 0.6698 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.1749, allocations: 344.1 kB / 0.6701 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.1751, allocations: 152.4 kB / 0.6703 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.457e-05/0.1751, allocations: 4 kB / 0.6703 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.1753, allocations: 11.98 kB / 0.6703 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.1754, allocations: 19.86 kB / 0.6703 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.1754, allocations: 12 kB / 0.6703 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004074/0.1758, allocations: 414.8 kB / 0.6707 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1758, allocations: 4 kB / 0.6707 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006745/0.1765, allocations: 227.7 kB / 0.6709 GB, free: 12.39 MB / 0.5137 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 (17): * Single equations (assignments): 15 * 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.001009/0.1775, allocations: 0.4893 MB / 0.6714 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006408/0.1782, allocations: 324.4 kB / 0.6717 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1782, allocations: 0 / 0.6717 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.1783, allocations: 91.88 kB / 0.6718 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.1794, allocations: 255.6 kB / 0.6721 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.1806, allocations: 0.8459 MB / 0.6729 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.181, allocations: 0.8389 MB / 0.6737 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.514e-05/0.1811, allocations: 43.42 kB / 0.6738 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1811, allocations: 0 / 0.6738 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of Templates: time 0.01107/0.1921, allocations: 8.634 MB / 0.6822 GB, free: 1.016 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)