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.001314/0.001314, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001447/0.001447, allocations: 177.3 kB / 15.94 MB, free: 228 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.366/1.366, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.5939/0.5939, allocations: 95.59 MB / 366 MB, free: 10.38 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.0005875/0.0005878, allocations: 12 kB / 446.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3048, allocations: 70.34 MB / 0.505 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.43/0.7348, allocations: 141 MB / 0.6427 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00589/0.7408, allocations: 4.877 MB / 0.6474 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004883/0.7413, allocations: 10.34 kB / 0.6474 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006557/0.742, allocations: 175.2 kB / 0.6476 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007346/0.7427, allocations: 264.2 kB / 0.6479 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003669/0.7464, allocations: 1.188 MB / 0.649 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.7475, allocations: 0.5951 MB / 0.6496 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005574/0.748, allocations: 302.8 kB / 0.6499 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008722/0.7489, allocations: 386.5 kB / 0.6503 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004617/0.7494, allocations: 261.8 kB / 0.6505 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.252e-05/0.7495, allocations: 21.56 kB / 0.6505 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.7519, allocations: 1.157 MB / 0.6517 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.7521, allocations: 148.1 kB / 0.6518 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.7523, allocations: 123.7 kB / 0.6519 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.7539, allocations: 0.9674 MB / 0.6529 GB, free: 1.504 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.7539, allocations: 0 / 0.6529 GB, free: 1.504 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.7539, allocations: 0 / 0.6529 GB, free: 1.504 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.754, allocations: 3.031 kB / 0.6529 GB, free: 1.504 MB / 494.1 MB 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.001992/0.756, allocations: 0.9328 MB / 0.6538 GB, free: 16.87 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.756, allocations: 14.64 kB / 0.6538 GB, free: 16.87 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003842/0.7564, allocations: 72.88 kB / 0.6539 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005313/0.7569, allocations: 380.2 kB / 0.6542 GB, free: 16.6 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.757, allocations: 30.06 kB / 0.6543 GB, free: 16.6 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.782e-05/0.757, allocations: 43.92 kB / 0.6543 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009858/0.758, allocations: 0.5598 MB / 0.6548 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.7581, allocations: 0 / 0.6548 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.632e-05/0.7581, allocations: 23 kB / 0.6549 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.7581, allocations: 12.66 kB / 0.6549 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.7591, allocations: 0.5832 MB / 0.6554 GB, free: 16.49 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.7619, allocations: 2.09 MB / 0.6575 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009581/0.7629, allocations: 494.3 kB / 0.658 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000871/0.7638, allocations: 0.8064 MB / 0.6587 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.7638, allocations: 47.02 kB / 0.6588 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=36): time 2.464e-06/0.7638, allocations: 3 kB / 0.6588 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.002296/0.7661, allocations: 0.9061 MB / 0.6597 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.7662, allocations: 54.31 kB / 0.6597 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.7665, allocations: 372 kB / 0.6601 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.408e-05/0.7666, allocations: 38.23 kB / 0.6601 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.7667, allocations: 227.5 kB / 0.6603 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.635e-05/0.7668, allocations: 119.4 kB / 0.6605 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/0.7669, allocations: 8.438 kB / 0.6605 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.767, allocations: 348.1 kB / 0.6608 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.7674, allocations: 214.9 kB / 0.661 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.7678, allocations: 273.3 kB / 0.6613 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/0.7683, allocations: 267.2 kB / 0.6615 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7683, allocations: 3.953 kB / 0.6615 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001462/0.7698, allocations: 0.6947 MB / 0.6622 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/0.7698, allocations: 36.89 kB / 0.6622 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.7699, allocations: 0 / 0.6622 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006026/0.7705, allocations: 88.67 kB / 0.6623 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.7709, allocations: 96.52 kB / 0.6624 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.7728, allocations: 1.634 MB / 0.664 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00049/0.7733, allocations: 66.66 kB / 0.6641 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.7734, allocations: 19.75 kB / 0.6641 GB, free: 11.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002965/0.7737, allocations: 179 kB / 0.6643 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.34e-05/0.7738, allocations: 51.62 kB / 0.6643 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.7754, allocations: 0.7071 MB / 0.665 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.7755, allocations: 4.875 kB / 0.665 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.7755, allocations: 0 / 0.665 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.7755, allocations: 7.047 kB / 0.665 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006487/0.7761, allocations: 0.5125 MB / 0.6655 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.7761, allocations: 0 / 0.6655 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.7765, allocations: 90.72 kB / 0.6656 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004429/0.777, allocations: 93.55 kB / 0.6657 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.777, allocations: 12.38 kB / 0.6657 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/0.7787, allocations: 1.64 MB / 0.6673 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7787, allocations: 0 / 0.6673 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.7802, allocations: 0.7217 MB / 0.668 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/0.7805, allocations: 179.2 kB / 0.6682 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.76e-05/0.7806, allocations: 11.73 kB / 0.6682 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.781, allocations: 62.17 kB / 0.6682 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.172e-05/0.7811, allocations: 32.89 kB / 0.6683 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-05/0.7812, allocations: 22.25 kB / 0.6683 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002424/0.7814, allocations: 262.8 kB / 0.6685 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7814, allocations: 0 / 0.6685 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001093/0.7825, allocations: 354.6 kB / 0.6689 GB, free: 9.625 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009863/0.7835, allocations: 488.1 kB / 0.6693 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.7848, allocations: 0.6764 MB / 0.67 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.7848, allocations: 3.062 kB / 0.67 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005729/0.7854, allocations: 387.4 kB / 0.6704 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.7865, allocations: 236.9 kB / 0.6706 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.7882, allocations: 1.036 MB / 0.6716 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.7886, allocations: 0.8544 MB / 0.6725 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005052/0.7892, allocations: 109.5 kB / 0.6726 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.7893, allocations: 46.25 kB / 0.6726 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.7893, allocations: 0 / 0.6726 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.02133/0.8106, allocations: 14.02 MB / 0.6863 GB, free: 1.492 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: