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.001057/0.001057, allocations: 103 kB / 16.36 MB, free: 6.305 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.001123/0.001123, allocations: 189.5 kB / 17.29 MB, free: 5.875 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.29/1.29, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.737/1.737, allocations: 292.3 MB / 0.5496 GB, free: 17.39 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.00146/0.001461, allocations: 72.38 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2672, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.4639/0.7311, allocations: 17.55 MB / 0.8019 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009966/0.7411, allocations: 7.488 MB / 0.8092 GB, free: 35.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007888/0.742, allocations: 18.56 kB / 0.8093 GB, free: 35.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000975/0.7429, allocations: 254.7 kB / 0.8095 GB, free: 35.07 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.00189/0.7449, allocations: 0.608 MB / 0.8101 GB, free: 34.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.7471, allocations: 0.7094 MB / 0.8108 GB, free: 34.38 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001552/0.7486, allocations: 0.9613 MB / 0.8117 GB, free: 33.95 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006074/0.7493, allocations: 332.6 kB / 0.812 GB, free: 33.8 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007799/0.75, allocations: 411.6 kB / 0.8124 GB, free: 33.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000457/0.7505, allocations: 316.1 kB / 0.8127 GB, free: 33.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.722e-05/0.7506, allocations: 33.19 kB / 0.8128 GB, free: 33.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.7521, allocations: 0.7159 MB / 0.8135 GB, free: 33.24 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.7523, allocations: 131.5 kB / 0.8136 GB, free: 33.18 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.7525, allocations: 242.7 kB / 0.8138 GB, free: 33.03 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.7542, allocations: 0.8799 MB / 0.8147 GB, free: 32.7 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.7542, allocations: 1.219 kB / 0.8147 GB, free: 32.7 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.737e-06/0.7543, allocations: 0 / 0.8147 GB, free: 32.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.301e-05/0.7543, allocations: 0 / 0.8147 GB, free: 32.7 MB / 0.6544 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.001731/0.756, allocations: 0.8661 MB / 0.8155 GB, free: 32.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.7561, allocations: 10.09 kB / 0.8155 GB, free: 32.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.7563, allocations: 62.42 kB / 0.8156 GB, free: 32 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008374/0.7571, allocations: 472.2 kB / 0.816 GB, free: 31.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.7572, allocations: 20.44 kB / 0.8161 GB, free: 31.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/0.7572, allocations: 31.78 kB / 0.8161 GB, free: 31.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005793/0.7578, allocations: 286.3 kB / 0.8164 GB, free: 31.49 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.7578, allocations: 0 / 0.8164 GB, free: 31.49 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.7579, allocations: 10.78 kB / 0.8164 GB, free: 31.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.7579, allocations: 5.906 kB / 0.8164 GB, free: 31.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000459/0.7583, allocations: 193.9 kB / 0.8166 GB, free: 31.42 MB / 0.6544 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.001952/0.7603, allocations: 1.465 MB / 0.818 GB, free: 30.31 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.7607, allocations: 168 kB / 0.8182 GB, free: 30.24 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.7609, allocations: 83.7 kB / 0.8182 GB, free: 30.21 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/0.7623, allocations: 1.278 MB / 0.8195 GB, free: 28.98 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.7623, allocations: 34.61 kB / 0.8195 GB, free: 28.94 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.442e-06/0.7623, allocations: 1.281 kB / 0.8195 GB, free: 28.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0006413/0.763, allocations: 252 kB / 0.8198 GB, free: 28.83 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.763, allocations: 54.05 kB / 0.8198 GB, free: 28.77 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007028/0.7637, allocations: 0.5854 MB / 0.8204 GB, free: 28.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.7638, allocations: 34.7 kB / 0.8204 GB, free: 28.47 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.764, allocations: 266.3 kB / 0.8207 GB, free: 28.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.764, allocations: 54.09 kB / 0.8207 GB, free: 28.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.7641, allocations: 65.2 kB / 0.8208 GB, free: 28.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.7642, allocations: 358.9 kB / 0.8211 GB, free: 27.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.7644, allocations: 79.62 kB / 0.8212 GB, free: 27.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.7647, allocations: 217.6 kB / 0.8214 GB, free: 27.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/0.7651, allocations: 234.9 kB / 0.8216 GB, free: 27.49 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7651, allocations: 0 / 0.8216 GB, free: 27.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006032/0.7657, allocations: 320.2 kB / 0.8219 GB, free: 27.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.7657, allocations: 11.78 kB / 0.822 GB, free: 27.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.7657, allocations: 2.438 kB / 0.822 GB, free: 27.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.7658, allocations: 4.469 kB / 0.822 GB, free: 27.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.766, allocations: 60.95 kB / 0.822 GB, free: 27.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.766, allocations: 3.641 kB / 0.822 GB, free: 27.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.7664, allocations: 45.28 kB / 0.8221 GB, free: 27.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.7664, allocations: 13.3 kB / 0.8221 GB, free: 27.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003032/0.7667, allocations: 218.1 kB / 0.8223 GB, free: 27.19 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000258/0.767, allocations: 205.6 kB / 0.8225 GB, free: 27.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003573/0.7674, allocations: 237.8 kB / 0.8227 GB, free: 26.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.805e-06/0.7674, allocations: 1.062 kB / 0.8227 GB, free: 26.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005696/0.768, allocations: 304.8 kB / 0.823 GB, free: 26.74 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.768, allocations: 15.08 kB / 0.823 GB, free: 26.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.768, allocations: 2.938 kB / 0.823 GB, free: 26.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.811e-06/0.768, allocations: 4.75 kB / 0.823 GB, free: 26.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.7682, allocations: 59.47 kB / 0.8231 GB, free: 26.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.7682, allocations: 9.031 kB / 0.8231 GB, free: 26.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.7686, allocations: 40.58 kB / 0.8231 GB, free: 26.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.7686, allocations: 12.92 kB / 0.8231 GB, free: 26.71 MB / 0.6544 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 8.865e-05/0.7687, allocations: 200.1 kB / 0.8233 GB, free: 26.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.863e-05/0.7688, allocations: 53.22 kB / 0.8234 GB, free: 26.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005596/0.7694, allocations: 250 kB / 0.8236 GB, free: 26.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.7694, allocations: 5.047 kB / 0.8236 GB, free: 26.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7694, allocations: 0.5625 kB / 0.8236 GB, free: 26.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.7694, allocations: 0.6094 kB / 0.8236 GB, free: 26.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.7704, allocations: 0.7464 MB / 0.8244 GB, free: 25.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.7705, allocations: 1.281 kB / 0.8244 GB, free: 25.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.7706, allocations: 30.48 kB / 0.8244 GB, free: 25.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.7706, allocations: 1.562 kB / 0.8244 GB, free: 25.89 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.7706, allocations: 3.125 kB / 0.8244 GB, free: 25.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.7706, allocations: 9.859 kB / 0.8244 GB, free: 25.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.7706, allocations: 1.281 kB / 0.8244 GB, free: 25.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.7711, allocations: 360.6 kB / 0.8247 GB, free: 25.63 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.7712, allocations: 141.8 kB / 0.8249 GB, free: 25.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.157e-05/0.7713, allocations: 7.344 kB / 0.8249 GB, free: 25.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.7715, allocations: 9.984 kB / 0.8249 GB, free: 25.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/0.7716, allocations: 20.58 kB / 0.8249 GB, free: 25.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.7716, allocations: 7.141 kB / 0.8249 GB, free: 25.49 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005097/0.7721, allocations: 419.2 kB / 0.8253 GB, free: 25.31 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7721, allocations: 0 / 0.8253 GB, free: 25.31 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000964/0.7731, allocations: 230 kB / 0.8255 GB, free: 25.27 MB / 0.6544 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.001283/0.7744, allocations: 0.4903 MB / 0.826 GB, free: 25.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008881/0.7753, allocations: 322.5 kB / 0.8263 GB, free: 25.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7753, allocations: 0 / 0.8263 GB, free: 25.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.7755, allocations: 90.95 kB / 0.8264 GB, free: 24.99 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.7769, allocations: 249.1 kB / 0.8267 GB, free: 24.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.7785, allocations: 0.8377 MB / 0.8275 GB, free: 24.44 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.7788, allocations: 0.8436 MB / 0.8283 GB, free: 23.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.7789, allocations: 39.94 kB / 0.8283 GB, free: 23.72 MB / 0.6544 GB Notification: Performance of SimCode: time 7.92e-07/0.779, allocations: 0 / 0.8283 GB, free: 23.72 MB / 0.6544 GB Notification: Performance of Templates: time 0.01798/0.7969, allocations: 8.546 MB / 0.8367 GB, free: 22.87 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)