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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 105.2 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.001118/0.001118, allocations: 187 kB / 17.34 MB, free: 5.742 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.216/1.216, allocations: 222.9 MB / 241 MB, free: 15.16 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.7821/0.7821, allocations: 143.1 MB / 434.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 64.36 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1446, allocations: 82.04 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01738/0.1621, allocations: 17.46 MB / 0.6934 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006199/0.1683, allocations: 4.911 MB / 0.6982 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004478/0.1688, allocations: 11.94 kB / 0.6982 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007467/0.1695, allocations: 258.4 kB / 0.6984 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.1709, allocations: 0.6062 MB / 0.699 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.1727, allocations: 0.7339 MB / 0.6997 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001104/0.1738, allocations: 0.9702 MB / 0.7007 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004418/0.1742, allocations: 344.8 kB / 0.701 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006098/0.1749, allocations: 418.3 kB / 0.7014 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003578/0.1752, allocations: 306.7 kB / 0.7017 GB, free: 252 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.654e-05/0.1753, allocations: 31.98 kB / 0.7017 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.1764, allocations: 0.7292 MB / 0.7024 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1766, allocations: 139.5 kB / 0.7026 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.1768, allocations: 238.7 kB / 0.7028 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.1778, allocations: 0.9113 MB / 0.7037 GB, free: 14.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1778, allocations: 0 / 0.7037 GB, free: 14.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1779, allocations: 0 / 0.7037 GB, free: 14.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.1779, allocations: 3.984 kB / 0.7037 GB, free: 14.2 MB / 0.545 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.001153/0.179, allocations: 0.8757 MB / 0.7045 GB, free: 13.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1791, allocations: 8.031 kB / 0.7046 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.1792, allocations: 64.28 kB / 0.7046 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006498/0.1799, allocations: 461.6 kB / 0.7051 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.1799, allocations: 28.5 kB / 0.7051 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.18, allocations: 32 kB / 0.7051 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.1805, allocations: 282.2 kB / 0.7054 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1805, allocations: 0 / 0.7054 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.1805, allocations: 8 kB / 0.7054 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.1805, allocations: 8 kB / 0.7054 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/0.1809, allocations: 194.1 kB / 0.7056 GB, free: 12.14 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.001677/0.1826, allocations: 1.476 MB / 0.707 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.1829, allocations: 166.8 kB / 0.7072 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.1831, allocations: 80.81 kB / 0.7073 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/0.1845, allocations: 1.272 MB / 0.7085 GB, free: 8.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1845, allocations: 42.44 kB / 0.7085 GB, free: 8.789 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.1845, allocations: 0 / 0.7085 GB, free: 8.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0005765/0.1851, allocations: 250.2 kB / 0.7088 GB, free: 8.539 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.1852, allocations: 51.41 kB / 0.7088 GB, free: 8.477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005687/0.1857, allocations: 0.5886 MB / 0.7094 GB, free: 7.879 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.1858, allocations: 33.7 kB / 0.7094 GB, free: 7.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.186, allocations: 264.1 kB / 0.7097 GB, free: 7.578 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.186, allocations: 55.28 kB / 0.7097 GB, free: 7.523 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.1861, allocations: 77.81 kB / 0.7098 GB, free: 7.441 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1862, allocations: 358.8 kB / 0.7102 GB, free: 7.082 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.1864, allocations: 77.94 kB / 0.7102 GB, free: 7.004 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.1867, allocations: 219.2 kB / 0.7104 GB, free: 6.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.1871, allocations: 235 kB / 0.7107 GB, free: 6.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1871, allocations: 0 / 0.7107 GB, free: 6.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005399/0.1876, allocations: 309 kB / 0.711 GB, free: 6.172 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1877, allocations: 19.91 kB / 0.711 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1877, allocations: 0 / 0.711 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1877, allocations: 4 kB / 0.711 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.1879, allocations: 67.89 kB / 0.711 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.188, allocations: 7.938 kB / 0.7111 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.1882, allocations: 43.58 kB / 0.7111 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.1883, allocations: 19.98 kB / 0.7111 GB, free: 6.012 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002846/0.1886, allocations: 212.6 kB / 0.7113 GB, free: 5.801 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002579/0.1888, allocations: 212.8 kB / 0.7115 GB, free: 5.547 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003623/0.1892, allocations: 235.2 kB / 0.7117 GB, free: 5.285 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.1892, allocations: 0 / 0.7117 GB, free: 5.285 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005185/0.1898, allocations: 306.7 kB / 0.712 GB, free: 4.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.036e-06/0.1898, allocations: 8.031 kB / 0.712 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1898, allocations: 7.938 kB / 0.7121 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.558e-06/0.1898, allocations: 4 kB / 0.7121 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.19, allocations: 67.84 kB / 0.7121 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.19, allocations: 4 kB / 0.7121 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.1903, allocations: 35.81 kB / 0.7122 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.1904, allocations: 12 kB / 0.7122 GB, free: 4.844 MB / 0.545 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 9.971e-05/0.1905, allocations: 201.1 kB / 0.7124 GB, free: 4.641 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.887e-05/0.1906, allocations: 55.28 kB / 0.7124 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005235/0.1911, allocations: 249.7 kB / 0.7127 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.1911, allocations: 4 kB / 0.7127 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1911, allocations: 3.938 kB / 0.7127 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1911, allocations: 3.984 kB / 0.7127 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009231/0.1921, allocations: 0.7355 MB / 0.7134 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1921, allocations: 4 kB / 0.7134 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.1922, allocations: 31.98 kB / 0.7134 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1922, allocations: 3.938 kB / 0.7134 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.1922, allocations: 8 kB / 0.7134 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1922, allocations: 8.109 kB / 0.7134 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1922, allocations: 7.938 kB / 0.7134 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.1927, allocations: 344 kB / 0.7138 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.1928, allocations: 152.3 kB / 0.7139 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.1929, allocations: 4 kB / 0.7139 GB, free: 2.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.1931, allocations: 11.98 kB / 0.7139 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.1932, allocations: 23.95 kB / 0.714 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.1932, allocations: 7.938 kB / 0.714 GB, free: 2.875 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004202/0.1936, allocations: 418.8 kB / 0.7144 GB, free: 2.469 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1936, allocations: 0 / 0.7144 GB, free: 2.469 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006921/0.1943, allocations: 231.7 kB / 0.7146 GB, free: 2.242 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 (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.001046/0.1954, allocations: 497.3 kB / 0.7151 GB, free: 1.891 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006811/0.196, allocations: 324.5 kB / 0.7154 GB, free: 1.574 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1961, allocations: 0 / 0.7154 GB, free: 1.574 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.1962, allocations: 89.77 kB / 0.7155 GB, free: 1.488 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.1974, allocations: 258.4 kB / 0.7157 GB, free: 1.242 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.1986, allocations: 0.8305 MB / 0.7165 GB, free: 372 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.199, allocations: 0.8468 MB / 0.7173 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.886e-05/0.1991, allocations: 47.42 kB / 0.7174 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.1991, allocations: 0 / 0.7174 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of Templates: time 0.01114/0.2103, allocations: 8.717 MB / 0.7259 GB, free: 6.805 MB / 0.5606 GB 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)