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.001556/0.001556, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.655/1.655, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.792/1.792, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001848/0.001848, allocations: 69.2 kB / 0.6715 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.338, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01792/0.356, allocations: 15.7 MB / 0.7987 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01163/0.3677, allocations: 7.054 MB / 0.8056 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.3688, allocations: 27.81 kB / 0.8056 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.37, allocations: 258.3 kB / 0.8059 GB, free: 6.359 MB / 0.6231 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.002238/0.3723, allocations: 0.6024 MB / 0.8064 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.3747, allocations: 0.6825 MB / 0.8071 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001464/0.3762, allocations: 1.028 MB / 0.8081 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006325/0.3768, allocations: 327.8 kB / 0.8084 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007404/0.3776, allocations: 406.4 kB / 0.8088 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004529/0.378, allocations: 314.6 kB / 0.8091 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/0.3781, allocations: 28 kB / 0.8091 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.3794, allocations: 0.62 MB / 0.8098 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.3795, allocations: 95.61 kB / 0.8098 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002498/0.3798, allocations: 230.7 kB / 0.8101 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.381, allocations: 0.7555 MB / 0.8108 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.381, allocations: 0 / 0.8108 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.214e-06/0.381, allocations: 0 / 0.8108 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.381, allocations: 0 / 0.8108 GB, free: 1.293 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.001254/0.3823, allocations: 0.8174 MB / 0.8116 GB, free: 436 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.3823, allocations: 12.03 kB / 0.8116 GB, free: 424 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.3825, allocations: 56.22 kB / 0.8117 GB, free: 368 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005709/0.383, allocations: 413.2 kB / 0.8121 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.3831, allocations: 20.44 kB / 0.8121 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.3831, allocations: 28 kB / 0.8121 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/0.3836, allocations: 215.2 kB / 0.8123 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3836, allocations: 0 / 0.8123 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.3837, allocations: 12 kB / 0.8123 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.3837, allocations: 8 kB / 0.8123 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003814/0.3841, allocations: 165.6 kB / 0.8125 GB, free: 15.47 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.0016/0.3857, allocations: 0.9457 MB / 0.8134 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.386, allocations: 126.6 kB / 0.8135 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.3862, allocations: 84.75 kB / 0.8136 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003163/0.3865, allocations: 336.4 kB / 0.8139 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.3865, allocations: 34.56 kB / 0.814 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.3865, allocations: 0 / 0.814 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.000637/0.3872, allocations: 241 kB / 0.8142 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.3872, allocations: 55.41 kB / 0.8142 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005021/0.3877, allocations: 470 kB / 0.8147 GB, free: 13 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.3878, allocations: 29.7 kB / 0.8147 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.388, allocations: 224.6 kB / 0.8149 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.388, allocations: 59.27 kB / 0.815 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.11e-05/0.3881, allocations: 61.55 kB / 0.8151 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3883, allocations: 350.7 kB / 0.8154 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.3885, allocations: 80.75 kB / 0.8155 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.3887, allocations: 158.6 kB / 0.8156 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.3891, allocations: 161 kB / 0.8158 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3891, allocations: 0 / 0.8158 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005224/0.3896, allocations: 253 kB / 0.816 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.3897, allocations: 4 kB / 0.816 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3897, allocations: 3.938 kB / 0.816 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.3897, allocations: 4 kB / 0.816 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.3899, allocations: 43.97 kB / 0.8161 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.3899, allocations: 4 kB / 0.8161 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.3902, allocations: 39.72 kB / 0.8161 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.3903, allocations: 8 kB / 0.8161 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002805/0.3906, allocations: 192.7 kB / 0.8163 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002442/0.3908, allocations: 165.3 kB / 0.8165 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003216/0.3911, allocations: 160.3 kB / 0.8166 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.213e-06/0.3912, allocations: 0 / 0.8166 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005028/0.3917, allocations: 264 kB / 0.8169 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.3917, allocations: 8 kB / 0.8169 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-06/0.3917, allocations: 0 / 0.8169 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-06/0.3917, allocations: 4 kB / 0.8169 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.3919, allocations: 43.91 kB / 0.8169 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3919, allocations: 7.938 kB / 0.8169 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/0.3922, allocations: 39.88 kB / 0.817 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.3923, allocations: 15.98 kB / 0.817 GB, free: 10.55 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.3924, allocations: 188.2 kB / 0.8172 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-05/0.3925, allocations: 43.44 kB / 0.8172 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005455/0.393, allocations: 252 kB / 0.8174 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.393, allocations: 7.984 kB / 0.8174 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3931, allocations: 0 / 0.8174 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.3931, allocations: 0 / 0.8174 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.3941, allocations: 0.6927 MB / 0.8181 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.3941, allocations: 8.125 kB / 0.8181 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.3942, allocations: 23.98 kB / 0.8181 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3942, allocations: 11.88 kB / 0.8182 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.3943, allocations: 4 kB / 0.8182 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3943, allocations: 4 kB / 0.8182 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.3943, allocations: 0 / 0.8182 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/0.3948, allocations: 346.2 kB / 0.8185 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.3949, allocations: 132.6 kB / 0.8186 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.89e-05/0.395, allocations: 8.125 kB / 0.8186 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.3952, allocations: 19.92 kB / 0.8187 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.995e-05/0.3953, allocations: 19.91 kB / 0.8187 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.3953, allocations: 8 kB / 0.8187 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003912/0.3957, allocations: 330.9 kB / 0.819 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3957, allocations: 3.938 kB / 0.819 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000726/0.3964, allocations: 199.6 kB / 0.8192 GB, free: 8.148 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 (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.001297/0.3978, allocations: 471.7 kB / 0.8196 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006823/0.3984, allocations: 271.7 kB / 0.8199 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3985, allocations: 128 / 0.8199 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.3987, allocations: 95.77 kB / 0.82 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.3997, allocations: 227.1 kB / 0.8202 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.401, allocations: 0.7012 MB / 0.8209 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.4014, allocations: 0.823 MB / 0.8217 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002809/0.4017, allocations: 87.19 kB / 0.8218 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.4018, allocations: 39.42 kB / 0.8218 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of SimCode: time 5.11e-07/0.4018, allocations: 0 / 0.8218 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of Templates: time 0.01746/0.4192, allocations: 8.546 MB / 0.8302 GB, free: 13.12 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (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)