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.006164/0.006163, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001398/0.001398, allocations: 193.8 kB / 16.79 MB, free: 5.809 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.435/1.435, allocations: 222.9 MB / 240.5 MB, free: 4.574 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.001/1.001, allocations: 143 MB / 433.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 63.84 kB / 0.5142 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1887, allocations: 82.04 MB / 0.5943 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.3298/0.5186, allocations: 17.38 MB / 0.6112 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00569/0.5243, allocations: 4.937 MB / 0.6161 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005516/0.5249, allocations: 16.5 kB / 0.6161 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007723/0.5257, allocations: 210.6 kB / 0.6163 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.5269, allocations: 0.5583 MB / 0.6168 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.5285, allocations: 0.6395 MB / 0.6174 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001037/0.5295, allocations: 1.271 MB / 0.6187 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/0.5299, allocations: 295.8 kB / 0.619 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005589/0.5305, allocations: 386.7 kB / 0.6193 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003184/0.5308, allocations: 317.3 kB / 0.6196 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.5309, allocations: 19.25 kB / 0.6197 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.5319, allocations: 0.6995 MB / 0.6203 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.532, allocations: 120.5 kB / 0.6205 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.5322, allocations: 237 kB / 0.6207 GB, free: 31.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006371/0.5329, allocations: 0.6457 MB / 0.6213 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5329, allocations: 0 / 0.6213 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.21e-07/0.5329, allocations: 0 / 0.6213 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.5329, allocations: 0 / 0.6213 GB, free: 31.5 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001105/0.534, allocations: 0.8831 MB / 0.6222 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.534, allocations: 12.84 kB / 0.6222 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.5342, allocations: 62.22 kB / 0.6222 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.5347, allocations: 445.9 kB / 0.6227 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.5348, allocations: 23.28 kB / 0.6227 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.5348, allocations: 29.47 kB / 0.6227 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.5352, allocations: 287.6 kB / 0.623 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.5353, allocations: 4 kB / 0.623 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.5353, allocations: 10.84 kB / 0.623 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.5353, allocations: 6.062 kB / 0.623 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003759/0.5357, allocations: 185.2 kB / 0.6232 GB, free: 30.22 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.001497/0.5372, allocations: 1.482 MB / 0.6246 GB, free: 29.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.5375, allocations: 167.9 kB / 0.6248 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.5377, allocations: 84.19 kB / 0.6249 GB, free: 29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/0.539, allocations: 1.283 MB / 0.6261 GB, free: 27.76 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.539, allocations: 32.84 kB / 0.6262 GB, free: 27.72 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.345e-06/0.539, allocations: 5.25 kB / 0.6262 GB, free: 27.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005811/0.5396, allocations: 250.6 kB / 0.6264 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.5396, allocations: 54.09 kB / 0.6265 GB, free: 27.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.5402, allocations: 0.5919 MB / 0.627 GB, free: 27.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.5402, allocations: 25.7 kB / 0.6271 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.5403, allocations: 271.3 kB / 0.6273 GB, free: 27.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.5404, allocations: 52.31 kB / 0.6274 GB, free: 26.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.928e-05/0.5405, allocations: 73.47 kB / 0.6274 GB, free: 26.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.733e-05/0.5406, allocations: 360.7 kB / 0.6278 GB, free: 26.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.5408, allocations: 83.11 kB / 0.6279 GB, free: 26.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.541, allocations: 210.5 kB / 0.6281 GB, free: 26.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.5414, allocations: 234.2 kB / 0.6283 GB, free: 26.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5414, allocations: 0 / 0.6283 GB, free: 26.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005104/0.5419, allocations: 324 kB / 0.6286 GB, free: 26.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.5419, allocations: 9.406 kB / 0.6286 GB, free: 26.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5419, allocations: 5.156 kB / 0.6286 GB, free: 26.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.542, allocations: 2.719 kB / 0.6286 GB, free: 26.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.5422, allocations: 57.88 kB / 0.6287 GB, free: 26.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.5422, allocations: 9.141 kB / 0.6287 GB, free: 26.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.5425, allocations: 45.02 kB / 0.6287 GB, free: 26.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.5426, allocations: 19.19 kB / 0.6287 GB, free: 26.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002639/0.5429, allocations: 213 kB / 0.6289 GB, free: 25.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002215/0.5431, allocations: 213.6 kB / 0.6291 GB, free: 25.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003232/0.5434, allocations: 227.7 kB / 0.6294 GB, free: 25.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.5434, allocations: 0 / 0.6294 GB, free: 25.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0004849/0.5439, allocations: 304.7 kB / 0.6297 GB, free: 25.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.5439, allocations: 8.969 kB / 0.6297 GB, free: 25.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.5439, allocations: 3.344 kB / 0.6297 GB, free: 25.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.258e-06/0.5439, allocations: 6.656 kB / 0.6297 GB, free: 25.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.5442, allocations: 63 kB / 0.6297 GB, free: 25.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.5442, allocations: 6.297 kB / 0.6297 GB, free: 25.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.5445, allocations: 43.66 kB / 0.6298 GB, free: 25.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.5445, allocations: 12.59 kB / 0.6298 GB, free: 25.49 MB / 0.4981 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 8.016e-05/0.5446, allocations: 205 kB / 0.63 GB, free: 25.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-05/0.5447, allocations: 54.84 kB / 0.63 GB, free: 25.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005026/0.5452, allocations: 263.4 kB / 0.6303 GB, free: 25.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.5452, allocations: 2.906 kB / 0.6303 GB, free: 25.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5453, allocations: 5.062 kB / 0.6303 GB, free: 25.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5453, allocations: 3.422 kB / 0.6303 GB, free: 25.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000842/0.5461, allocations: 0.7329 MB / 0.631 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5461, allocations: 0 / 0.631 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.5463, allocations: 34.25 kB / 0.6311 GB, free: 24.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5463, allocations: 6.938 kB / 0.6311 GB, free: 24.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.5463, allocations: 6.906 kB / 0.6311 GB, free: 24.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.5463, allocations: 5.188 kB / 0.6311 GB, free: 24.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.5463, allocations: 0 / 0.6311 GB, free: 24.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/0.5467, allocations: 353.4 kB / 0.6314 GB, free: 24.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.5468, allocations: 146.9 kB / 0.6315 GB, free: 24.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/0.5469, allocations: 2.875 kB / 0.6315 GB, free: 24.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.5471, allocations: 23.33 kB / 0.6316 GB, free: 24.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.5472, allocations: 9.859 kB / 0.6316 GB, free: 24.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.5472, allocations: 9.344 kB / 0.6316 GB, free: 24.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003741/0.5476, allocations: 422 kB / 0.632 GB, free: 24.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5476, allocations: 0 / 0.632 GB, free: 24.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006986/0.5483, allocations: 232.2 kB / 0.6322 GB, free: 24.03 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 (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.001094/0.5494, allocations: 0.4996 MB / 0.6327 GB, free: 23.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006224/0.55, allocations: 316.4 kB / 0.633 GB, free: 23.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.55, allocations: 0 / 0.633 GB, free: 23.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.5502, allocations: 97.41 kB / 0.6331 GB, free: 23.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.5514, allocations: 247.7 kB / 0.6333 GB, free: 23.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.5526, allocations: 0.989 MB / 0.6343 GB, free: 23.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.5528, allocations: 0.8437 MB / 0.6351 GB, free: 22.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.424e-05/0.5529, allocations: 43.55 kB / 0.6352 GB, free: 22.3 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.5529, allocations: 0 / 0.6352 GB, free: 22.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.01125/0.5642, allocations: 8.662 MB / 0.6436 GB, free: 21.32 MB / 0.4981 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)