Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001408/0.001408, 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.001552/0.001552, allocations: 190.6 kB / 16.14 MB, free: 6.652 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.442/1.442, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6228/0.6228, allocations: 95.47 MB / 364.8 MB, free: 10.07 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 63.91 kB / 444.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3795, allocations: 69.07 MB / 0.5017 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.556/0.9356, allocations: 175.6 MB / 0.6732 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005043/0.9407, allocations: 4.745 MB / 0.6778 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004347/0.9412, allocations: 12.59 kB / 0.6778 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006493/0.9418, allocations: 186.9 kB / 0.678 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006335/0.9425, allocations: 319.7 kB / 0.6783 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005902/0.9484, allocations: 1.965 MB / 0.6802 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001715/0.9501, allocations: 1.395 MB / 0.6816 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000406/0.9505, allocations: 323.7 kB / 0.6819 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006554/0.9512, allocations: 403.8 kB / 0.6823 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004406/0.9517, allocations: 368.6 kB / 0.6827 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.713e-05/0.9517, allocations: 25.69 kB / 0.6827 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00396/0.9557, allocations: 2.251 MB / 0.6849 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.9559, allocations: 163.8 kB / 0.685 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003069/0.9562, allocations: 273.9 kB / 0.6853 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003381/0.9596, allocations: 1.949 MB / 0.6872 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9597, allocations: 6.906 kB / 0.6872 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9597, allocations: 1.203 kB / 0.6872 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.9597, allocations: 0 / 0.6872 GB, free: 8.176 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.002068/0.9618, allocations: 1.098 MB / 0.6883 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.566e-05/0.9618, allocations: 14.05 kB / 0.6883 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004179/0.9623, allocations: 71.58 kB / 0.6884 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.9627, allocations: 387.5 kB / 0.6887 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.9628, allocations: 32.38 kB / 0.6888 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.912e-05/0.9628, allocations: 43 kB / 0.6888 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009942/0.9638, allocations: 0.5532 MB / 0.6893 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.9639, allocations: 2.781 kB / 0.6893 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/0.9639, allocations: 18.47 kB / 0.6894 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.9639, allocations: 7.469 kB / 0.6894 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.9651, allocations: 0.5621 MB / 0.6899 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/0.9682, allocations: 2.075 MB / 0.6919 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.9694, allocations: 467.4 kB / 0.6924 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/0.9698, allocations: 237.8 kB / 0.6926 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009376/0.9708, allocations: 0.8031 MB / 0.6934 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.9708, allocations: 48.08 kB / 0.6934 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=36): time 2.275e-06/0.9708, allocations: 0 / 0.6934 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.002396/0.9732, allocations: 0.8626 MB / 0.6943 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.9733, allocations: 56.59 kB / 0.6943 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004827/0.9738, allocations: 371.4 kB / 0.6947 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.264e-05/0.9739, allocations: 35.11 kB / 0.6947 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.9741, allocations: 217.4 kB / 0.6949 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.9742, allocations: 125.8 kB / 0.6951 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.9743, allocations: 79 kB / 0.6951 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.9745, allocations: 350.6 kB / 0.6955 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004538/0.975, allocations: 195.3 kB / 0.6957 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/0.9755, allocations: 267 kB / 0.6959 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009263/0.9764, allocations: 0.5008 MB / 0.6964 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.9764, allocations: 2.281 kB / 0.6964 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001615/0.978, allocations: 0.6588 MB / 0.697 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/0.9781, allocations: 36.77 kB / 0.6971 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.9781, allocations: 0.875 kB / 0.6971 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000611/0.9787, allocations: 92.39 kB / 0.6972 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.9792, allocations: 86.31 kB / 0.6972 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.981, allocations: 1.537 MB / 0.6987 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004821/0.9815, allocations: 57.64 kB / 0.6988 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.108e-05/0.9816, allocations: 22.52 kB / 0.6988 GB, free: 0.9141 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (senWetBul.wetBulMod.iWat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003055/0.9819, allocations: 182.4 kB / 0.699 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.982, allocations: 44.09 kB / 0.699 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.9837, allocations: 0.6696 MB / 0.6997 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.9837, allocations: 9.094 kB / 0.6997 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.9837, allocations: 0 / 0.6997 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.9837, allocations: 3.984 kB / 0.6997 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006233/0.9843, allocations: 0.5167 MB / 0.7002 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.9844, allocations: 4 kB / 0.7002 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/0.9848, allocations: 81.5 kB / 0.7003 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005074/0.9853, allocations: 87.38 kB / 0.7004 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.9853, allocations: 5.781 kB / 0.7004 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/0.9874, allocations: 1.619 MB / 0.702 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.9874, allocations: 2.156 kB / 0.702 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.989, allocations: 0.6892 MB / 0.7026 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003291/0.9893, allocations: 180.9 kB / 0.7028 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.9894, allocations: 14.75 kB / 0.7028 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004664/0.9898, allocations: 43.61 kB / 0.7029 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.99, allocations: 35.3 kB / 0.7029 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.206e-05/0.9901, allocations: 24.8 kB / 0.7029 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003276/0.9904, allocations: 264.1 kB / 0.7032 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9904, allocations: 0 / 0.7032 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00166/0.9921, allocations: 356.6 kB / 0.7035 GB, free: 13.54 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (39): * Single equations (assignments): 38 * 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 Backend phase and start with SimCode phase: time 0.001318/0.9934, allocations: 0.502 MB / 0.704 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001532/0.9949, allocations: 0.6491 MB / 0.7046 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.995, allocations: 0 / 0.7046 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006247/0.9956, allocations: 374.3 kB / 0.705 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.9968, allocations: 250.7 kB / 0.7052 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.9987, allocations: 1.036 MB / 0.7062 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.9992, allocations: 0.8504 MB / 0.7071 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004947/0.9997, allocations: 109.8 kB / 0.7072 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.9998, allocations: 48.42 kB / 0.7072 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of SimCode: time 5.81e-07/0.9998, allocations: 4 kB / 0.7072 GB, free: 11 MB / 0.5137 GB Notification: Performance of Templates: time 0.02182/1.022, allocations: 14.61 MB / 0.7215 GB, free: 13.66 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)