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.005742/0.005742, allocations: 106.2 kB / 15.73 MB, free: 5.984 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.001149/0.001149, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.784/0.784, allocations: 143.1 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 64.69 kB / 0.5955 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1332, allocations: 82.03 MB / 0.6756 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.0167/0.15, allocations: 17.47 MB / 0.6927 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007619/0.1576, allocations: 4.91 MB / 0.6975 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005589/0.1582, allocations: 15.94 kB / 0.6975 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008625/0.1591, allocations: 250.4 kB / 0.6977 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.1603, allocations: 0.6179 MB / 0.6983 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.162, allocations: 0.7223 MB / 0.6991 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000977/0.163, allocations: 0.9702 MB / 0.7 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003905/0.1634, allocations: 340.9 kB / 0.7003 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006107/0.164, allocations: 426.2 kB / 0.7007 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000398/0.1644, allocations: 306.7 kB / 0.701 GB, free: 252 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.887e-05/0.1645, allocations: 32 kB / 0.7011 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.1656, allocations: 0.7253 MB / 0.7018 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.1658, allocations: 127.5 kB / 0.7019 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.166, allocations: 254.5 kB / 0.7021 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.1672, allocations: 0.8996 MB / 0.703 GB, free: 14.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1672, allocations: 0 / 0.703 GB, free: 14.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.525e-06/0.1672, allocations: 4 kB / 0.703 GB, free: 14.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.1672, allocations: 0 / 0.703 GB, free: 14.21 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.001208/0.1684, allocations: 0.8797 MB / 0.7039 GB, free: 13.28 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1685, allocations: 11.97 kB / 0.7039 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.1687, allocations: 56.28 kB / 0.7039 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006742/0.1693, allocations: 469.6 kB / 0.7044 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.1694, allocations: 24.5 kB / 0.7044 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/0.1694, allocations: 28 kB / 0.7044 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/0.1699, allocations: 290.2 kB / 0.7047 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1699, allocations: 0 / 0.7047 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.17, allocations: 16 kB / 0.7047 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.17, allocations: 4 kB / 0.7047 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.1704, allocations: 194.1 kB / 0.7049 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.001842/0.1723, allocations: 1.472 MB / 0.7064 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.1726, allocations: 162.8 kB / 0.7065 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.1728, allocations: 84.8 kB / 0.7066 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001519/0.1743, allocations: 1.272 MB / 0.7078 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.844e-05/0.1744, allocations: 38.5 kB / 0.7079 GB, free: 8.797 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 4.398e-06/0.1744, allocations: 3.984 kB / 0.7079 GB, free: 8.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0005674/0.175, allocations: 254.7 kB / 0.7081 GB, free: 8.539 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.175, allocations: 55.41 kB / 0.7082 GB, free: 8.473 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005589/0.1756, allocations: 0.5808 MB / 0.7087 GB, free: 7.883 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.1756, allocations: 29.7 kB / 0.7088 GB, free: 7.848 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.1758, allocations: 276.1 kB / 0.709 GB, free: 7.574 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.1758, allocations: 59.27 kB / 0.7091 GB, free: 7.516 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.961e-05/0.1759, allocations: 65.89 kB / 0.7091 GB, free: 7.445 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1761, allocations: 362.7 kB / 0.7095 GB, free: 7.082 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.1763, allocations: 81.88 kB / 0.7096 GB, free: 7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.1765, allocations: 215.3 kB / 0.7098 GB, free: 6.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.1769, allocations: 241.2 kB / 0.71 GB, free: 6.473 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.177, allocations: 0 / 0.71 GB, free: 6.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006433/0.1776, allocations: 306.7 kB / 0.7103 GB, free: 6.168 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1776, allocations: 7.938 kB / 0.7103 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1776, allocations: 4 kB / 0.7103 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1777, allocations: 8.25 kB / 0.7103 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.1779, allocations: 63.91 kB / 0.7104 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.1779, allocations: 7.938 kB / 0.7104 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.1782, allocations: 47.56 kB / 0.7104 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.1783, allocations: 12 kB / 0.7104 GB, free: 6.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002722/0.1785, allocations: 212.6 kB / 0.7106 GB, free: 5.809 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002612/0.1788, allocations: 209.6 kB / 0.7108 GB, free: 5.555 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003517/0.1792, allocations: 231.1 kB / 0.7111 GB, free: 5.297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.1792, allocations: 0 / 0.7111 GB, free: 5.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000517/0.1797, allocations: 308.7 kB / 0.7114 GB, free: 4.988 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/0.1797, allocations: 8 kB / 0.7114 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1797, allocations: 3.938 kB / 0.7114 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.551e-06/0.1797, allocations: 8.25 kB / 0.7114 GB, free: 4.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.1799, allocations: 59.91 kB / 0.7114 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.18, allocations: 7.984 kB / 0.7114 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.1803, allocations: 36.02 kB / 0.7115 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.1803, allocations: 15.98 kB / 0.7115 GB, free: 4.852 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.0001021/0.1804, allocations: 193.1 kB / 0.7117 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.408e-05/0.1805, allocations: 59.27 kB / 0.7117 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005143/0.181, allocations: 263.2 kB / 0.712 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.181, allocations: 4 kB / 0.712 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.181, allocations: 4 kB / 0.712 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.181, allocations: 0 / 0.712 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009019/0.1819, allocations: 0.7394 MB / 0.7127 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.182, allocations: 192 / 0.7127 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.1821, allocations: 31.97 kB / 0.7127 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1821, allocations: 7.938 kB / 0.7128 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1821, allocations: 7.938 kB / 0.7128 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.1821, allocations: 7.938 kB / 0.7128 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1821, allocations: 0 / 0.7128 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.1826, allocations: 346.5 kB / 0.7131 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.1827, allocations: 152.3 kB / 0.7132 GB, free: 2.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.1828, allocations: 12 kB / 0.7133 GB, free: 2.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.1829, allocations: 7.984 kB / 0.7133 GB, free: 2.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.183, allocations: 23.86 kB / 0.7133 GB, free: 2.887 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.183, allocations: 4 kB / 0.7133 GB, free: 2.883 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004178/0.1834, allocations: 426.8 kB / 0.7137 GB, free: 2.469 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1835, allocations: 0 / 0.7137 GB, free: 2.469 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006589/0.1841, allocations: 227.7 kB / 0.7139 GB, free: 2.246 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.001048/0.1852, allocations: 0.4907 MB / 0.7144 GB, free: 1.891 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006468/0.1858, allocations: 316.3 kB / 0.7147 GB, free: 1.582 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1858, allocations: 4.188 kB / 0.7147 GB, free: 1.578 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.186, allocations: 91.83 kB / 0.7148 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.0011/0.1871, allocations: 251 kB / 0.715 GB, free: 1.246 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.1883, allocations: 0.7976 MB / 0.7158 GB, free: 416 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.1887, allocations: 0.8468 MB / 0.7166 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002953/0.189, allocations: 99.5 kB / 0.7167 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.787e-05/0.1891, allocations: 43.44 kB / 0.7168 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.1891, allocations: 0 / 0.7168 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of Templates: time 0.01641/0.2055, allocations: 10.49 MB / 0.727 GB, free: 5.059 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)