Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00123/0.00123, allocations: 179.4 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.953/1.953, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008762/0.0008765, allocations: 94.31 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.0003721, allocations: 9.344 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.247, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1537/0.4008, allocations: 135.7 MB / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004909/0.4058, allocations: 3.088 MB / 1.036 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000415/0.4063, allocations: 7.938 kB / 1.036 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006875/0.407, allocations: 167.2 kB / 1.036 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.4081, allocations: 366.8 kB / 1.036 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.4096, allocations: 496.9 kB / 1.037 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0005649/0.4102, allocations: 376.6 kB / 1.037 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.4105, allocations: 176.5 kB / 1.037 GB, free: 3.137 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000757/0.4113, allocations: 343 kB / 1.038 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.4115, allocations: 139.4 kB / 1.038 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.4115, allocations: 15.94 kB / 1.038 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005444/0.4121, allocations: 255.6 kB / 1.038 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 8.52e-05/0.4122, allocations: 75.78 kB / 1.038 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.4122, allocations: 73.52 kB / 1.038 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004249/0.4127, allocations: 319.6 kB / 1.038 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.4127, allocations: 0 / 1.038 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4127, allocations: 4 kB / 1.038 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.4127, allocations: 0 / 1.038 GB, free: 1.93 MB / 0.6823 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.001018/0.4137, allocations: 0.5927 MB / 1.039 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.4138, allocations: 8.031 kB / 1.039 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.4139, allocations: 54.55 kB / 1.039 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005077/0.4144, allocations: 71.56 kB / 1.039 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.4149, allocations: 293.5 kB / 1.039 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.4149, allocations: 20.44 kB / 1.039 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.4149, allocations: 16 kB / 1.039 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006474/0.4156, allocations: 324.2 kB / 1.04 GB, free: 460 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4156, allocations: 0 / 1.04 GB, free: 460 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.4156, allocations: 12 kB / 1.04 GB, free: 448 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.4157, allocations: 4 kB / 1.04 GB, free: 444 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006819/0.4163, allocations: 280.8 kB / 1.04 GB, free: 164 kB / 0.6823 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.001805/0.4182, allocations: 1.26 MB / 1.041 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.4187, allocations: 214.5 kB / 1.041 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004375/0.4191, allocations: 137 kB / 1.042 GB, free: 14.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.4191, allocations: 38.5 kB / 1.042 GB, free: 14.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.4192, allocations: 0 / 1.042 GB, free: 14.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.002188/0.4213, allocations: 0.614 MB / 1.042 GB, free: 13.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.4214, allocations: 55.41 kB / 1.042 GB, free: 13.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.4217, allocations: 250.7 kB / 1.043 GB, free: 13.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.4217, allocations: 29.7 kB / 1.043 GB, free: 13.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.4218, allocations: 164.2 kB / 1.043 GB, free: 13.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.4219, allocations: 47.28 kB / 1.043 GB, free: 13.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-05/0.4219, allocations: 8 kB / 1.043 GB, free: 13.15 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.422, allocations: 334.8 kB / 1.043 GB, free: 12.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.4223, allocations: 107.9 kB / 1.043 GB, free: 12.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.4227, allocations: 161 kB / 1.043 GB, free: 12.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.423, allocations: 129.5 kB / 1.043 GB, free: 12.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.423, allocations: 0 / 1.043 GB, free: 12.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001113/0.4241, allocations: 381.9 kB / 1.044 GB, free: 12.03 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.4241, allocations: 6.656 kB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4242, allocations: 4 kB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/0.4247, allocations: 88.89 kB / 1.044 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.425, allocations: 59.89 kB / 1.044 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.4271, allocations: 1.625 MB / 1.046 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.4274, allocations: 47.72 kB / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.4274, allocations: 7.984 kB / 1.046 GB, free: 10.06 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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.0001754/0.4276, allocations: 149.8 kB / 1.046 GB, free: 9.902 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.4277, allocations: 23.72 kB / 1.046 GB, free: 9.879 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.4288, allocations: 393.8 kB / 1.046 GB, free: 9.488 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.4289, allocations: 7.984 kB / 1.046 GB, free: 9.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.4289, allocations: 0 / 1.046 GB, free: 9.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4289, allocations: 0 / 1.046 GB, free: 9.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.4309, allocations: 0.9648 MB / 1.047 GB, free: 8.422 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4309, allocations: 3.938 kB / 1.047 GB, free: 8.418 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.4311, allocations: 47.91 kB / 1.047 GB, free: 8.371 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004866/0.4316, allocations: 88.92 kB / 1.047 GB, free: 8.281 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.4316, allocations: 8 kB / 1.047 GB, free: 8.273 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.4335, allocations: 1.637 MB / 1.049 GB, free: 6.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.4335, allocations: 7.891 kB / 1.049 GB, free: 6.492 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.4347, allocations: 0.5397 MB / 1.049 GB, free: 5.887 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.4349, allocations: 124.7 kB / 1.049 GB, free: 5.746 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.4349, allocations: 7.984 kB / 1.049 GB, free: 5.738 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.4352, allocations: 39.92 kB / 1.05 GB, free: 5.699 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/0.4353, allocations: 15.98 kB / 1.05 GB, free: 5.684 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.4353, allocations: 8 kB / 1.05 GB, free: 5.676 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000193/0.4355, allocations: 186 kB / 1.05 GB, free: 5.492 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.1e-07/0.4355, allocations: 0 / 1.05 GB, free: 5.492 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004755/0.436, allocations: 83.83 kB / 1.05 GB, free: 5.41 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.001893/0.4379, allocations: 1.479 MB / 1.051 GB, free: 3.875 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001095/0.439, allocations: 397.8 kB / 1.052 GB, free: 3.477 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.439, allocations: 4 kB / 1.052 GB, free: 3.473 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006174/0.4397, allocations: 274.9 kB / 1.052 GB, free: 3.191 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007457/0.4404, allocations: 114.7 kB / 1.052 GB, free: 3.082 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005134/0.4456, allocations: 2.556 MB / 1.054 GB, free: 448 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4485/0.8941, allocations: 0.7812 MB / 1.055 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003389/0.8945, allocations: 57.06 kB / 1.055 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.8946, allocations: 79.56 kB / 1.055 GB, free: 155 MB / 0.698 GB Notification: Performance of SimCode: time 1.673e-06/0.8946, allocations: 2.375 kB / 1.055 GB, free: 155 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.919, allocations: 7.849 MB / 1.063 GB, free: 154.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002619/0.9194, allocations: 263.9 kB / 1.063 GB, free: 154.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/2.978, allocations: 0 / 1.063 GB, free: 154.2 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)