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.001499/0.001499, allocations: 113.1 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.001473/0.001473, allocations: 183 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.351/1.351, 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.8546/0.8546, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 68.11 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1518, allocations: 82.03 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02003/0.1718, allocations: 17.5 MB / 0.6934 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007514/0.1793, allocations: 4.917 MB / 0.6982 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006564/0.18, allocations: 11.94 kB / 0.6982 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009019/0.1809, allocations: 262.3 kB / 0.6985 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.1825, allocations: 0.6336 MB / 0.6991 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.1844, allocations: 0.742 MB / 0.6998 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001436/0.1859, allocations: 0.9663 MB / 0.7008 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004837/0.1864, allocations: 293 kB / 0.701 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000765/0.1871, allocations: 426.3 kB / 0.7014 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004273/0.1876, allocations: 310.7 kB / 0.7017 GB, free: 232 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.562e-05/0.1876, allocations: 28 kB / 0.7018 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.189, allocations: 0.7292 MB / 0.7025 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.1891, allocations: 135.5 kB / 0.7026 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.1894, allocations: 246.5 kB / 0.7028 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.1907, allocations: 0.9184 MB / 0.7037 GB, free: 14.17 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1907, allocations: 0 / 0.7037 GB, free: 14.17 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1907, allocations: 0 / 0.7037 GB, free: 14.17 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.1908, allocations: 0 / 0.7037 GB, free: 14.17 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.001374/0.1921, allocations: 0.8972 MB / 0.7046 GB, free: 13.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1922, allocations: 12.03 kB / 0.7046 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.1924, allocations: 64.5 kB / 0.7047 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007321/0.1931, allocations: 466.1 kB / 0.7051 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.1931, allocations: 32.5 kB / 0.7052 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.1932, allocations: 24 kB / 0.7052 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.1937, allocations: 286.2 kB / 0.7055 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1937, allocations: 4 kB / 0.7055 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.1937, allocations: 12 kB / 0.7055 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.1937, allocations: 4 kB / 0.7055 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.1942, allocations: 190.1 kB / 0.7057 GB, free: 12.09 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.002046/0.1962, allocations: 1.476 MB / 0.7071 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.1965, allocations: 150.8 kB / 0.7072 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.1967, allocations: 76.8 kB / 0.7073 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001711/0.1984, allocations: 1.284 MB / 0.7086 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.1985, allocations: 34.5 kB / 0.7086 GB, free: 8.754 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.1985, allocations: 0 / 0.7086 GB, free: 8.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006744/0.1991, allocations: 268.5 kB / 0.7089 GB, free: 8.484 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.1992, allocations: 51.41 kB / 0.7089 GB, free: 8.422 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007064/0.1999, allocations: 0.577 MB / 0.7095 GB, free: 7.836 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.1999, allocations: 33.7 kB / 0.7095 GB, free: 7.797 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.2002, allocations: 272.4 kB / 0.7098 GB, free: 7.527 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.2002, allocations: 59.56 kB / 0.7098 GB, free: 7.469 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.2003, allocations: 65.94 kB / 0.7099 GB, free: 7.398 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.2005, allocations: 362.8 kB / 0.7102 GB, free: 7.035 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.2007, allocations: 81.88 kB / 0.7103 GB, free: 6.953 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/0.201, allocations: 215.3 kB / 0.7105 GB, free: 6.695 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.2014, allocations: 233.4 kB / 0.7107 GB, free: 6.434 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2014, allocations: 0 / 0.7107 GB, free: 6.434 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006189/0.2021, allocations: 317 kB / 0.711 GB, free: 6.117 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.2021, allocations: 11.94 kB / 0.711 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2021, allocations: 0 / 0.711 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.2021, allocations: 4 kB / 0.7111 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.2024, allocations: 63.91 kB / 0.7111 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.2024, allocations: 4 kB / 0.7111 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.2027, allocations: 48.09 kB / 0.7112 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.2027, allocations: 15.94 kB / 0.7112 GB, free: 5.973 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003315/0.2031, allocations: 216.6 kB / 0.7114 GB, free: 5.758 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003138/0.2034, allocations: 214.1 kB / 0.7116 GB, free: 5.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003994/0.2038, allocations: 232.7 kB / 0.7118 GB, free: 5.242 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.627e-06/0.2038, allocations: 4 kB / 0.7118 GB, free: 5.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005778/0.2043, allocations: 309 kB / 0.7121 GB, free: 4.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2044, allocations: 8 kB / 0.7121 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.2044, allocations: 3.938 kB / 0.7121 GB, free: 4.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-06/0.2044, allocations: 4.188 kB / 0.7121 GB, free: 4.914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.2046, allocations: 59.91 kB / 0.7122 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.2046, allocations: 15.91 kB / 0.7122 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.2049, allocations: 44.11 kB / 0.7122 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.2049, allocations: 15.98 kB / 0.7123 GB, free: 4.781 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 0.0001491/0.2051, allocations: 201 kB / 0.7124 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/0.2052, allocations: 51.61 kB / 0.7125 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005811/0.2058, allocations: 260.5 kB / 0.7127 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.2058, allocations: 8 kB / 0.7128 GB, free: 4.258 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2058, allocations: 4 kB / 0.7128 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.2058, allocations: 0 / 0.7128 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.2069, allocations: 0.7317 MB / 0.7135 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2069, allocations: 4.125 kB / 0.7135 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.207, allocations: 31.97 kB / 0.7135 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.207, allocations: 4 kB / 0.7135 GB, free: 3.414 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.207, allocations: 8 kB / 0.7135 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.207, allocations: 3.938 kB / 0.7135 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.207, allocations: 0 / 0.7135 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005115/0.2075, allocations: 359.9 kB / 0.7139 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.2077, allocations: 148.7 kB / 0.714 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.293e-05/0.2078, allocations: 0 / 0.714 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.208, allocations: 15.98 kB / 0.714 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.208, allocations: 23.92 kB / 0.714 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.208, allocations: 8 kB / 0.714 GB, free: 2.812 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005074/0.2085, allocations: 422.8 kB / 0.7145 GB, free: 2.402 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2085, allocations: 0 / 0.7145 GB, free: 2.402 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007672/0.2093, allocations: 231.5 kB / 0.7147 GB, free: 2.176 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.001613/0.2109, allocations: 0.496 MB / 0.7152 GB, free: 1.812 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007869/0.2117, allocations: 313.3 kB / 0.7155 GB, free: 1.508 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2117, allocations: 0 / 0.7155 GB, free: 1.508 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.2119, allocations: 81.08 kB / 0.7155 GB, free: 1.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.2131, allocations: 251.1 kB / 0.7158 GB, free: 1.191 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.2146, allocations: 0.8491 MB / 0.7166 GB, free: 300 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.2151, allocations: 0.8389 MB / 0.7174 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.2153, allocations: 51.36 kB / 0.7175 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of SimCode: time 8.41e-07/0.2153, allocations: 0 / 0.7175 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of Templates: time 0.01404/0.2293, allocations: 8.685 MB / 0.726 GB, free: 6.773 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)