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.001746/0.001746, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.002454/0.002454, allocations: 172.7 kB / 15.95 MB, free: 208 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.778/1.778, allocations: 205.4 MB / 222.1 MB, free: 5.469 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.7407/0.7407, allocations: 95.63 MB / 366 MB, free: 10.34 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.001071/0.001071, allocations: 16 kB / 446.8 MB, free: 9.344 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4554, allocations: 70.35 MB / 0.5051 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.6057/1.061, allocations: 161.2 MB / 0.6625 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005594/1.067, allocations: 4.361 MB / 0.6668 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006544/1.068, allocations: 10.5 kB / 0.6668 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007174/1.068, allocations: 150.2 kB / 0.6669 GB, free: 0.5625 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0008806/1.069, allocations: 319.8 kB / 0.6672 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006387/1.076, allocations: 1.661 MB / 0.6688 GB, free: 304 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001723/1.077, allocations: 1.188 MB / 0.67 GB, free: 120 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004998/1.078, allocations: 301.7 kB / 0.6703 GB, free: 76 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006958/1.079, allocations: 390.1 kB / 0.6707 GB, free: 0 / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006005/1.079, allocations: 355.8 kB / 0.671 GB, free: 0 / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.092e-05/1.079, allocations: 21.27 kB / 0.671 GB, free: 0 / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0044/1.084, allocations: 1.56 MB / 0.6725 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002468/1.084, allocations: 161.9 kB / 0.6727 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002008/1.084, allocations: 126.4 kB / 0.6728 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002284/1.086, allocations: 1.228 MB / 0.674 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.086, allocations: 0 / 0.674 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.914e-06/1.086, allocations: 0 / 0.674 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.899e-06/1.086, allocations: 3.25 kB / 0.674 GB, free: 15.72 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.002051/1.088, allocations: 1.011 MB / 0.675 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.089, allocations: 12.67 kB / 0.675 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003973/1.089, allocations: 71.08 kB / 0.6751 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005462/1.09, allocations: 382.2 kB / 0.6754 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/1.09, allocations: 28.66 kB / 0.6755 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/1.09, allocations: 39.67 kB / 0.6755 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009918/1.091, allocations: 0.5614 MB / 0.6761 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/1.091, allocations: 3.094 kB / 0.6761 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-05/1.091, allocations: 17.69 kB / 0.6761 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/1.091, allocations: 17.81 kB / 0.6761 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009995/1.092, allocations: 0.5795 MB / 0.6767 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00282/1.095, allocations: 2.094 MB / 0.6787 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/1.096, allocations: 487.2 kB / 0.6792 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004976/1.096, allocations: 256 kB / 0.6794 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/1.097, allocations: 0.8182 MB / 0.6802 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/1.098, allocations: 43.39 kB / 0.6803 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=36): time 3.226e-06/1.098, allocations: 0 / 0.6803 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.002361/1.1, allocations: 0.9143 MB / 0.6811 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/1.1, allocations: 55 kB / 0.6812 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/1.1, allocations: 370.8 kB / 0.6816 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.142e-05/1.1, allocations: 36.78 kB / 0.6816 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/1.101, allocations: 214 kB / 0.6818 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/1.101, allocations: 127 kB / 0.6819 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/1.101, allocations: 6.25 kB / 0.6819 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.101, allocations: 357.3 kB / 0.6823 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/1.101, allocations: 213.5 kB / 0.6825 GB, free: 11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/1.102, allocations: 276 kB / 0.6827 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/1.102, allocations: 267.3 kB / 0.683 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/1.102, allocations: 0 / 0.683 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001506/1.104, allocations: 0.6874 MB / 0.6837 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/1.104, allocations: 31.52 kB / 0.6837 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.104, allocations: 3.312 kB / 0.6837 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00052/1.104, allocations: 95 kB / 0.6838 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/1.105, allocations: 98.97 kB / 0.6839 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/1.107, allocations: 1.62 MB / 0.6855 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/1.108, allocations: 65.58 kB / 0.6855 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/1.108, allocations: 21.27 kB / 0.6855 GB, free: 9.086 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.0003006/1.108, allocations: 175 kB / 0.6857 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.408e-05/1.108, allocations: 44.28 kB / 0.6857 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/1.11, allocations: 0.7076 MB / 0.6864 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/1.11, allocations: 14.16 kB / 0.6864 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/1.11, allocations: 0 / 0.6864 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/1.11, allocations: 4 kB / 0.6865 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008133/1.111, allocations: 0.504 MB / 0.6869 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.111, allocations: 2.938 kB / 0.6869 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003949/1.111, allocations: 89.94 kB / 0.687 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004377/1.111, allocations: 91.44 kB / 0.6871 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/1.112, allocations: 13.05 kB / 0.6871 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/1.114, allocations: 1.63 MB / 0.6887 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.114, allocations: 4 kB / 0.6887 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/1.115, allocations: 0.7087 MB / 0.6894 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/1.115, allocations: 177.9 kB / 0.6896 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/1.115, allocations: 10.42 kB / 0.6896 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/1.116, allocations: 59.02 kB / 0.6897 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/1.116, allocations: 37.67 kB / 0.6897 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.587e-05/1.116, allocations: 24.81 kB / 0.6897 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002924/1.116, allocations: 268.1 kB / 0.69 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.116, allocations: 0 / 0.69 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001308/1.118, allocations: 351.9 kB / 0.6903 GB, free: 6.301 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.001203/1.119, allocations: 499.5 kB / 0.6908 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001513/1.12, allocations: 0.6707 MB / 0.6914 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.12, allocations: 3.938 kB / 0.6914 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007216/1.121, allocations: 388.9 kB / 0.6918 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/1.122, allocations: 247.3 kB / 0.692 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/1.124, allocations: 1.028 MB / 0.6931 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005195/1.125, allocations: 0.8438 MB / 0.6939 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004931/1.125, allocations: 121.1 kB / 0.694 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/1.125, allocations: 48.27 kB / 0.694 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of SimCode: time 8.02e-07/1.125, allocations: 0 / 0.694 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of Templates: time 0.02474/1.15, allocations: 14.36 MB / 0.7081 GB, free: 11.94 MB / 0.5137 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: