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.001033/0.001033, allocations: 99.42 kB / 16.02 MB, free: 72 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.0009763/0.0009765, allocations: 182 kB / 16.92 MB, free: 6.918 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.406/1.406, allocations: 223.3 MB / 241 MB, free: 5.348 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.015/1.015, allocations: 143.2 MB / 435.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 12 kB / 0.5171 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.157, allocations: 83.41 MB / 0.5985 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.2866/0.4436, allocations: 14.94 MB / 0.6131 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005181/0.4488, allocations: 4.294 MB / 0.6173 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004928/0.4494, allocations: 13.62 kB / 0.6173 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007798/0.4501, allocations: 220.8 kB / 0.6175 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.4514, allocations: 0.5532 MB / 0.6181 GB, free: 32.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.453, allocations: 0.6349 MB / 0.6187 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.4542, allocations: 1.307 MB / 0.62 GB, free: 32.51 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003552/0.4545, allocations: 291.6 kB / 0.6202 GB, free: 32.47 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005459/0.4551, allocations: 380.7 kB / 0.6206 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.4554, allocations: 319.1 kB / 0.6209 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.209e-05/0.4555, allocations: 14.22 kB / 0.6209 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008965/0.4564, allocations: 0.5947 MB / 0.6215 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.735e-05/0.4565, allocations: 87.25 kB / 0.6216 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.4567, allocations: 232.2 kB / 0.6218 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005429/0.4572, allocations: 0.5518 MB / 0.6223 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.4572, allocations: 3.938 kB / 0.6223 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4572, allocations: 4 kB / 0.6223 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.4572, allocations: 0 / 0.6223 GB, free: 31.95 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.0009554/0.4582, allocations: 0.7462 MB / 0.6231 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.4582, allocations: 11.44 kB / 0.6231 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.377e-05/0.4583, allocations: 58.72 kB / 0.6231 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.4588, allocations: 423.9 kB / 0.6235 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.4588, allocations: 18.5 kB / 0.6236 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.4589, allocations: 25.12 kB / 0.6236 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.4593, allocations: 222.3 kB / 0.6238 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4593, allocations: 0 / 0.6238 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.4593, allocations: 11.03 kB / 0.6238 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4593, allocations: 2.938 kB / 0.6238 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/0.4597, allocations: 173.9 kB / 0.624 GB, free: 31.03 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.001373/0.4611, allocations: 0.9514 MB / 0.6249 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.4613, allocations: 147.1 kB / 0.6251 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.4615, allocations: 78.12 kB / 0.6251 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002263/0.4617, allocations: 339 kB / 0.6254 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.4618, allocations: 35.36 kB / 0.6255 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.4618, allocations: 2.344 kB / 0.6255 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005784/0.4624, allocations: 252.4 kB / 0.6257 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.4624, allocations: 54.09 kB / 0.6258 GB, free: 29.97 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.4628, allocations: 483.2 kB / 0.6262 GB, free: 29.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.4628, allocations: 32.11 kB / 0.6263 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.463, allocations: 226.6 kB / 0.6265 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.463, allocations: 48.42 kB / 0.6265 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.4631, allocations: 28.05 kB / 0.6266 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.4631, allocations: 353.2 kB / 0.6269 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.4633, allocations: 79.16 kB / 0.627 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.4635, allocations: 152.4 kB / 0.6271 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.4639, allocations: 175.5 kB / 0.6273 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4639, allocations: 3 kB / 0.6273 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004651/0.4643, allocations: 267.1 kB / 0.6275 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/0.4644, allocations: 104.4 kB / 0.6276 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4644, allocations: 3.062 kB / 0.6276 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4644, allocations: 0 / 0.6276 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.4647, allocations: 53.06 kB / 0.6277 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4647, allocations: 7.938 kB / 0.6277 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.465, allocations: 52.09 kB / 0.6277 GB, free: 28.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.4651, allocations: 12.59 kB / 0.6278 GB, free: 28.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.451e-06/0.4651, allocations: 2.438 kB / 0.6278 GB, free: 28.99 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000369/0.4654, allocations: 190.8 kB / 0.6279 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.4655, allocations: 2.875 kB / 0.6279 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-06/0.4655, allocations: 0 / 0.6279 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.4657, allocations: 56.8 kB / 0.628 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.4657, allocations: 0 / 0.628 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.466, allocations: 41.62 kB / 0.628 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.466, allocations: 12.28 kB / 0.6281 GB, free: 28.91 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.0001599/0.4662, allocations: 238.6 kB / 0.6283 GB, free: 28.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.4662, allocations: 45.09 kB / 0.6283 GB, free: 28.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004914/0.4667, allocations: 267.6 kB / 0.6286 GB, free: 28.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.4668, allocations: 0 / 0.6286 GB, free: 28.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4668, allocations: 0 / 0.6286 GB, free: 28.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.4668, allocations: 7.156 kB / 0.6286 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008749/0.4677, allocations: 0.7197 MB / 0.6293 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4677, allocations: 0 / 0.6293 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.4678, allocations: 32.06 kB / 0.6293 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.4678, allocations: 5.469 kB / 0.6293 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.4678, allocations: 6.656 kB / 0.6293 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.4678, allocations: 2.781 kB / 0.6293 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4678, allocations: 3.938 kB / 0.6293 GB, free: 28.06 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.4682, allocations: 353.8 kB / 0.6297 GB, free: 27.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.4683, allocations: 150.8 kB / 0.6298 GB, free: 27.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.4684, allocations: 6.938 kB / 0.6298 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.4686, allocations: 25.28 kB / 0.6299 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.4687, allocations: 13.41 kB / 0.6299 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.4687, allocations: 12.94 kB / 0.6299 GB, free: 27.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002815/0.469, allocations: 336.5 kB / 0.6302 GB, free: 27.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.469, allocations: 3.938 kB / 0.6302 GB, free: 27.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006264/0.4696, allocations: 200 kB / 0.6304 GB, free: 27.47 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.001009/0.4706, allocations: 485.8 kB / 0.6309 GB, free: 27.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005889/0.4712, allocations: 287 kB / 0.6311 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4713, allocations: 2.875 kB / 0.6311 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.4714, allocations: 93.08 kB / 0.6312 GB, free: 27.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.4728, allocations: 216.1 kB / 0.6314 GB, free: 27.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.4739, allocations: 0.8905 MB / 0.6323 GB, free: 26.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.4741, allocations: 0.8254 MB / 0.6331 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.642e-05/0.4742, allocations: 40.91 kB / 0.6331 GB, free: 25.83 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.4742, allocations: 0 / 0.6331 GB, free: 25.83 MB / 0.4981 GB Notification: Performance of Templates: time 0.009644/0.4839, allocations: 7.455 MB / 0.6404 GB, free: 25.01 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)