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.00648/0.00648, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001212/0.001212, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.444/1.444, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.5825/0.5825, allocations: 95.49 MB / 365.4 MB, free: 9.781 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.001424/0.001424, allocations: 67.91 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1756, allocations: 69.09 MB / 0.5711 GB, free: 8.293 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.6801/0.8558, allocations: 177.3 MB / 0.7442 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006858/0.8627, allocations: 4.654 MB / 0.7488 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006204/0.8634, allocations: 15.88 kB / 0.7488 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009426/0.8644, allocations: 226.5 kB / 0.749 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008843/0.8653, allocations: 333.9 kB / 0.7493 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007079/0.8724, allocations: 2.192 MB / 0.7515 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001509/0.8739, allocations: 1.065 MB / 0.7525 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005355/0.8745, allocations: 387.9 kB / 0.7529 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007626/0.8753, allocations: 466.4 kB / 0.7533 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004858/0.8758, allocations: 362.6 kB / 0.7537 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.252e-05/0.8758, allocations: 56 kB / 0.7537 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004376/0.8802, allocations: 2.23 MB / 0.7559 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002428/0.8805, allocations: 191.5 kB / 0.7561 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003387/0.8808, allocations: 302.6 kB / 0.7564 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003098/0.8839, allocations: 1.921 MB / 0.7582 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.884, allocations: 0 / 0.7582 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.883e-06/0.884, allocations: 0 / 0.7582 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.884, allocations: 0 / 0.7582 GB, free: 14.74 MB / 0.5762 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.001984/0.886, allocations: 1.101 MB / 0.7593 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.886, allocations: 11.98 kB / 0.7593 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003907/0.8864, allocations: 75.42 kB / 0.7594 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/0.887, allocations: 406.3 kB / 0.7598 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.8871, allocations: 36.75 kB / 0.7598 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-05/0.8872, allocations: 43.94 kB / 0.7599 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009864/0.8881, allocations: 0.5435 MB / 0.7604 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.8882, allocations: 7.938 kB / 0.7604 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-05/0.8882, allocations: 20 kB / 0.7604 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.8882, allocations: 8 kB / 0.7604 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.8895, allocations: 0.5542 MB / 0.761 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002786/0.8923, allocations: 2.085 MB / 0.763 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.8935, allocations: 462.4 kB / 0.7635 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000481/0.894, allocations: 236.7 kB / 0.7637 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009418/0.8949, allocations: 0.8026 MB / 0.7645 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.895, allocations: 38.56 kB / 0.7645 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=36): time 2.124e-06/0.895, allocations: 0 / 0.7645 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36): time 0.002393/0.8974, allocations: 0.8809 MB / 0.7654 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.8974, allocations: 55.41 kB / 0.7654 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003746/0.8978, allocations: 365.7 kB / 0.7658 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.8979, allocations: 37.7 kB / 0.7658 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.898, allocations: 228.1 kB / 0.766 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.408e-05/0.8981, allocations: 118.2 kB / 0.7661 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.8983, allocations: 73.59 kB / 0.7662 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.8984, allocations: 354.7 kB / 0.7665 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.8989, allocations: 199.8 kB / 0.7667 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.8994, allocations: 265.8 kB / 0.767 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009382/0.9004, allocations: 0.4995 MB / 0.7675 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9004, allocations: 4 kB / 0.7675 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001641/0.902, allocations: 0.6512 MB / 0.7681 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.9021, allocations: 33.7 kB / 0.7681 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.9021, allocations: 4.781 kB / 0.7681 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006066/0.9027, allocations: 88.88 kB / 0.7682 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/0.9031, allocations: 87.88 kB / 0.7683 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.905, allocations: 1.634 MB / 0.7699 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003878/0.9054, allocations: 56.56 kB / 0.77 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.9055, allocations: 19.98 kB / 0.77 GB, free: 1.949 MB / 0.5762 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.0002759/0.9058, allocations: 179.4 kB / 0.7702 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.9059, allocations: 43.53 kB / 0.7702 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/0.9076, allocations: 0.6792 MB / 0.7709 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.9076, allocations: 7.625 kB / 0.7709 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.9077, allocations: 0 / 0.7709 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.9077, allocations: 4 kB / 0.7709 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006608/0.9083, allocations: 0.5126 MB / 0.7714 GB, free: 476 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.9083, allocations: 3.984 kB / 0.7714 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/0.9087, allocations: 75.89 kB / 0.7714 GB, free: 396 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004047/0.9092, allocations: 80.78 kB / 0.7715 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.9092, allocations: 8 kB / 0.7715 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.9112, allocations: 1.757 MB / 0.7732 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.9112, allocations: 8.094 kB / 0.7733 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.9128, allocations: 0.6837 MB / 0.7739 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003/0.9131, allocations: 180.5 kB / 0.7741 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.9131, allocations: 8 kB / 0.7741 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.9136, allocations: 27.97 kB / 0.7741 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.9137, allocations: 35.95 kB / 0.7742 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/0.9137, allocations: 23.92 kB / 0.7742 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002859/0.914, allocations: 267.1 kB / 0.7744 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.81e-07/0.914, allocations: 0 / 0.7744 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001061/0.9151, allocations: 359.5 kB / 0.7748 GB, free: 12.78 MB / 0.5919 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.001189/0.9163, allocations: 0.5045 MB / 0.7753 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001552/0.9179, allocations: 0.6541 MB / 0.7759 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.9179, allocations: 0 / 0.7759 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006709/0.9186, allocations: 374.5 kB / 0.7763 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.9198, allocations: 276.1 kB / 0.7765 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.9215, allocations: 0.8555 MB / 0.7774 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.922, allocations: 0.8522 MB / 0.7782 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003907/0.9224, allocations: 115.3 kB / 0.7783 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.9225, allocations: 47.42 kB / 0.7784 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.9225, allocations: 0 / 0.7784 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of Templates: time 0.02534/0.9479, allocations: 15.52 MB / 0.7935 GB, free: 9.621 MB / 0.6075 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)