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.001027/0.001027, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00878/0.00878, allocations: 170 kB / 16.26 MB, free: 6.613 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.491/1.491, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.6129/0.6129, allocations: 95.63 MB / 366.4 MB, free: 10.22 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.0007378/0.0007376, allocations: 16 kB / 447.5 MB, free: 8.949 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4251, allocations: 70.32 MB / 0.5057 GB, free: 16.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.6841/1.109, allocations: 173.2 MB / 0.6748 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006222/1.116, allocations: 4.68 MB / 0.6794 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007686/1.116, allocations: 12.91 kB / 0.6794 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008937/1.117, allocations: 183.5 kB / 0.6796 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001258/1.119, allocations: 323.5 kB / 0.6799 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007952/1.127, allocations: 1.955 MB / 0.6818 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002039/1.129, allocations: 1.395 MB / 0.6832 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005882/1.129, allocations: 319 kB / 0.6835 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000871/1.13, allocations: 402.4 kB / 0.6839 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006566/1.131, allocations: 357.9 kB / 0.6842 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.606e-05/1.131, allocations: 21.75 kB / 0.6842 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005805/1.137, allocations: 2.249 MB / 0.6864 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002716/1.137, allocations: 166 kB / 0.6866 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004436/1.137, allocations: 289.3 kB / 0.6868 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004152/1.142, allocations: 1.938 MB / 0.6887 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.142, allocations: 0 / 0.6887 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.745e-06/1.142, allocations: 4 kB / 0.6887 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.68e-05/1.142, allocations: 0 / 0.6887 GB, free: 7.828 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.002581/1.144, allocations: 1.005 MB / 0.6897 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/1.144, allocations: 15.36 kB / 0.6897 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000473/1.145, allocations: 77.81 kB / 0.6898 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000639/1.145, allocations: 390.9 kB / 0.6902 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.994e-05/1.145, allocations: 32.12 kB / 0.6902 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.903e-05/1.146, allocations: 35.84 kB / 0.6903 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/1.147, allocations: 0.5681 MB / 0.6908 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/1.147, allocations: 1.75 kB / 0.6908 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/1.147, allocations: 20.62 kB / 0.6908 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/1.147, allocations: 9.797 kB / 0.6908 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/1.148, allocations: 0.584 MB / 0.6914 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003237/1.151, allocations: 2.102 MB / 0.6935 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/1.153, allocations: 496.6 kB / 0.6939 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/1.153, allocations: 259.2 kB / 0.6942 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/1.154, allocations: 0.8119 MB / 0.695 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/1.154, allocations: 43.58 kB / 0.695 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=36): time 3.436e-06/1.154, allocations: 0 / 0.695 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.002578/1.157, allocations: 0.9118 MB / 0.6959 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/1.157, allocations: 56.5 kB / 0.696 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004563/1.157, allocations: 378.4 kB / 0.6963 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-05/1.158, allocations: 36.23 kB / 0.6964 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/1.158, allocations: 219 kB / 0.6966 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/1.158, allocations: 117.7 kB / 0.6967 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/1.158, allocations: 36.17 kB / 0.6967 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000208/1.158, allocations: 359.5 kB / 0.6971 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000511/1.159, allocations: 215 kB / 0.6973 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/1.159, allocations: 279.5 kB / 0.6975 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/1.16, allocations: 0.5333 MB / 0.698 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/1.16, allocations: 0 / 0.698 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00178/1.162, allocations: 0.6889 MB / 0.6987 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.685e-05/1.162, allocations: 34.23 kB / 0.6988 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/1.162, allocations: 0 / 0.6988 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006212/1.163, allocations: 97.95 kB / 0.6988 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/1.163, allocations: 99.47 kB / 0.6989 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/1.165, allocations: 1.527 MB / 0.7004 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/1.166, allocations: 69.67 kB / 0.7005 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/1.166, allocations: 17.56 kB / 0.7005 GB, free: 0.5781 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.0002835/1.166, allocations: 182.1 kB / 0.7007 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-05/1.166, allocations: 50.7 kB / 0.7007 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/1.168, allocations: 0.7022 MB / 0.7014 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.168, allocations: 2.906 kB / 0.7014 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/1.168, allocations: 6.594 kB / 0.7014 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.168, allocations: 0 / 0.7014 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007686/1.169, allocations: 0.5173 MB / 0.7019 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.169, allocations: 3.312 kB / 0.7019 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/1.169, allocations: 93.03 kB / 0.702 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004919/1.17, allocations: 85.72 kB / 0.7021 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/1.17, allocations: 9.406 kB / 0.7021 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/1.172, allocations: 1.621 MB / 0.7037 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.172, allocations: 0 / 0.7037 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/1.173, allocations: 0.7278 MB / 0.7044 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/1.173, allocations: 180 kB / 0.7046 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.358e-05/1.173, allocations: 14.12 kB / 0.7046 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004638/1.174, allocations: 54.73 kB / 0.7047 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/1.174, allocations: 37.2 kB / 0.7047 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.445e-05/1.174, allocations: 21.08 kB / 0.7047 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002662/1.174, allocations: 266.9 kB / 0.705 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/1.174, allocations: 0 / 0.705 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00108/1.175, allocations: 347.8 kB / 0.7053 GB, free: 13.8 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.001111/1.177, allocations: 0.5018 MB / 0.7058 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001405/1.178, allocations: 0.6791 MB / 0.7064 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.178, allocations: 0 / 0.7064 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006412/1.179, allocations: 393 kB / 0.7068 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/1.18, allocations: 242.3 kB / 0.7071 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/1.182, allocations: 1.083 MB / 0.7081 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/1.182, allocations: 0.844 MB / 0.7089 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004957/1.183, allocations: 114.4 kB / 0.709 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/1.183, allocations: 51.98 kB / 0.7091 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/1.183, allocations: 0 / 0.7091 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of Templates: time 0.02376/1.207, allocations: 14.55 MB / 0.7233 GB, free: 15.64 MB / 0.5294 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: