Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001085/0.001085, allocations: 102.5 kB / 15.98 MB, free: 6.359 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.001094/0.001094, allocations: 197 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.1 MB / 222.8 MB, free: 4.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 292.3 MB / 0.5492 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 68.25 kB / 0.6716 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2327, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01933/0.252, allocations: 17.46 MB / 0.8006 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01061/0.2627, allocations: 7.525 MB / 0.8079 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007023/0.2634, allocations: 15.88 kB / 0.8079 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009045/0.2644, allocations: 218.9 kB / 0.8081 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.266, allocations: 0.5522 MB / 0.8087 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.2678, allocations: 0.6657 MB / 0.8093 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001182/0.269, allocations: 0.9585 MB / 0.8103 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004556/0.2695, allocations: 325 kB / 0.8106 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00065/0.2701, allocations: 426.2 kB / 0.811 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003802/0.2705, allocations: 314.6 kB / 0.8113 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.312e-05/0.2706, allocations: 28 kB / 0.8113 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.2718, allocations: 0.7212 MB / 0.812 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.2719, allocations: 135.5 kB / 0.8121 GB, free: 488 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.2722, allocations: 238.7 kB / 0.8124 GB, free: 248 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008441/0.273, allocations: 0.6276 MB / 0.813 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.273, allocations: 4 kB / 0.813 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.553e-06/0.273, allocations: 3.938 kB / 0.813 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.273, allocations: 0 / 0.813 GB, free: 15.61 MB / 0.6387 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.001196/0.2743, allocations: 0.8796 MB / 0.8139 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.2743, allocations: 8.031 kB / 0.8139 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.2745, allocations: 60.28 kB / 0.8139 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.275, allocations: 449.2 kB / 0.8143 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.275, allocations: 24.56 kB / 0.8144 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/0.2751, allocations: 28 kB / 0.8144 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005131/0.2756, allocations: 290.2 kB / 0.8147 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2756, allocations: 0 / 0.8147 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.2757, allocations: 8 kB / 0.8147 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.2757, allocations: 12 kB / 0.8147 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.2761, allocations: 186.1 kB / 0.8149 GB, free: 13.57 MB / 0.6387 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.001761/0.2779, allocations: 1.476 MB / 0.8163 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.2782, allocations: 162.8 kB / 0.8165 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.2784, allocations: 88.8 kB / 0.8165 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/0.28, allocations: 1.276 MB / 0.8178 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.28, allocations: 38.56 kB / 0.8178 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.28, allocations: 0 / 0.8178 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.0006081/0.2806, allocations: 252.1 kB / 0.8181 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.2807, allocations: 55.41 kB / 0.8181 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006097/0.2813, allocations: 0.5808 MB / 0.8187 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.2813, allocations: 29.7 kB / 0.8187 GB, free: 9.262 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.2815, allocations: 272.1 kB / 0.819 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.2816, allocations: 51.3 kB / 0.819 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.2817, allocations: 69.88 kB / 0.8191 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2819, allocations: 358.8 kB / 0.8194 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.282, allocations: 77.94 kB / 0.8195 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.2823, allocations: 210.4 kB / 0.8197 GB, free: 8.176 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.2827, allocations: 239.9 kB / 0.8199 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2828, allocations: 0 / 0.8199 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005819/0.2833, allocations: 316.7 kB / 0.8202 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.2834, allocations: 8 kB / 0.8203 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2834, allocations: 256 / 0.8203 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2834, allocations: 8 kB / 0.8203 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.2837, allocations: 63.89 kB / 0.8203 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.2837, allocations: 4 kB / 0.8203 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.284, allocations: 47.58 kB / 0.8204 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.2841, allocations: 19.98 kB / 0.8204 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002974/0.2844, allocations: 212.1 kB / 0.8206 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002683/0.2846, allocations: 206.3 kB / 0.8208 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003584/0.285, allocations: 236 kB / 0.821 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.285, allocations: 3.938 kB / 0.821 GB, free: 6.719 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005518/0.2856, allocations: 304.9 kB / 0.8213 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.2856, allocations: 11.97 kB / 0.8213 GB, free: 6.402 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2856, allocations: 4 kB / 0.8213 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.019e-06/0.2856, allocations: 4 kB / 0.8213 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.2858, allocations: 63.91 kB / 0.8214 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2859, allocations: 4 kB / 0.8214 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.2862, allocations: 39.81 kB / 0.8214 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.2862, allocations: 23.98 kB / 0.8215 GB, free: 6.266 MB / 0.6387 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 0.0001208/0.2864, allocations: 204.1 kB / 0.8216 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.656e-05/0.2864, allocations: 51.28 kB / 0.8217 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005313/0.287, allocations: 256.7 kB / 0.8219 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.287, allocations: 4 kB / 0.8219 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.287, allocations: 4 kB / 0.8219 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.287, allocations: 0 / 0.8219 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.288, allocations: 0.7355 MB / 0.8227 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.2881, allocations: 4 kB / 0.8227 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.2882, allocations: 36.05 kB / 0.8227 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2882, allocations: 0 / 0.8227 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.2882, allocations: 7.984 kB / 0.8227 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2882, allocations: 0 / 0.8227 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.2882, allocations: 4 kB / 0.8227 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004682/0.2887, allocations: 365 kB / 0.8231 GB, free: 4.508 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.2889, allocations: 148.3 kB / 0.8232 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.857e-05/0.2889, allocations: 4 kB / 0.8232 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.2891, allocations: 11.98 kB / 0.8232 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.2892, allocations: 23.92 kB / 0.8232 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.2892, allocations: 4 kB / 0.8232 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004313/0.2897, allocations: 422.8 kB / 0.8237 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2897, allocations: 0 / 0.8237 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007149/0.2904, allocations: 223.6 kB / 0.8239 GB, free: 3.672 MB / 0.6387 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.001059/0.2915, allocations: 0.503 MB / 0.8244 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007311/0.2922, allocations: 327.8 kB / 0.8247 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2922, allocations: 0 / 0.8247 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.2924, allocations: 83.89 kB / 0.8247 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.2936, allocations: 255.5 kB / 0.825 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.295, allocations: 0.9905 MB / 0.826 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.2954, allocations: 0.8467 MB / 0.8268 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.359e-05/0.2955, allocations: 43.42 kB / 0.8268 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of SimCode: time 3.31e-07/0.2955, allocations: 0 / 0.8268 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of Templates: time 0.01197/0.3075, allocations: 8.527 MB / 0.8352 GB, free: 8.266 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)