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.438/1.438, allocations: 252 MB / 267 MB, free: 10.94 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.0009612/0.0009614, allocations: 175.4 kB / 326.6 MB, free: 2.188 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.898/1.898, allocations: 205.4 MB / 0.5776 GB, free: 20.52 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.0007491/0.0007492, allocations: 78.36 kB / 0.6822 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.000337, allocations: 8.312 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.245, allocations: 106.3 MB / 0.9003 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.173/0.4182, allocations: 146.7 MB / 1.044 GB, free: 12.98 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005019/0.4233, allocations: 3.325 MB / 1.047 GB, free: 9.645 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000379/0.4237, allocations: 11.88 kB / 1.047 GB, free: 9.633 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004364/0.4241, allocations: 87.36 kB / 1.047 GB, free: 9.547 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.4253, allocations: 342.3 kB / 1.047 GB, free: 9.211 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.4269, allocations: 467.3 kB / 1.048 GB, free: 8.758 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008437/0.4278, allocations: 0.6868 MB / 1.048 GB, free: 8.066 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003306/0.4281, allocations: 176.4 kB / 1.049 GB, free: 7.898 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006457/0.4288, allocations: 287 kB / 1.049 GB, free: 7.617 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003236/0.4291, allocations: 183.2 kB / 1.049 GB, free: 7.438 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.4292, allocations: 12 kB / 1.049 GB, free: 7.426 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008355/0.43, allocations: 323.3 kB / 1.049 GB, free: 7.109 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.4301, allocations: 83.77 kB / 1.049 GB, free: 7.027 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.737e-05/0.4302, allocations: 73.52 kB / 1.049 GB, free: 6.949 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005031/0.4307, allocations: 355.4 kB / 1.05 GB, free: 6.602 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4308, allocations: 4 kB / 1.05 GB, free: 6.598 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4308, allocations: 0 / 1.05 GB, free: 6.598 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.4308, allocations: 0 / 1.05 GB, free: 6.598 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.001153/0.4319, allocations: 0.5961 MB / 1.05 GB, free: 5.953 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.432, allocations: 12.03 kB / 1.05 GB, free: 5.941 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.85e-05/0.4321, allocations: 58.55 kB / 1.05 GB, free: 5.875 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00054/0.4326, allocations: 79.56 kB / 1.051 GB, free: 5.797 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.4331, allocations: 281.5 kB / 1.051 GB, free: 5.484 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.4331, allocations: 12.44 kB / 1.051 GB, free: 5.473 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.4331, allocations: 20 kB / 1.051 GB, free: 5.453 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006981/0.4338, allocations: 324.2 kB / 1.051 GB, free: 5.113 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4339, allocations: 0 / 1.051 GB, free: 5.113 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.4339, allocations: 8 kB / 1.051 GB, free: 5.105 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.4339, allocations: 8 kB / 1.051 GB, free: 5.098 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007075/0.4346, allocations: 284.8 kB / 1.051 GB, free: 4.82 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.001762/0.4364, allocations: 1.264 MB / 1.053 GB, free: 3.445 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.4369, allocations: 194.5 kB / 1.053 GB, free: 3.246 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003612/0.4372, allocations: 144.7 kB / 1.053 GB, free: 3.102 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006676/0.4379, allocations: 315.2 kB / 1.053 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.438, allocations: 34.55 kB / 1.053 GB, free: 2.695 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.438, allocations: 4 kB / 1.053 GB, free: 2.691 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.002332/0.4403, allocations: 0.6161 MB / 1.054 GB, free: 2.047 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.4404, allocations: 59.41 kB / 1.054 GB, free: 1.977 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.4406, allocations: 246.7 kB / 1.054 GB, free: 1.723 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.4407, allocations: 25.7 kB / 1.054 GB, free: 1.691 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.4408, allocations: 168.2 kB / 1.054 GB, free: 1.523 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.4409, allocations: 51.23 kB / 1.054 GB, free: 1.473 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/0.4409, allocations: 4 kB / 1.054 GB, free: 1.469 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.441, allocations: 338.8 kB / 1.055 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.4414, allocations: 111.9 kB / 1.055 GB, free: 1.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.4417, allocations: 152.1 kB / 1.055 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.442, allocations: 134 kB / 1.055 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.442, allocations: 0 / 1.055 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001196/0.4432, allocations: 381.9 kB / 1.056 GB, free: 352 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.4433, allocations: 4 kB / 1.056 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4433, allocations: 4 kB / 1.056 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006354/0.4439, allocations: 88.89 kB / 1.056 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.4442, allocations: 51.89 kB / 1.056 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5586/1.003, allocations: 1.601 MB / 1.057 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004239/1.003, allocations: 44.02 kB / 1.057 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/1.003, allocations: 6.25 kB / 1.057 GB, free: 156.1 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.00022/1.004, allocations: 148.5 kB / 1.057 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/1.004, allocations: 23.94 kB / 1.057 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/1.005, allocations: 406.8 kB / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/1.005, allocations: 0 / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.005, allocations: 3.156 kB / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.005, allocations: 0 / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/1.007, allocations: 0.8061 MB / 1.059 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.007, allocations: 0.625 kB / 1.059 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/1.007, allocations: 43 kB / 1.059 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005296/1.007, allocations: 92.34 kB / 1.059 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/1.007, allocations: 3.969 kB / 1.059 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/1.009, allocations: 1.627 MB / 1.06 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.009, allocations: 3.953 kB / 1.06 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/1.01, allocations: 489.4 kB / 1.061 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/1.01, allocations: 120.5 kB / 1.061 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/1.01, allocations: 6.266 kB / 1.061 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/1.011, allocations: 36.09 kB / 1.061 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.034e-05/1.011, allocations: 21.7 kB / 1.061 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/1.011, allocations: 7.75 kB / 1.061 GB, free: 154.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001658/1.011, allocations: 187.1 kB / 1.061 GB, free: 154 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/1.011, allocations: 0 / 1.061 GB, free: 154 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004813/1.012, allocations: 85.22 kB / 1.061 GB, free: 154 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.001716/1.013, allocations: 1.067 MB / 1.062 GB, free: 153.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001064/1.014, allocations: 392.8 kB / 1.063 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.014, allocations: 4.594 kB / 1.063 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005849/1.015, allocations: 271.3 kB / 1.063 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007569/1.016, allocations: 121.6 kB / 1.063 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/1.019, allocations: 1.696 MB / 1.065 GB, free: 152.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/1.02, allocations: 0.7723 MB / 1.065 GB, free: 151.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002699/1.02, allocations: 58.72 kB / 1.066 GB, free: 151.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/1.02, allocations: 74.98 kB / 1.066 GB, free: 151.7 MB / 0.698 GB Notification: Performance of SimCode: time 7.82e-07/1.02, allocations: 0 / 1.066 GB, free: 151.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/1.051, allocations: 7.984 MB / 1.073 GB, free: 150 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/1.051, allocations: 271.8 kB / 1.074 GB, free: 149.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.207/3.258, allocations: 0 / 1.074 GB, free: 149.7 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)