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.001049/0.001049, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001093/0.001093, allocations: 194.8 kB / 16.25 MB, free: 6.617 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.527 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 1.004/1.004, allocations: 143 MB / 433.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 63.91 kB / 0.5137 GB, free: 11.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1507, allocations: 82.04 MB / 0.5938 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.3259/0.4767, allocations: 15.44 MB / 0.6089 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005262/0.482, allocations: 4.313 MB / 0.6131 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004219/0.4824, allocations: 17.91 kB / 0.6131 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008287/0.4833, allocations: 227.8 kB / 0.6133 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.4845, allocations: 0.5528 MB / 0.6139 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.486, allocations: 0.6518 MB / 0.6145 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008505/0.4868, allocations: 1.022 MB / 0.6155 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003765/0.4872, allocations: 341.5 kB / 0.6158 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005402/0.4878, allocations: 419.2 kB / 0.6162 GB, free: 33.81 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.4881, allocations: 330.4 kB / 0.6165 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.619e-05/0.4881, allocations: 37.42 kB / 0.6166 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008228/0.489, allocations: 0.6319 MB / 0.6172 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.958e-05/0.4891, allocations: 95.3 kB / 0.6173 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.4892, allocations: 225 kB / 0.6175 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007707/0.49, allocations: 0.7813 MB / 0.6182 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.49, allocations: 0 / 0.6182 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.49, allocations: 0 / 0.6182 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.49, allocations: 0 / 0.6182 GB, free: 33.12 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.000996/0.491, allocations: 0.8405 MB / 0.6191 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.4911, allocations: 8.781 kB / 0.6191 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.966e-05/0.4912, allocations: 53.56 kB / 0.6191 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004699/0.4917, allocations: 412.1 kB / 0.6195 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.4917, allocations: 22.67 kB / 0.6195 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.4917, allocations: 26.25 kB / 0.6196 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.4921, allocations: 220.6 kB / 0.6198 GB, free: 32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4922, allocations: 0 / 0.6198 GB, free: 32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.4922, allocations: 8 kB / 0.6198 GB, free: 32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.4922, allocations: 8.906 kB / 0.6198 GB, free: 32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.4925, allocations: 163.1 kB / 0.62 GB, free: 31.95 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.001295/0.4938, allocations: 0.9483 MB / 0.6209 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.4941, allocations: 134.6 kB / 0.621 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.4942, allocations: 72.36 kB / 0.6211 GB, free: 31.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.4944, allocations: 346.1 kB / 0.6214 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.4945, allocations: 37.72 kB / 0.6214 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.4945, allocations: 0 / 0.6214 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005421/0.495, allocations: 230.7 kB / 0.6217 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.4951, allocations: 54.41 kB / 0.6217 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/0.4955, allocations: 481.4 kB / 0.6222 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.4955, allocations: 32.3 kB / 0.6222 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.4956, allocations: 226 kB / 0.6224 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.4956, allocations: 51.44 kB / 0.6225 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.733e-05/0.4957, allocations: 59.62 kB / 0.6225 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.525e-05/0.4958, allocations: 358.2 kB / 0.6229 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.496, allocations: 69.11 kB / 0.6229 GB, free: 29.78 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.4962, allocations: 159.9 kB / 0.6231 GB, free: 29.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.4965, allocations: 170 kB / 0.6232 GB, free: 29.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4965, allocations: 4 kB / 0.6233 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004411/0.4969, allocations: 254.4 kB / 0.6235 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.497, allocations: 5.656 kB / 0.6235 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.497, allocations: 0 / 0.6235 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.497, allocations: 2.844 kB / 0.6235 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.4972, allocations: 45.41 kB / 0.6235 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.4972, allocations: 0 / 0.6235 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.4976, allocations: 53.8 kB / 0.6236 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.4976, allocations: 5.688 kB / 0.6236 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002264/0.4978, allocations: 192.1 kB / 0.6238 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000195/0.498, allocations: 158.3 kB / 0.6239 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002737/0.4983, allocations: 169.6 kB / 0.6241 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.472e-06/0.4983, allocations: 3.938 kB / 0.6241 GB, free: 29.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000422/0.4987, allocations: 255.6 kB / 0.6243 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.322e-06/0.4988, allocations: 6.031 kB / 0.6244 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-06/0.4988, allocations: 0 / 0.6244 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.155e-06/0.4988, allocations: 2.969 kB / 0.6244 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.499, allocations: 45.39 kB / 0.6244 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.499, allocations: 3.859 kB / 0.6244 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.4993, allocations: 40.55 kB / 0.6244 GB, free: 29.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.4994, allocations: 11.12 kB / 0.6244 GB, free: 29 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 8.093e-05/0.4994, allocations: 200.3 kB / 0.6246 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-05/0.4995, allocations: 48.2 kB / 0.6247 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005109/0.5, allocations: 251.4 kB / 0.6249 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.5, allocations: 6.359 kB / 0.6249 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5001, allocations: 0 / 0.6249 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5001, allocations: 0 / 0.6249 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007851/0.5009, allocations: 0.7067 MB / 0.6256 GB, free: 28.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5009, allocations: 6.719 kB / 0.6256 GB, free: 28.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.501, allocations: 28.69 kB / 0.6257 GB, free: 28.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.501, allocations: 3.438 kB / 0.6257 GB, free: 28.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.501, allocations: 5.922 kB / 0.6257 GB, free: 28.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.501, allocations: 6.938 kB / 0.6257 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.501, allocations: 0 / 0.6257 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.5014, allocations: 343.3 kB / 0.626 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.89e-05/0.5015, allocations: 141.5 kB / 0.6261 GB, free: 27.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.5016, allocations: 5.062 kB / 0.6261 GB, free: 27.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.5018, allocations: 29.89 kB / 0.6262 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.5019, allocations: 8.531 kB / 0.6262 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.5019, allocations: 5.625 kB / 0.6262 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002892/0.5022, allocations: 337.7 kB / 0.6265 GB, free: 27.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5022, allocations: 0 / 0.6265 GB, free: 27.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006165/0.5028, allocations: 211.8 kB / 0.6267 GB, free: 27.6 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.001061/0.5039, allocations: 485.8 kB / 0.6272 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005767/0.5045, allocations: 284.6 kB / 0.6274 GB, free: 27.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5045, allocations: 0 / 0.6274 GB, free: 27.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.5046, allocations: 85.61 kB / 0.6275 GB, free: 27.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000997/0.5057, allocations: 194.8 kB / 0.6277 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009643/0.5066, allocations: 0.8402 MB / 0.6285 GB, free: 26.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.5068, allocations: 0.8211 MB / 0.6293 GB, free: 26.01 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002568/0.5071, allocations: 101.8 kB / 0.6294 GB, free: 25.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.494e-05/0.5072, allocations: 34.62 kB / 0.6295 GB, free: 25.96 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.5072, allocations: 0 / 0.6295 GB, free: 25.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.01351/0.5207, allocations: 8.487 MB / 0.6377 GB, free: 25.23 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)