Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001998/0.001998, allocations: 191.5 kB / 16.13 MB, free: 6.656 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.633/1.633, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 251.7 MB / 0.5088 GB, free: 3.344 MB / 414.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.001303/0.001303, allocations: 59.92 kB / 0.6216 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5615/0.5628, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1893/0.7521, allocations: 159.4 MB / 0.8794 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005067/0.7573, allocations: 3.561 MB / 0.8829 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004011/0.7577, allocations: 7.938 kB / 0.8829 GB, free: 9.613 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.000431/0.7582, allocations: 103.3 kB / 0.883 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.7593, allocations: 426.2 kB / 0.8834 GB, free: 9.094 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.7609, allocations: 0.5358 MB / 0.8839 GB, free: 8.562 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0009116/0.7618, allocations: 0.8116 MB / 0.8847 GB, free: 7.746 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003248/0.7621, allocations: 192.7 kB / 0.8849 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.7637, allocations: 313.9 kB / 0.8852 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.764, allocations: 195.2 kB / 0.8854 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.764, allocations: 12 kB / 0.8854 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.7653, allocations: 0.6273 MB / 0.886 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.7655, allocations: 83.77 kB / 0.8861 GB, free: 6.348 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.7657, allocations: 139.2 kB / 0.8862 GB, free: 6.211 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0007971/0.7665, allocations: 0.5725 MB / 0.8868 GB, free: 5.637 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7665, allocations: 0 / 0.8868 GB, free: 5.637 MB / 0.7012 GB Notification: Performance of FrontEnd: time 8.62e-07/0.7665, allocations: 0 / 0.8868 GB, free: 5.637 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.7665, allocations: 0 / 0.8868 GB, free: 5.637 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001144/0.7676, allocations: 0.6311 MB / 0.8874 GB, free: 4.957 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.7677, allocations: 12.03 kB / 0.8874 GB, free: 4.945 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006322/0.7683, allocations: 79.5 kB / 0.8875 GB, free: 4.867 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.7688, allocations: 281.5 kB / 0.8878 GB, free: 4.555 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.7689, allocations: 20.44 kB / 0.8878 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.7689, allocations: 19.98 kB / 0.8878 GB, free: 4.516 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007943/0.7697, allocations: 312.2 kB / 0.8881 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.7697, allocations: 0 / 0.8881 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.7698, allocations: 8 kB / 0.8881 GB, free: 4.18 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.7698, allocations: 7.938 kB / 0.8881 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000667/0.7705, allocations: 256.8 kB / 0.8884 GB, free: 3.922 MB / 0.7012 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.001823/0.7723, allocations: 1.24 MB / 0.8896 GB, free: 2.57 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.7727, allocations: 182.5 kB / 0.8898 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.7731, allocations: 124.8 kB / 0.8899 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005885/0.7737, allocations: 303.2 kB / 0.8902 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.855e-05/0.7738, allocations: 38.55 kB / 0.8902 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.7738, allocations: 4 kB / 0.8902 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14): time 0.002411/0.7762, allocations: 0.5692 MB / 0.8908 GB, free: 1.258 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.7762, allocations: 51.41 kB / 0.8908 GB, free: 1.195 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.7765, allocations: 250.7 kB / 0.891 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.7766, allocations: 29.7 kB / 0.8911 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.7768, allocations: 172 kB / 0.8912 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.7768, allocations: 51.3 kB / 0.8913 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.994e-05/0.7769, allocations: 33.7 kB / 0.8913 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002307/0.7772, allocations: 342.8 kB / 0.8917 GB, free: 312 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003028/0.7775, allocations: 87.92 kB / 0.8917 GB, free: 224 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.7778, allocations: 146.3 kB / 0.8919 GB, free: 64 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.7784, allocations: 245 kB / 0.8921 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7784, allocations: 3.938 kB / 0.8921 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001185/0.7796, allocations: 349.9 kB / 0.8924 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.7797, allocations: 4 kB / 0.8924 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.7797, allocations: 128 / 0.8924 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/0.7803, allocations: 88.77 kB / 0.8925 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.7806, allocations: 43.95 kB / 0.8926 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.7829, allocations: 1.613 MB / 0.8942 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.7832, allocations: 31.81 kB / 0.8942 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.7833, allocations: 11.94 kB / 0.8942 GB, free: 13.53 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002161/0.7835, allocations: 138 kB / 0.8943 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.733e-05/0.7835, allocations: 23.72 kB / 0.8943 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.7848, allocations: 379.8 kB / 0.8947 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.7848, allocations: 4 kB / 0.8947 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.7848, allocations: 0 / 0.8947 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7849, allocations: 3.938 kB / 0.8947 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.7866, allocations: 0.7746 MB / 0.8955 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.7866, allocations: 4 kB / 0.8955 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.7868, allocations: 35.91 kB / 0.8955 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005519/0.7874, allocations: 88.86 kB / 0.8956 GB, free: 12 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.7874, allocations: 7.984 kB / 0.8956 GB, free: 12 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/0.7892, allocations: 1.621 MB / 0.8972 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.7893, allocations: 0 / 0.8972 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.7904, allocations: 450.4 kB / 0.8976 GB, free: 9.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.7905, allocations: 120.8 kB / 0.8977 GB, free: 9.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.7905, allocations: 8 kB / 0.8977 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.7908, allocations: 27.91 kB / 0.8978 GB, free: 9.598 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/0.7909, allocations: 23.91 kB / 0.8978 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.7909, allocations: 8 kB / 0.8978 GB, free: 9.566 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002425/0.7912, allocations: 182 kB / 0.898 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7912, allocations: 0 / 0.898 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004277/0.7916, allocations: 87.84 kB / 0.8981 GB, free: 9.301 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003722/0.792, allocations: 162 kB / 0.8982 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009653/0.793, allocations: 362.6 kB / 0.8986 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.793, allocations: 0 / 0.8986 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005688/0.7936, allocations: 254.7 kB / 0.8988 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007017/0.7943, allocations: 116.4 kB / 0.8989 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009347/0.7952, allocations: 0.5888 MB / 0.8995 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.7956, allocations: 0.7675 MB / 0.9002 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001985/0.7958, allocations: 66.17 kB / 0.9003 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.7958, allocations: 19.44 kB / 0.9003 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7958, allocations: 0 / 0.9003 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of Templates: time 0.009616/0.8055, allocations: 5.536 MB / 0.9057 GB, free: 1.434 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)