Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.441/1.441, allocations: 287.4 MB / 302.6 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008659/0.0008663, allocations: 166.1 kB / 371.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007122/0.0007122, allocations: 92.92 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003409, allocations: 12.34 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.198, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5892/0.7872, allocations: 146.6 MB / 1.122 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004024/0.7913, allocations: 3.265 MB / 1.125 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002614/0.7916, allocations: 9.781 kB / 1.125 GB, free: 1 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.792, allocations: 91.38 kB / 1.125 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0008988/0.7929, allocations: 337.3 kB / 1.126 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.7941, allocations: 464.4 kB / 1.126 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006639/0.7948, allocations: 0.6996 MB / 1.127 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.7951, allocations: 195.3 kB / 1.127 GB, free: 0.6875 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005157/0.7956, allocations: 287.7 kB / 1.127 GB, free: 0.6328 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.7959, allocations: 186.2 kB / 1.127 GB, free: 0.5977 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.453e-05/0.7959, allocations: 10.88 kB / 1.127 GB, free: 0.5977 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005799/0.7965, allocations: 318.2 kB / 1.128 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 9.218e-05/0.7966, allocations: 82.19 kB / 1.128 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.217e-05/0.7967, allocations: 77.7 kB / 1.128 GB, free: 16.51 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.7971, allocations: 355.1 kB / 1.128 GB, free: 16.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7971, allocations: 0 / 1.128 GB, free: 16.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.542e-06/0.7971, allocations: 0 / 1.128 GB, free: 16.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.7971, allocations: 0 / 1.128 GB, free: 16.48 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000801/0.7979, allocations: 0.5966 MB / 1.129 GB, free: 16.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.798, allocations: 7.844 kB / 1.129 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.685e-05/0.798, allocations: 56.23 kB / 1.129 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004296/0.7984, allocations: 84.78 kB / 1.129 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.7988, allocations: 286.8 kB / 1.129 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.7988, allocations: 18.41 kB / 1.129 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.7989, allocations: 20.09 kB / 1.129 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006065/0.7995, allocations: 324.3 kB / 1.129 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.7995, allocations: 0 / 1.129 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.7995, allocations: 9.125 kB / 1.129 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.7995, allocations: 11.03 kB / 1.129 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006842/0.8002, allocations: 283 kB / 1.13 GB, free: 15.62 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.8018, allocations: 1.258 MB / 1.131 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/0.8023, allocations: 190.5 kB / 1.131 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.8026, allocations: 141.3 kB / 1.131 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006065/0.8032, allocations: 315.5 kB / 1.132 GB, free: 14.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.8032, allocations: 31.88 kB / 1.132 GB, free: 14.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.784e-06/0.8032, allocations: 0 / 1.132 GB, free: 14.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.002263/0.8055, allocations: 0.6293 MB / 1.132 GB, free: 14.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.8056, allocations: 54.44 kB / 1.132 GB, free: 14.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.8058, allocations: 251.9 kB / 1.133 GB, free: 14.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.8059, allocations: 33.64 kB / 1.133 GB, free: 14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.806, allocations: 166.8 kB / 1.133 GB, free: 13.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/0.8061, allocations: 50.09 kB / 1.133 GB, free: 13.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.8061, allocations: 4.188 kB / 1.133 GB, free: 13.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.8062, allocations: 335.2 kB / 1.133 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.8065, allocations: 110.1 kB / 1.133 GB, free: 13.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/0.8069, allocations: 155.6 kB / 1.133 GB, free: 13.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005849/0.8075, allocations: 267.5 kB / 1.134 GB, free: 13.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8075, allocations: 1.531 kB / 1.134 GB, free: 13.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001085/0.8086, allocations: 388.9 kB / 1.134 GB, free: 13.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.8086, allocations: 3.312 kB / 1.134 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.8086, allocations: 2.594 kB / 1.134 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005373/0.8092, allocations: 89.75 kB / 1.134 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.8094, allocations: 52.62 kB / 1.134 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.8113, allocations: 1.61 MB / 1.136 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.8115, allocations: 40.19 kB / 1.136 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.8116, allocations: 14.16 kB / 1.136 GB, free: 12.04 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 initialization (16): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.0001414/0.8117, allocations: 145.8 kB / 1.136 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.8118, allocations: 27.48 kB / 1.136 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.8128, allocations: 394 kB / 1.136 GB, free: 11.85 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.8128, allocations: 3.188 kB / 1.136 GB, free: 11.85 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.8128, allocations: 2.25 kB / 1.136 GB, free: 11.85 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.8128, allocations: 4 kB / 1.136 GB, free: 11.85 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.8143, allocations: 0.8094 MB / 1.137 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.8143, allocations: 3.344 kB / 1.137 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.8145, allocations: 48.22 kB / 1.137 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004585/0.815, allocations: 89.31 kB / 1.137 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.815, allocations: 3.531 kB / 1.137 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.8166, allocations: 1.626 MB / 1.139 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.8166, allocations: 1.859 kB / 1.139 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.8176, allocations: 480.9 kB / 1.139 GB, free: 9.977 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.8178, allocations: 124.7 kB / 1.139 GB, free: 9.867 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.8178, allocations: 3.594 kB / 1.139 GB, free: 9.867 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.8181, allocations: 45.61 kB / 1.139 GB, free: 9.855 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.8181, allocations: 19.31 kB / 1.139 GB, free: 9.852 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.8182, allocations: 8.703 kB / 1.139 GB, free: 9.852 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001491/0.8183, allocations: 181.5 kB / 1.14 GB, free: 9.773 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8183, allocations: 0 / 1.14 GB, free: 9.773 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000373/0.8187, allocations: 87.88 kB / 1.14 GB, free: 9.758 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 11 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001533/0.8203, allocations: 1.066 MB / 1.141 GB, free: 9.031 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009166/0.8212, allocations: 393.9 kB / 1.141 GB, free: 8.902 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8212, allocations: 0 / 1.141 GB, free: 8.902 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005417/0.8217, allocations: 279.2 kB / 1.141 GB, free: 8.777 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006824/0.8224, allocations: 118.9 kB / 1.141 GB, free: 8.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/0.8254, allocations: 1.705 MB / 1.143 GB, free: 8.105 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.8257, allocations: 0.7704 MB / 1.144 GB, free: 7.406 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002063/0.8259, allocations: 55.03 kB / 1.144 GB, free: 7.395 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.826, allocations: 79.09 kB / 1.144 GB, free: 7.383 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.826, allocations: 1.344 kB / 1.144 GB, free: 7.383 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9843/1.81, allocations: 7.957 MB / 1.152 GB, free: 3.863 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/1.811, allocations: 253.9 kB / 1.152 GB, free: 3.523 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/3.84, allocations: 0 / 1.152 GB, free: 3.523 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)