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.007743/0.007743, 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.001896/0.001896, allocations: 188.9 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.439/1.439, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.6795/0.6795, allocations: 95.48 MB / 365.4 MB, free: 9.766 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.001476/0.001476, allocations: 75.91 kB / 0.5036 GB, free: 13.42 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1821, allocations: 69.08 MB / 0.5711 GB, free: 8.281 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.6986/0.8808, allocations: 177.3 MB / 0.7442 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006687/0.8876, allocations: 4.658 MB / 0.7488 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004878/0.8881, allocations: 7.938 kB / 0.7488 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007541/0.8889, allocations: 222.5 kB / 0.749 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008092/0.8897, allocations: 337.9 kB / 0.7493 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005538/0.8953, allocations: 2.194 MB / 0.7515 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00128/0.8965, allocations: 1.061 MB / 0.7525 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005244/0.8971, allocations: 384.2 kB / 0.7529 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007697/0.8979, allocations: 462.4 kB / 0.7533 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004743/0.8984, allocations: 358.7 kB / 0.7537 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.298e-05/0.8985, allocations: 52 kB / 0.7537 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004656/0.9031, allocations: 2.238 MB / 0.7559 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000291/0.9035, allocations: 191.5 kB / 0.7561 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004374/0.9039, allocations: 302.7 kB / 0.7564 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004038/0.908, allocations: 1.921 MB / 0.7582 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.908, allocations: 0 / 0.7582 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.444e-06/0.908, allocations: 4 kB / 0.7583 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.908, allocations: 0 / 0.7583 GB, free: 14.71 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.002283/0.9103, allocations: 1.097 MB / 0.7593 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.9103, allocations: 15.98 kB / 0.7593 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004158/0.9108, allocations: 71.42 kB / 0.7594 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007092/0.9115, allocations: 410.3 kB / 0.7598 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.9115, allocations: 40.88 kB / 0.7598 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.9116, allocations: 43.94 kB / 0.7599 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.9128, allocations: 0.5435 MB / 0.7604 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.9128, allocations: 3.938 kB / 0.7604 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.813e-05/0.9129, allocations: 20 kB / 0.7604 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.9129, allocations: 8 kB / 0.7604 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.9141, allocations: 0.5503 MB / 0.761 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/0.9173, allocations: 2.081 MB / 0.763 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.9185, allocations: 466.4 kB / 0.7635 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000515/0.9191, allocations: 240.7 kB / 0.7637 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.9201, allocations: 0.8026 MB / 0.7645 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.9201, allocations: 38.56 kB / 0.7645 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=36): time 2.425e-06/0.9201, allocations: 0 / 0.7645 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36): time 0.00244/0.9226, allocations: 0.8731 MB / 0.7654 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.9227, allocations: 59.39 kB / 0.7654 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.9231, allocations: 365.7 kB / 0.7658 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.9232, allocations: 33.7 kB / 0.7658 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.9233, allocations: 224.2 kB / 0.766 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.9234, allocations: 126.2 kB / 0.7661 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.9236, allocations: 77.59 kB / 0.7662 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.9238, allocations: 350.7 kB / 0.7665 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004935/0.9243, allocations: 195.9 kB / 0.7667 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/0.9248, allocations: 265.8 kB / 0.767 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.9258, allocations: 0.4956 MB / 0.7675 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.9258, allocations: 0 / 0.7675 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001647/0.9275, allocations: 0.659 MB / 0.7681 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.157e-05/0.9275, allocations: 29.7 kB / 0.7681 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.9276, allocations: 7.984 kB / 0.7681 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005947/0.9282, allocations: 88.88 kB / 0.7682 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.9286, allocations: 91.88 kB / 0.7683 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.9306, allocations: 1.63 MB / 0.7699 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.931, allocations: 59.59 kB / 0.77 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.9311, allocations: 19.44 kB / 0.77 GB, free: 1.93 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.000271/0.9314, allocations: 195.2 kB / 0.7702 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.9315, allocations: 39.53 kB / 0.7702 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/0.9333, allocations: 0.6675 MB / 0.7709 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.9333, allocations: 4 kB / 0.7709 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.9333, allocations: 0 / 0.7709 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.9333, allocations: 3.984 kB / 0.7709 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006508/0.934, allocations: 0.5165 MB / 0.7714 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.934, allocations: 0 / 0.7714 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.9344, allocations: 83.88 kB / 0.7714 GB, free: 368 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004026/0.9348, allocations: 76.73 kB / 0.7715 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.9348, allocations: 8 kB / 0.7715 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/0.9368, allocations: 1.755 MB / 0.7732 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9368, allocations: 0 / 0.7732 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.9384, allocations: 0.6838 MB / 0.7739 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.9387, allocations: 180.5 kB / 0.7741 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.979e-05/0.9388, allocations: 8.875 kB / 0.7741 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/0.9392, allocations: 35.95 kB / 0.7741 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.9393, allocations: 27.95 kB / 0.7742 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.247e-05/0.9394, allocations: 27.98 kB / 0.7742 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003241/0.9397, allocations: 259.2 kB / 0.7744 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9397, allocations: 0 / 0.7744 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001131/0.9409, allocations: 363.5 kB / 0.7748 GB, free: 12.77 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.001087/0.942, allocations: 0.5152 MB / 0.7753 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001443/0.9434, allocations: 0.6541 MB / 0.7759 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.9434, allocations: 4.062 kB / 0.7759 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006544/0.9441, allocations: 374.5 kB / 0.7763 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.9454, allocations: 266 kB / 0.7765 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.9471, allocations: 0.8595 MB / 0.7774 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.9477, allocations: 0.856 MB / 0.7782 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004067/0.9481, allocations: 111.3 kB / 0.7783 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.9482, allocations: 43.44 kB / 0.7784 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of SimCode: time 6.62e-07/0.9482, allocations: 0 / 0.7784 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of Templates: time 0.02528/0.9735, allocations: 15.24 MB / 0.7932 GB, free: 9.879 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)