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.00117/0.00117, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.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.9612/0.9612, allocations: 143 MB / 433.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 59.91 kB / 0.5142 GB, free: 11.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.176, allocations: 82.04 MB / 0.5943 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.2856/0.4617, allocations: 15.52 MB / 0.6094 GB, free: 36.51 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008142/0.4699, allocations: 4.331 MB / 0.6137 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004696/0.4704, allocations: 12.69 kB / 0.6137 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.4715, allocations: 265.2 kB / 0.6139 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.4733, allocations: 0.6055 MB / 0.6145 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.4758, allocations: 0.7039 MB / 0.6152 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001341/0.4771, allocations: 1.032 MB / 0.6162 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005403/0.4777, allocations: 332.5 kB / 0.6165 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007791/0.4785, allocations: 421 kB / 0.6169 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004915/0.479, allocations: 323.4 kB / 0.6172 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.69e-05/0.4791, allocations: 28.03 kB / 0.6173 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.4805, allocations: 0.6257 MB / 0.6179 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.4807, allocations: 104.1 kB / 0.618 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.4809, allocations: 223.7 kB / 0.6182 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.482, allocations: 0.7833 MB / 0.619 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4821, allocations: 0 / 0.619 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4821, allocations: 0 / 0.619 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.4821, allocations: 0 / 0.619 GB, free: 33.04 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001396/0.4835, allocations: 0.8345 MB / 0.6198 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.4835, allocations: 8.719 kB / 0.6198 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.4837, allocations: 54.72 kB / 0.6198 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006522/0.4844, allocations: 417.7 kB / 0.6202 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.4844, allocations: 21.22 kB / 0.6202 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.195e-05/0.4845, allocations: 25.03 kB / 0.6203 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.4851, allocations: 211.5 kB / 0.6205 GB, free: 31.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.4851, allocations: 2.969 kB / 0.6205 GB, free: 31.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.4851, allocations: 4 kB / 0.6205 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.4852, allocations: 10 kB / 0.6205 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006045/0.4858, allocations: 174.8 kB / 0.6207 GB, free: 31.88 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.002052/0.4878, allocations: 0.9498 MB / 0.6216 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.4883, allocations: 131.7 kB / 0.6217 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.4885, allocations: 67.62 kB / 0.6218 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002847/0.4888, allocations: 340.7 kB / 0.6221 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.4889, allocations: 39 kB / 0.6221 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.174e-06/0.4889, allocations: 1.875 kB / 0.6221 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0009297/0.4898, allocations: 236 kB / 0.6224 GB, free: 30.65 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.4899, allocations: 58.34 kB / 0.6224 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006719/0.4905, allocations: 481.7 kB / 0.6229 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.4906, allocations: 29.7 kB / 0.6229 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.4908, allocations: 228 kB / 0.6231 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.4908, allocations: 48.55 kB / 0.6232 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.491, allocations: 59.47 kB / 0.6232 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.505e-05/0.4911, allocations: 355.5 kB / 0.6236 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.4913, allocations: 73.67 kB / 0.6236 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003859/0.4917, allocations: 157.8 kB / 0.6238 GB, free: 29.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/0.4923, allocations: 163.1 kB / 0.6239 GB, free: 29.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4924, allocations: 4 kB / 0.6239 GB, free: 29.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008221/0.4932, allocations: 255.9 kB / 0.6242 GB, free: 29.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4932, allocations: 5.188 kB / 0.6242 GB, free: 29.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.4932, allocations: 3.938 kB / 0.6242 GB, free: 29.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.4933, allocations: 2.5 kB / 0.6242 GB, free: 29.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.4937, allocations: 49.25 kB / 0.6242 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.4937, allocations: 2.75 kB / 0.6243 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005286/0.4942, allocations: 47.44 kB / 0.6243 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/0.4943, allocations: 9.25 kB / 0.6243 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004067/0.4947, allocations: 188.6 kB / 0.6245 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003611/0.4951, allocations: 163.9 kB / 0.6246 GB, free: 29.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005225/0.4956, allocations: 163.6 kB / 0.6248 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.925e-06/0.4957, allocations: 3.938 kB / 0.6248 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000809/0.4965, allocations: 261.2 kB / 0.6251 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.4965, allocations: 5.938 kB / 0.6251 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.4965, allocations: 0.625 kB / 0.6251 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.133e-06/0.4965, allocations: 6.531 kB / 0.6251 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.4969, allocations: 41.06 kB / 0.6251 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.4969, allocations: 6.625 kB / 0.6251 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005979/0.4975, allocations: 35.56 kB / 0.6251 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.4976, allocations: 16.31 kB / 0.6252 GB, free: 28.93 MB / 0.4981 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.0001081/0.4977, allocations: 189.5 kB / 0.6253 GB, free: 28.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.4978, allocations: 41.75 kB / 0.6254 GB, free: 28.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008812/0.4987, allocations: 255.8 kB / 0.6256 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.4988, allocations: 6.438 kB / 0.6256 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4988, allocations: 0 / 0.6256 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.4988, allocations: 6.328 kB / 0.6256 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.5002, allocations: 0.6929 MB / 0.6263 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-06/0.5003, allocations: 2.469 kB / 0.6263 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.5005, allocations: 30.3 kB / 0.6263 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.5005, allocations: 6.719 kB / 0.6263 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.5005, allocations: 9.969 kB / 0.6264 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.5005, allocations: 3.938 kB / 0.6264 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.5006, allocations: 3.859 kB / 0.6264 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006454/0.5012, allocations: 338.3 kB / 0.6267 GB, free: 27.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.5014, allocations: 130.3 kB / 0.6268 GB, free: 27.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.508e-05/0.5015, allocations: 6.5 kB / 0.6268 GB, free: 27.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.5019, allocations: 18.97 kB / 0.6268 GB, free: 27.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/0.5019, allocations: 22.44 kB / 0.6269 GB, free: 27.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.502, allocations: 9.25 kB / 0.6269 GB, free: 27.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005057/0.5025, allocations: 332.1 kB / 0.6272 GB, free: 27.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5025, allocations: 0 / 0.6272 GB, free: 27.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001101/0.5036, allocations: 206.5 kB / 0.6274 GB, free: 27.54 MB / 0.4981 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.00164/0.5053, allocations: 490.1 kB / 0.6278 GB, free: 27.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.5064, allocations: 279.1 kB / 0.6281 GB, free: 27.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5064, allocations: 0 / 0.6281 GB, free: 27.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003047/0.5067, allocations: 87.33 kB / 0.6282 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.5086, allocations: 203.7 kB / 0.6284 GB, free: 27.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.5103, allocations: 0.714 MB / 0.6291 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.5106, allocations: 0.8308 MB / 0.6299 GB, free: 26.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004924/0.5111, allocations: 91.55 kB / 0.63 GB, free: 26.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.5112, allocations: 40.55 kB / 0.63 GB, free: 26.02 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.5112, allocations: 0 / 0.63 GB, free: 26.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.01411/0.5254, allocations: 8.57 MB / 0.6384 GB, free: 25.28 MB / 0.4981 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)