Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009553/0.0009589, allocations: 104 kB / 16.41 MB, free: 6.5 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.001083/0.001084, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.2/1.2, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.7725/0.7725, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 64.98 kB / 0.5962 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1341, allocations: 82.03 MB / 0.6763 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01648/0.1506, allocations: 15.55 MB / 0.6915 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005989/0.1567, allocations: 4.333 MB / 0.6957 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005918/0.1573, allocations: 19.88 kB / 0.6957 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008746/0.1582, allocations: 258.3 kB / 0.696 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.1597, allocations: 0.6023 MB / 0.6966 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.1614, allocations: 0.7108 MB / 0.6973 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00127/0.1627, allocations: 1.029 MB / 0.6983 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005176/0.1632, allocations: 343.8 kB / 0.6986 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007585/0.164, allocations: 434.2 kB / 0.699 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004666/0.1644, allocations: 326.6 kB / 0.6993 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.929e-05/0.1645, allocations: 28 kB / 0.6994 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.1655, allocations: 0.6239 MB / 0.7 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.1657, allocations: 107.5 kB / 0.7001 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.1659, allocations: 222.7 kB / 0.7003 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009089/0.1668, allocations: 0.7866 MB / 0.701 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1668, allocations: 0 / 0.701 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1668, allocations: 4 kB / 0.701 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.1668, allocations: 0 / 0.701 GB, free: 1.035 MB / 0.5294 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.001098/0.1679, allocations: 0.8316 MB / 0.7019 GB, free: 156 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.168, allocations: 12.03 kB / 0.7019 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.1681, allocations: 52.28 kB / 0.7019 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000624/0.1687, allocations: 441.4 kB / 0.7023 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.1687, allocations: 20.44 kB / 0.7024 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.1688, allocations: 24 kB / 0.7024 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000407/0.1692, allocations: 211.2 kB / 0.7026 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1692, allocations: 0 / 0.7026 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.1692, allocations: 12 kB / 0.7026 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.1693, allocations: 8 kB / 0.7026 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.1696, allocations: 165.6 kB / 0.7028 GB, free: 15.18 MB / 0.545 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.001412/0.171, allocations: 0.9457 MB / 0.7037 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.1713, allocations: 126.6 kB / 0.7038 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.1715, allocations: 72.81 kB / 0.7039 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/0.1717, allocations: 340.5 kB / 0.7042 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.1718, allocations: 38.48 kB / 0.7042 GB, free: 13.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.1718, allocations: 0 / 0.7042 GB, free: 13.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0005562/0.1723, allocations: 244.3 kB / 0.7045 GB, free: 13.26 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.1724, allocations: 55.41 kB / 0.7045 GB, free: 13.19 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004467/0.1728, allocations: 477.9 kB / 0.705 GB, free: 12.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.1728, allocations: 33.7 kB / 0.705 GB, free: 12.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.173, allocations: 224.6 kB / 0.7052 GB, free: 12.45 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.173, allocations: 47.3 kB / 0.7053 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.681e-05/0.1731, allocations: 57.69 kB / 0.7053 GB, free: 12.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1733, allocations: 358.7 kB / 0.7057 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.1734, allocations: 72.81 kB / 0.7057 GB, free: 11.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.1737, allocations: 153 kB / 0.7059 GB, free: 11.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.174, allocations: 166.4 kB / 0.706 GB, free: 11.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.174, allocations: 7.938 kB / 0.706 GB, free: 11.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004646/0.1745, allocations: 253 kB / 0.7063 GB, free: 11.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1745, allocations: 6.188 kB / 0.7063 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1745, allocations: 4 kB / 0.7063 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1745, allocations: 0 / 0.7063 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.1747, allocations: 43.97 kB / 0.7063 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1748, allocations: 4 kB / 0.7063 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.175, allocations: 35.81 kB / 0.7064 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.1751, allocations: 8 kB / 0.7064 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002577/0.1753, allocations: 192.7 kB / 0.7066 GB, free: 11.01 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002206/0.1756, allocations: 167.4 kB / 0.7067 GB, free: 10.81 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003002/0.1759, allocations: 172.2 kB / 0.7069 GB, free: 10.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-06/0.1759, allocations: 4 kB / 0.7069 GB, free: 10.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004479/0.1763, allocations: 252.9 kB / 0.7071 GB, free: 10.37 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.833e-06/0.1764, allocations: 4 kB / 0.7071 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-06/0.1764, allocations: 4 kB / 0.7071 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-06/0.1764, allocations: 0 / 0.7071 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.1766, allocations: 43.97 kB / 0.7072 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1766, allocations: 3.938 kB / 0.7072 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.1769, allocations: 43.88 kB / 0.7072 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.1769, allocations: 11.98 kB / 0.7072 GB, free: 10.26 MB / 0.545 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.0001027/0.177, allocations: 196.1 kB / 0.7074 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.1771, allocations: 39.53 kB / 0.7075 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004958/0.1776, allocations: 261.1 kB / 0.7077 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.1776, allocations: 0 / 0.7077 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1776, allocations: 0 / 0.7077 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1776, allocations: 0 / 0.7077 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008718/0.1785, allocations: 0.7074 MB / 0.7084 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1785, allocations: 4.125 kB / 0.7084 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.1786, allocations: 35.91 kB / 0.7084 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.1786, allocations: 4 kB / 0.7085 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1787, allocations: 4.094 kB / 0.7085 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1787, allocations: 7.875 kB / 0.7085 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1787, allocations: 4 kB / 0.7085 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.1791, allocations: 338.2 kB / 0.7088 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.1792, allocations: 144.5 kB / 0.7089 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.1793, allocations: 0 / 0.7089 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.1795, allocations: 19.92 kB / 0.7089 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.1795, allocations: 11.98 kB / 0.709 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.1795, allocations: 11.98 kB / 0.709 GB, free: 8.371 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003069/0.1799, allocations: 334.9 kB / 0.7093 GB, free: 8.047 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1799, allocations: 0 / 0.7093 GB, free: 8.047 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005662/0.1804, allocations: 195.7 kB / 0.7095 GB, free: 7.855 MB / 0.545 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.0009767/0.1814, allocations: 484.4 kB / 0.7099 GB, free: 7.516 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000575/0.182, allocations: 267.7 kB / 0.7102 GB, free: 7.254 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.182, allocations: 8 kB / 0.7102 GB, free: 7.246 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.1822, allocations: 83.83 kB / 0.7103 GB, free: 7.164 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009154/0.1831, allocations: 212.7 kB / 0.7105 GB, free: 6.957 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.1842, allocations: 0.7379 MB / 0.7112 GB, free: 6.172 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.1845, allocations: 0.823 MB / 0.712 GB, free: 5.324 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.208e-05/0.1846, allocations: 43.42 kB / 0.712 GB, free: 5.281 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.1846, allocations: 0 / 0.712 GB, free: 5.281 MB / 0.545 GB Notification: Performance of Templates: time 0.009294/0.1939, allocations: 7.512 MB / 0.7194 GB, free: 13.85 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)