Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009815/0.0009816, allocations: 101.4 kB / 15.06 MB, free: 1.094 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.0009889/0.0009889, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.4 MB / 222.1 MB, free: 5.68 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.717/1.717, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.000546/0.000546, allocations: 20.78 kB / 0.6735 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2572, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01329/0.2705, allocations: 13.26 MB / 0.8001 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008997/0.2796, allocations: 6.339 MB / 0.8063 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000547/0.2802, allocations: 19.75 kB / 0.8063 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.2813, allocations: 346.6 kB / 0.8066 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.2827, allocations: 0.6036 MB / 0.8072 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004728/0.2875, allocations: 1.857 MB / 0.809 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001092/0.2886, allocations: 0.6287 MB / 0.8096 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004203/0.289, allocations: 262.5 kB / 0.8099 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005622/0.2896, allocations: 342.8 kB / 0.8102 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.2899, allocations: 223 kB / 0.8104 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.2899, allocations: 12 kB / 0.8104 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000913/0.2908, allocations: 387.4 kB / 0.8108 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 9.597e-05/0.291, allocations: 79.66 kB / 0.8109 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 8.744e-05/0.291, allocations: 105.5 kB / 0.811 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00064/0.2917, allocations: 486.8 kB / 0.8114 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2917, allocations: 4 kB / 0.8114 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2917, allocations: 0 / 0.8114 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.2917, allocations: 0 / 0.8114 GB, free: 3.008 MB / 0.6231 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.001143/0.2929, allocations: 0.7201 MB / 0.8121 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2929, allocations: 12.03 kB / 0.8122 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.867e-05/0.293, allocations: 59.33 kB / 0.8122 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005935/0.2936, allocations: 400.9 kB / 0.8126 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.2937, allocations: 20.44 kB / 0.8126 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.2937, allocations: 28 kB / 0.8126 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.2941, allocations: 211.2 kB / 0.8128 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.2941, allocations: 3.938 kB / 0.8128 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.2942, allocations: 8 kB / 0.8129 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.2942, allocations: 12 kB / 0.8129 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003681/0.2946, allocations: 169.6 kB / 0.813 GB, free: 1.285 MB / 0.6231 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.001576/0.2961, allocations: 0.9496 MB / 0.814 GB, free: 264 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.2965, allocations: 142.5 kB / 0.8141 GB, free: 112 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004591/0.2969, allocations: 340.4 kB / 0.8144 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.297, allocations: 34.56 kB / 0.8144 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.297, allocations: 0 / 0.8144 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.0006281/0.2976, allocations: 252.3 kB / 0.8147 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.2977, allocations: 55.41 kB / 0.8147 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004898/0.2982, allocations: 465.9 kB / 0.8152 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.2982, allocations: 29.7 kB / 0.8152 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.2984, allocations: 232.6 kB / 0.8154 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.2984, allocations: 47.36 kB / 0.8155 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.2985, allocations: 4 kB / 0.8155 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2986, allocations: 354.8 kB / 0.8158 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.2988, allocations: 79.75 kB / 0.8159 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.299, allocations: 143.7 kB / 0.816 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.2992, allocations: 94.7 kB / 0.8161 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2992, allocations: 0 / 0.8161 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004483/0.2997, allocations: 260.8 kB / 0.8164 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001891/0.2999, allocations: 275 kB / 0.8166 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.2999, allocations: 0 / 0.8166 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.2999, allocations: 0 / 0.8166 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.3001, allocations: 55.91 kB / 0.8167 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.3002, allocations: 3.953 kB / 0.8167 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/0.3005, allocations: 43.81 kB / 0.8167 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.3005, allocations: 8 kB / 0.8167 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/0.3005, allocations: 4 kB / 0.8167 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004437/0.301, allocations: 194.7 kB / 0.8169 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-06/0.301, allocations: 0 / 0.8169 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.958e-06/0.301, allocations: 4 kB / 0.8169 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.3012, allocations: 51.91 kB / 0.817 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.3012, allocations: 0 / 0.817 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.3015, allocations: 43.81 kB / 0.817 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.3015, allocations: 15.94 kB / 0.817 GB, free: 12.91 MB / 0.6387 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.0001887/0.3017, allocations: 241.6 kB / 0.8173 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.3018, allocations: 47.42 kB / 0.8173 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005243/0.3023, allocations: 257 kB / 0.8176 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.3023, allocations: 4 kB / 0.8176 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3023, allocations: 0 / 0.8176 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3023, allocations: 3.984 kB / 0.8176 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.3034, allocations: 0.7124 MB / 0.8183 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.3034, allocations: 7.984 kB / 0.8183 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.3036, allocations: 40.05 kB / 0.8183 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3036, allocations: 0 / 0.8183 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.3036, allocations: 4 kB / 0.8183 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.3036, allocations: 4 kB / 0.8183 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3036, allocations: 0 / 0.8183 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/0.3041, allocations: 401.1 kB / 0.8187 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.3043, allocations: 148.6 kB / 0.8188 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.3043, allocations: 4 kB / 0.8188 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.3045, allocations: 20.08 kB / 0.8189 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.3046, allocations: 23.89 kB / 0.8189 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.3046, allocations: 12 kB / 0.8189 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003257/0.305, allocations: 326.9 kB / 0.8192 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.61e-07/0.305, allocations: 0 / 0.8192 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006243/0.3056, allocations: 195.7 kB / 0.8194 GB, free: 10.33 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 (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.00109/0.3067, allocations: 489.9 kB / 0.8199 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006422/0.3073, allocations: 279.6 kB / 0.8201 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3074, allocations: 0 / 0.8201 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.3075, allocations: 83.89 kB / 0.8202 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.3087, allocations: 227.1 kB / 0.8204 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.31, allocations: 0.8309 MB / 0.8212 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.3104, allocations: 0.8311 MB / 0.8221 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002694/0.3107, allocations: 87.77 kB / 0.8221 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.828e-05/0.3108, allocations: 43.42 kB / 0.8222 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.3108, allocations: 0 / 0.8222 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of Templates: time 0.01357/0.3244, allocations: 8.115 MB / 0.8301 GB, free: 15.57 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) Environment - environmentSimulation: