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.001063/0.001063, allocations: 106.8 kB / 16.37 MB, free: 6.012 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.001258/0.001258, allocations: 195.2 kB / 17.31 MB, free: 5.613 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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.17 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.821/0.821, allocations: 143 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.91 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3232, allocations: 82.03 MB / 0.5957 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01137/0.3346, allocations: 15.53 MB / 0.6109 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00581/0.3404, allocations: 4.328 MB / 0.6151 GB, free: 12.28 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003702/0.3408, allocations: 21.5 kB / 0.6151 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007942/0.3417, allocations: 258.4 kB / 0.6154 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.3429, allocations: 0.6046 MB / 0.616 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.3445, allocations: 0.7176 MB / 0.6167 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.3457, allocations: 1.033 MB / 0.6177 GB, free: 9.672 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005376/0.3462, allocations: 351.8 kB / 0.618 GB, free: 9.34 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006414/0.3469, allocations: 424.1 kB / 0.6184 GB, free: 8.926 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.3473, allocations: 314.5 kB / 0.6187 GB, free: 8.617 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.21e-05/0.3474, allocations: 28 kB / 0.6187 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.3484, allocations: 0.6362 MB / 0.6193 GB, free: 7.953 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.3486, allocations: 96.52 kB / 0.6194 GB, free: 7.859 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.3488, allocations: 222.8 kB / 0.6197 GB, free: 7.641 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009584/0.3497, allocations: 0.7846 MB / 0.6204 GB, free: 6.855 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3497, allocations: 0.5 kB / 0.6204 GB, free: 6.855 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3498, allocations: 0.9375 kB / 0.6204 GB, free: 6.855 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.3498, allocations: 4 kB / 0.6204 GB, free: 6.852 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.00119/0.351, allocations: 0.835 MB / 0.6212 GB, free: 5.969 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.351, allocations: 12.53 kB / 0.6213 GB, free: 5.957 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.3511, allocations: 48.38 kB / 0.6213 GB, free: 5.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006556/0.3518, allocations: 445.1 kB / 0.6217 GB, free: 5.441 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.3518, allocations: 20.44 kB / 0.6217 GB, free: 5.422 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.3519, allocations: 25.03 kB / 0.6218 GB, free: 5.398 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.3523, allocations: 215.8 kB / 0.622 GB, free: 5.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3523, allocations: 0 / 0.622 GB, free: 5.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.3523, allocations: 4.781 kB / 0.622 GB, free: 5.176 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.3523, allocations: 8 kB / 0.622 GB, free: 5.168 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.3527, allocations: 163.2 kB / 0.6221 GB, free: 5.012 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.001538/0.3543, allocations: 0.9566 MB / 0.6231 GB, free: 3.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.3545, allocations: 134.6 kB / 0.6232 GB, free: 3.84 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.3547, allocations: 68.81 kB / 0.6233 GB, free: 3.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002634/0.355, allocations: 336.5 kB / 0.6236 GB, free: 3.367 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.355, allocations: 34.53 kB / 0.6236 GB, free: 3.328 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.355, allocations: 0 / 0.6236 GB, free: 3.328 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005762/0.3556, allocations: 241 kB / 0.6239 GB, free: 3.086 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.3556, allocations: 55.41 kB / 0.6239 GB, free: 3.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004802/0.3561, allocations: 478 kB / 0.6244 GB, free: 2.543 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.3562, allocations: 29.11 kB / 0.6244 GB, free: 2.512 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.3563, allocations: 236.5 kB / 0.6246 GB, free: 2.273 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.3564, allocations: 43.3 kB / 0.6247 GB, free: 2.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.694e-05/0.3565, allocations: 69.45 kB / 0.6247 GB, free: 2.156 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3566, allocations: 354.7 kB / 0.6251 GB, free: 1.801 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.3568, allocations: 72.81 kB / 0.6251 GB, free: 1.727 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.357, allocations: 155.4 kB / 0.6253 GB, free: 1.551 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.3574, allocations: 160.5 kB / 0.6254 GB, free: 1.387 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3574, allocations: 4 kB / 0.6254 GB, free: 1.383 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004671/0.3578, allocations: 245 kB / 0.6257 GB, free: 1.137 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3579, allocations: 10.64 kB / 0.6257 GB, free: 1.129 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3579, allocations: 8 kB / 0.6257 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3579, allocations: 0 / 0.6257 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.3581, allocations: 47.91 kB / 0.6257 GB, free: 1.074 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3581, allocations: 0 / 0.6257 GB, free: 1.074 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.3584, allocations: 39.67 kB / 0.6258 GB, free: 1.035 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.3585, allocations: 15.98 kB / 0.6258 GB, free: 1.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002465/0.3587, allocations: 184.1 kB / 0.626 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002124/0.3589, allocations: 165.2 kB / 0.6261 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003039/0.3593, allocations: 172.1 kB / 0.6263 GB, free: 468 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.163e-06/0.3593, allocations: 0 / 0.6263 GB, free: 468 kB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004564/0.3597, allocations: 256.3 kB / 0.6265 GB, free: 208 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.146e-06/0.3597, allocations: 4 kB / 0.6265 GB, free: 204 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.3598, allocations: 4 kB / 0.6265 GB, free: 200 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-06/0.3598, allocations: 0 / 0.6265 GB, free: 200 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.36, allocations: 55.97 kB / 0.6266 GB, free: 144 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.36, allocations: 0 / 0.6266 GB, free: 144 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.3603, allocations: 31.88 kB / 0.6266 GB, free: 112 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.3603, allocations: 8 kB / 0.6266 GB, free: 104 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.0001291/0.3604, allocations: 200.1 kB / 0.6268 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.3605, allocations: 43.44 kB / 0.6269 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000525/0.3611, allocations: 254 kB / 0.6271 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.3611, allocations: 7.984 kB / 0.6271 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3611, allocations: 3.938 kB / 0.6271 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3611, allocations: 0 / 0.6271 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000899/0.362, allocations: 0.7005 MB / 0.6278 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.362, allocations: 4 kB / 0.6278 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.3621, allocations: 27.98 kB / 0.6278 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3621, allocations: 4 kB / 0.6278 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.3622, allocations: 11.98 kB / 0.6278 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.3622, allocations: 3.938 kB / 0.6278 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-05/0.3622, allocations: 7.938 kB / 0.6279 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/0.3626, allocations: 334.4 kB / 0.6282 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.3628, allocations: 140.4 kB / 0.6283 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/0.3628, allocations: 4 kB / 0.6283 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.363, allocations: 23.92 kB / 0.6283 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.3631, allocations: 15.92 kB / 0.6283 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.3631, allocations: 8 kB / 0.6284 GB, free: 14.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003372/0.3635, allocations: 330.9 kB / 0.6287 GB, free: 13.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3635, allocations: 0 / 0.6287 GB, free: 13.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006016/0.3641, allocations: 199.7 kB / 0.6289 GB, free: 13.69 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.001056/0.3651, allocations: 490.8 kB / 0.6293 GB, free: 13.37 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006434/0.3658, allocations: 267.7 kB / 0.6296 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3658, allocations: 0 / 0.6296 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.366, allocations: 83.89 kB / 0.6297 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009107/0.3669, allocations: 210.1 kB / 0.6299 GB, free: 12.83 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.3681, allocations: 0.6973 MB / 0.6305 GB, free: 12.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.3685, allocations: 0.823 MB / 0.6313 GB, free: 11.25 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002341/0.3687, allocations: 102.1 kB / 0.6314 GB, free: 11.15 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.903e-05/0.3688, allocations: 39.42 kB / 0.6315 GB, free: 11.11 MB / 478.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3688, allocations: 0 / 0.6315 GB, free: 11.11 MB / 478.1 MB Notification: Performance of Templates: time 0.01469/0.3835, allocations: 8.578 MB / 0.6399 GB, free: 2.684 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 gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)