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.0008501/0.0008502, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0008977/0.0008977, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.15/1.15, allocations: 223.3 MB / 240 MB, free: 5.328 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.8587/0.8587, allocations: 143.2 MB / 434.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000263/0.000263, allocations: 12 kB / 0.5158 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1269, allocations: 83.41 MB / 0.5972 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.2356/0.3625, allocations: 14.21 MB / 0.6111 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004018/0.3666, allocations: 4.061 MB / 0.6151 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.3668, allocations: 13.66 kB / 0.6151 GB, free: 34.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005641/0.3674, allocations: 201.2 kB / 0.6153 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006839/0.3681, allocations: 487.4 kB / 0.6158 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000993/0.3691, allocations: 0.607 MB / 0.6164 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007522/0.3698, allocations: 1.121 MB / 0.6174 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002701/0.3701, allocations: 257.3 kB / 0.6177 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003799/0.3705, allocations: 363.8 kB / 0.618 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.3708, allocations: 303.8 kB / 0.6183 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.3708, allocations: 14.5 kB / 0.6183 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006337/0.3715, allocations: 0.5439 MB / 0.6189 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.977e-05/0.3716, allocations: 77.7 kB / 0.6189 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.617e-05/0.3716, allocations: 114.5 kB / 0.6191 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.3721, allocations: 0.5426 MB / 0.6196 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3721, allocations: 0 / 0.6196 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.82e-07/0.3721, allocations: 0 / 0.6196 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.3721, allocations: 0 / 0.6196 GB, free: 33.88 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.0007462/0.3728, allocations: 0.7558 MB / 0.6203 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.532e-05/0.3729, allocations: 8.562 kB / 0.6203 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.832e-05/0.373, allocations: 53.41 kB / 0.6204 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.3733, allocations: 396.5 kB / 0.6208 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.3734, allocations: 18.84 kB / 0.6208 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.3734, allocations: 29.31 kB / 0.6208 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.3737, allocations: 220.2 kB / 0.621 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3737, allocations: 3.938 kB / 0.621 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.3738, allocations: 7.953 kB / 0.621 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.3738, allocations: 5.719 kB / 0.621 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.3741, allocations: 188.5 kB / 0.6212 GB, free: 32.78 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.001096/0.3752, allocations: 0.9559 MB / 0.6221 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.3754, allocations: 128.7 kB / 0.6223 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.3755, allocations: 78.16 kB / 0.6223 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.3757, allocations: 336.3 kB / 0.6227 GB, free: 31.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.3757, allocations: 42.5 kB / 0.6227 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.3757, allocations: 0 / 0.6227 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0004587/0.3762, allocations: 249.7 kB / 0.6229 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.3762, allocations: 54.25 kB / 0.623 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.3766, allocations: 475.5 kB / 0.6234 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3766, allocations: 32.55 kB / 0.6235 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.3767, allocations: 224.5 kB / 0.6237 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.3767, allocations: 54.47 kB / 0.6237 GB, free: 31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.3767, allocations: 4 kB / 0.6238 GB, free: 31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.203e-05/0.3768, allocations: 354.3 kB / 0.6241 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.3769, allocations: 69.12 kB / 0.6242 GB, free: 30.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.3771, allocations: 156.1 kB / 0.6243 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.3773, allocations: 86.75 kB / 0.6244 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3773, allocations: 3.031 kB / 0.6244 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00036/0.3776, allocations: 257.2 kB / 0.6246 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.3777, allocations: 104.4 kB / 0.6247 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3777, allocations: 4 kB / 0.6247 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.3777, allocations: 2.844 kB / 0.6247 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.3779, allocations: 52.58 kB / 0.6248 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.3779, allocations: 0 / 0.6248 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.3782, allocations: 51.78 kB / 0.6248 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.3782, allocations: 12.97 kB / 0.6249 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.839e-06/0.3782, allocations: 2.844 kB / 0.6249 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003168/0.3785, allocations: 184.5 kB / 0.625 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-06/0.3785, allocations: 2.594 kB / 0.625 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.957e-06/0.3785, allocations: 2.844 kB / 0.625 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.3787, allocations: 50.72 kB / 0.6251 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.3787, allocations: 0 / 0.6251 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.379, allocations: 54.27 kB / 0.6251 GB, free: 30.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.379, allocations: 13.69 kB / 0.6251 GB, free: 30.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.3791, allocations: 253 kB / 0.6254 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.3792, allocations: 42.5 kB / 0.6254 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004128/0.3796, allocations: 255.3 kB / 0.6257 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.3796, allocations: 3.625 kB / 0.6257 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3796, allocations: 0 / 0.6257 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3796, allocations: 0 / 0.6257 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006672/0.3803, allocations: 0.721 MB / 0.6264 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3803, allocations: 6.438 kB / 0.6264 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.3804, allocations: 29.16 kB / 0.6264 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3804, allocations: 2.844 kB / 0.6264 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3804, allocations: 2.812 kB / 0.6264 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3804, allocations: 2.562 kB / 0.6264 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3804, allocations: 6.75 kB / 0.6264 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.3808, allocations: 356 kB / 0.6268 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.77e-05/0.3809, allocations: 147.8 kB / 0.6269 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.3809, allocations: 7.188 kB / 0.6269 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.3811, allocations: 24.53 kB / 0.6269 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.3811, allocations: 16.58 kB / 0.627 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.3812, allocations: 9 kB / 0.627 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002427/0.3814, allocations: 335.1 kB / 0.6273 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3814, allocations: 2.719 kB / 0.6273 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000481/0.3819, allocations: 191.6 kB / 0.6275 GB, free: 28.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008594/0.3828, allocations: 489.3 kB / 0.6279 GB, free: 28.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000487/0.3833, allocations: 273.7 kB / 0.6282 GB, free: 28.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3833, allocations: 4 kB / 0.6282 GB, free: 28.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.3834, allocations: 94.41 kB / 0.6283 GB, free: 28.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009541/0.3844, allocations: 225.2 kB / 0.6285 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007965/0.3852, allocations: 0.8438 MB / 0.6293 GB, free: 27.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.3854, allocations: 0.826 MB / 0.6301 GB, free: 27.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000233/0.3856, allocations: 92.55 kB / 0.6302 GB, free: 27.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.3857, allocations: 34.22 kB / 0.6303 GB, free: 27.15 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.3857, allocations: 0 / 0.6303 GB, free: 27.15 MB / 0.4981 GB Notification: Performance of Templates: time 0.009955/0.3956, allocations: 8.166 MB / 0.6382 GB, free: 26.41 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)