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.316/1.316, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.001038/0.001038, allocations: 184.3 kB / 325.9 MB, free: 2.672 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.596/1.596, allocations: 205 MB / 0.576 GB, free: 20.97 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.0009527/0.0009528, allocations: 96.16 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003418, allocations: 17.5 kB / 0.7932 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2491, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1881/0.4373, allocations: 159 MB / 1.052 GB, free: 4.422 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005999/0.4434, allocations: 3.56 MB / 1.055 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005455/0.4439, allocations: 11.88 kB / 1.055 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005813/0.4446, allocations: 107.3 kB / 1.055 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.4462, allocations: 422.2 kB / 1.055 GB, free: 328 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.5829/1.029, allocations: 0.5319 MB / 1.056 GB, free: 2.262 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001388/1.031, allocations: 0.8079 MB / 1.057 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003494/1.031, allocations: 182.5 kB / 1.057 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/1.033, allocations: 310.4 kB / 1.057 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/1.033, allocations: 195.2 kB / 1.057 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/1.033, allocations: 11.38 kB / 1.057 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/1.034, allocations: 0.6239 MB / 1.058 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.085e-05/1.034, allocations: 84.38 kB / 1.058 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/1.034, allocations: 130.5 kB / 1.058 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009012/1.035, allocations: 0.5593 MB / 1.059 GB, free: 2.246 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.035, allocations: 3.188 kB / 1.059 GB, free: 2.246 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.904e-06/1.035, allocations: 0 / 1.059 GB, free: 2.246 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.093e-06/1.035, allocations: 0 / 1.059 GB, free: 2.246 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.001162/1.036, allocations: 0.5979 MB / 1.059 GB, free: 17.81 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/1.037, allocations: 11.12 kB / 1.059 GB, free: 17.81 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.624e-05/1.037, allocations: 57.42 kB / 1.059 GB, free: 17.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005487/1.037, allocations: 71.5 kB / 1.06 GB, free: 17.76 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/1.038, allocations: 295.1 kB / 1.06 GB, free: 17.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/1.038, allocations: 17.5 kB / 1.06 GB, free: 17.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/1.038, allocations: 17.5 kB / 1.06 GB, free: 17.54 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000701/1.038, allocations: 331.2 kB / 1.06 GB, free: 17.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/1.038, allocations: 7.5 kB / 1.06 GB, free: 17.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/1.038, allocations: 9.156 kB / 1.06 GB, free: 17.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/1.038, allocations: 4.938 kB / 1.06 GB, free: 17.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006948/1.039, allocations: 280.5 kB / 1.06 GB, free: 17.44 MB / 0.7136 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.001766/1.041, allocations: 1.262 MB / 1.062 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004954/1.041, allocations: 191.2 kB / 1.062 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/1.042, allocations: 146.3 kB / 1.062 GB, free: 16.53 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006417/1.042, allocations: 317 kB / 1.062 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/1.042, allocations: 37.27 kB / 1.062 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/1.042, allocations: 0 / 1.062 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.002319/1.045, allocations: 0.6195 MB / 1.063 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/1.045, allocations: 59.92 kB / 1.063 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/1.045, allocations: 249.3 kB / 1.063 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/1.045, allocations: 31.42 kB / 1.063 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/1.045, allocations: 164.3 kB / 1.063 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/1.045, allocations: 45.17 kB / 1.063 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/1.045, allocations: 25.89 kB / 1.064 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.046, allocations: 337.5 kB / 1.064 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/1.046, allocations: 108.9 kB / 1.064 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/1.046, allocations: 150.5 kB / 1.064 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006903/1.047, allocations: 279.4 kB / 1.064 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.047, allocations: 0 / 1.064 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001297/1.048, allocations: 385.4 kB / 1.065 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/1.048, allocations: 5.312 kB / 1.065 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.048, allocations: 1.469 kB / 1.065 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/1.049, allocations: 91.44 kB / 1.065 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/1.049, allocations: 51.52 kB / 1.065 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/1.052, allocations: 1.619 MB / 1.066 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/1.052, allocations: 45.64 kB / 1.066 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/1.052, allocations: 7.219 kB / 1.066 GB, free: 13.89 MB / 0.7136 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 (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 prepare postOptimizeDAE: time 0.0001813/1.052, allocations: 143.6 kB / 1.067 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/1.052, allocations: 31.34 kB / 1.067 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/1.054, allocations: 399.6 kB / 1.067 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.054, allocations: 1.375 kB / 1.067 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/1.054, allocations: 0.7812 kB / 1.067 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.054, allocations: 0.9375 kB / 1.067 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/1.056, allocations: 0.8092 MB / 1.068 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/1.056, allocations: 4.5 kB / 1.068 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/1.056, allocations: 47.02 kB / 1.068 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005355/1.056, allocations: 87.31 kB / 1.068 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/1.056, allocations: 9.531 kB / 1.068 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/1.059, allocations: 1.619 MB / 1.07 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.059, allocations: 1.062 kB / 1.07 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/1.06, allocations: 496.7 kB / 1.07 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/1.06, allocations: 117.9 kB / 1.07 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/1.06, allocations: 5.859 kB / 1.07 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/1.06, allocations: 36.8 kB / 1.07 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.98e-05/1.06, allocations: 22.42 kB / 1.07 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/1.06, allocations: 14.03 kB / 1.07 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002291/1.061, allocations: 183.2 kB / 1.07 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.061, allocations: 0 / 1.07 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000526/1.061, allocations: 82.91 kB / 1.07 GB, free: 11.65 MB / 0.7136 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 (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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001942/1.063, allocations: 1.075 MB / 1.072 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001185/1.064, allocations: 392.9 kB / 1.072 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.064, allocations: 0.5938 kB / 1.072 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006921/1.065, allocations: 270 kB / 1.072 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/1.066, allocations: 118.7 kB / 1.072 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005286/1.071, allocations: 2.978 MB / 1.075 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/1.072, allocations: 0.7744 MB / 1.076 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002679/1.072, allocations: 51.23 kB / 1.076 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/1.072, allocations: 76.03 kB / 1.076 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/1.072, allocations: 4 kB / 1.076 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.123/1.195, allocations: 7.944 MB / 1.084 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002702/1.195, allocations: 282.5 kB / 1.084 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/3.199, allocations: 0 / 1.084 GB, free: 7.449 MB / 0.7136 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)