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.001332/0.001332, allocations: 109.7 kB / 16.37 MB, free: 6.473 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.001335/0.001335, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.8328/0.8328, allocations: 143.1 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.91 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.352, allocations: 82.04 MB / 0.5957 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0125/0.3646, allocations: 15.53 MB / 0.6109 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006517/0.3711, allocations: 4.333 MB / 0.6151 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004968/0.3717, allocations: 17.22 kB / 0.6151 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009736/0.3727, allocations: 266.3 kB / 0.6154 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.3742, allocations: 0.6086 MB / 0.616 GB, free: 11.4 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.376, allocations: 0.701 MB / 0.6167 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.3774, allocations: 1.042 MB / 0.6177 GB, free: 9.672 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005132/0.378, allocations: 339.7 kB / 0.618 GB, free: 9.352 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007312/0.3787, allocations: 419.9 kB / 0.6184 GB, free: 8.941 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004187/0.3791, allocations: 327.4 kB / 0.6187 GB, free: 8.621 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/0.3792, allocations: 24 kB / 0.6187 GB, free: 8.598 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.3804, allocations: 0.633 MB / 0.6193 GB, free: 7.965 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.3805, allocations: 95.61 kB / 0.6194 GB, free: 7.871 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.3807, allocations: 226.7 kB / 0.6197 GB, free: 7.648 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009908/0.3817, allocations: 0.7846 MB / 0.6204 GB, free: 6.863 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3817, allocations: 0.5 kB / 0.6204 GB, free: 6.863 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3817, allocations: 0.9375 kB / 0.6204 GB, free: 6.863 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.3817, allocations: 0 / 0.6204 GB, free: 6.863 MB / 462.1 MB 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.001389/0.3831, allocations: 0.8357 MB / 0.6212 GB, free: 5.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3832, allocations: 11.97 kB / 0.6213 GB, free: 5.969 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.3833, allocations: 52.38 kB / 0.6213 GB, free: 5.918 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006636/0.384, allocations: 436.4 kB / 0.6217 GB, free: 5.457 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.384, allocations: 20.97 kB / 0.6217 GB, free: 5.438 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.3841, allocations: 28.78 kB / 0.6218 GB, free: 5.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/0.3845, allocations: 212.4 kB / 0.622 GB, free: 5.195 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3845, allocations: 0 / 0.622 GB, free: 5.195 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.3845, allocations: 8 kB / 0.622 GB, free: 5.188 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.3845, allocations: 4.844 kB / 0.622 GB, free: 5.184 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.3849, allocations: 170.1 kB / 0.6221 GB, free: 5.02 MB / 462.1 MB 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.001632/0.3866, allocations: 0.951 MB / 0.6231 GB, free: 3.992 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.3868, allocations: 129.9 kB / 0.6232 GB, free: 3.859 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.387, allocations: 72.81 kB / 0.6233 GB, free: 3.785 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/0.3873, allocations: 336.5 kB / 0.6236 GB, free: 3.383 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.3873, allocations: 38.55 kB / 0.6236 GB, free: 3.336 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.3873, allocations: 2.875 kB / 0.6236 GB, free: 3.336 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005809/0.3879, allocations: 239.3 kB / 0.6239 GB, free: 3.098 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.388, allocations: 55.41 kB / 0.6239 GB, free: 3.031 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004748/0.3884, allocations: 474 kB / 0.6244 GB, free: 2.559 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.3885, allocations: 33.55 kB / 0.6244 GB, free: 2.523 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.3887, allocations: 228.5 kB / 0.6246 GB, free: 2.293 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.3887, allocations: 47.36 kB / 0.6247 GB, free: 2.246 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.552e-05/0.3888, allocations: 65.45 kB / 0.6247 GB, free: 2.176 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.3889, allocations: 354.7 kB / 0.6251 GB, free: 1.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.3891, allocations: 68.81 kB / 0.6251 GB, free: 1.75 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.3894, allocations: 161.8 kB / 0.6253 GB, free: 1.566 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.3897, allocations: 154.5 kB / 0.6254 GB, free: 1.406 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3897, allocations: 0 / 0.6254 GB, free: 1.406 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005309/0.3902, allocations: 263.2 kB / 0.6257 GB, free: 1.145 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3903, allocations: 4 kB / 0.6257 GB, free: 1.141 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3903, allocations: 0 / 0.6257 GB, free: 1.141 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3903, allocations: 7.938 kB / 0.6257 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.3905, allocations: 43.97 kB / 0.6257 GB, free: 1.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3905, allocations: 4 kB / 0.6257 GB, free: 1.086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.3908, allocations: 43.66 kB / 0.6258 GB, free: 1.043 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.3909, allocations: 8 kB / 0.6258 GB, free: 1.035 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002662/0.3911, allocations: 192.1 kB / 0.626 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002424/0.3914, allocations: 161.2 kB / 0.6261 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003121/0.3917, allocations: 178.6 kB / 0.6263 GB, free: 476 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.3917, allocations: 0 / 0.6263 GB, free: 476 kB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004676/0.3922, allocations: 253 kB / 0.6265 GB, free: 216 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.903e-06/0.3922, allocations: 8 kB / 0.6265 GB, free: 208 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-06/0.3922, allocations: 0 / 0.6265 GB, free: 208 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.328e-06/0.3922, allocations: 4 kB / 0.6265 GB, free: 204 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.3924, allocations: 43.97 kB / 0.6266 GB, free: 160 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3924, allocations: 0 / 0.6266 GB, free: 160 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.3927, allocations: 39.81 kB / 0.6266 GB, free: 120 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.3928, allocations: 11.98 kB / 0.6266 GB, free: 108 kB / 462.1 MB 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.0001217/0.3929, allocations: 196.5 kB / 0.6268 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.668e-05/0.393, allocations: 43.44 kB / 0.6269 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005372/0.3935, allocations: 256.4 kB / 0.6271 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.3936, allocations: 4 kB / 0.6271 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3936, allocations: 0 / 0.6271 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3936, allocations: 0 / 0.6271 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.3946, allocations: 0.7044 MB / 0.6278 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3946, allocations: 0 / 0.6278 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.3947, allocations: 31.97 kB / 0.6278 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.3947, allocations: 4 kB / 0.6278 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.3948, allocations: 8.062 kB / 0.6278 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.3948, allocations: 7.938 kB / 0.6278 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.3948, allocations: 0 / 0.6278 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.3952, allocations: 338.3 kB / 0.6282 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.3954, allocations: 144.4 kB / 0.6283 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.3954, allocations: 4 kB / 0.6283 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.3957, allocations: 15.92 kB / 0.6283 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.3957, allocations: 15.92 kB / 0.6283 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.3957, allocations: 11.98 kB / 0.6283 GB, free: 14.22 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003425/0.3961, allocations: 338.9 kB / 0.6287 GB, free: 13.89 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3961, allocations: 4 kB / 0.6287 GB, free: 13.89 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006965/0.3968, allocations: 195.7 kB / 0.6289 GB, free: 13.7 MB / 478.1 MB 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.001038/0.3978, allocations: 489.2 kB / 0.6293 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006025/0.3985, allocations: 267.9 kB / 0.6296 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3985, allocations: 0 / 0.6296 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.3987, allocations: 84.02 kB / 0.6297 GB, free: 13.03 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000943/0.3996, allocations: 206.5 kB / 0.6299 GB, free: 12.84 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.4008, allocations: 0.6973 MB / 0.6305 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.4014, allocations: 0.8309 MB / 0.6314 GB, free: 11.25 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002646/0.4017, allocations: 84.94 kB / 0.6314 GB, free: 11.17 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.198e-05/0.4017, allocations: 43.42 kB / 0.6315 GB, free: 11.12 MB / 478.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4017, allocations: 0 / 0.6315 GB, free: 11.12 MB / 478.1 MB Notification: Performance of Templates: time 0.01417/0.4159, allocations: 8.569 MB / 0.6398 GB, free: 2.715 MB / 478.1 MB 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)