Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.647/1.647, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001045/0.001045, allocations: 180.8 kB / 366.7 MB, free: 1.648 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.555/1.555, allocations: 205.3 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008866/0.0008867, allocations: 94.88 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.663e-05/2.663e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7623/0.7624, allocations: 116.3 MB / 0.9733 GB, free: 75.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.528/5.291, allocations: 2.064 GB / 3.038 GB, free: 65.38 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/5.291, allocations: 84.61 kB / 3.038 GB, free: 65.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.965/6.256, allocations: 195.2 MB / 3.229 GB, free: 254.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.513e-06/6.256, allocations: 0 / 3.229 GB, free: 254.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.391e-05/6.256, allocations: 7.984 kB / 3.229 GB, free: 254.3 MB / 0.948 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.001051/6.257, allocations: 0.6347 MB / 3.229 GB, free: 253.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/6.257, allocations: 8.031 kB / 3.229 GB, free: 253.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005029/6.258, allocations: 75.56 kB / 3.229 GB, free: 253.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/6.258, allocations: 299.8 kB / 3.23 GB, free: 253.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/6.258, allocations: 8 kB / 3.23 GB, free: 253.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/6.258, allocations: 12 kB / 3.23 GB, free: 253.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002544/6.258, allocations: 144.8 kB / 3.23 GB, free: 253.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/6.259, allocations: 243.9 kB / 3.23 GB, free: 252.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/6.259, allocations: 3.953 kB / 3.23 GB, free: 252.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/6.259, allocations: 0 / 3.23 GB, free: 252.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/6.259, allocations: 8 kB / 3.23 GB, free: 252.8 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.001217/6.26, allocations: 1.197 MB / 3.231 GB, free: 251.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/6.26, allocations: 130.6 kB / 3.231 GB, free: 251.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.664e-05/6.26, allocations: 80.83 kB / 3.231 GB, free: 251.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004251/6.261, allocations: 299.3 kB / 3.232 GB, free: 250.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/6.261, allocations: 34.56 kB / 3.232 GB, free: 250.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/6.261, allocations: 0 / 3.232 GB, free: 250.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.001041/6.262, allocations: 282.4 kB / 3.232 GB, free: 250.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/6.262, allocations: 63.77 kB / 3.232 GB, free: 250.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/6.262, allocations: 176.5 kB / 3.232 GB, free: 250.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/6.262, allocations: 29.7 kB / 3.232 GB, free: 250.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/6.262, allocations: 168 kB / 3.232 GB, free: 250.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/6.262, allocations: 51.23 kB / 3.232 GB, free: 250.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/6.262, allocations: 0 / 3.232 GB, free: 250.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.373e-05/6.262, allocations: 334.8 kB / 3.233 GB, free: 249.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.121e-05/6.262, allocations: 55.98 kB / 3.233 GB, free: 249.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.907e-05/6.262, allocations: 119.9 kB / 3.233 GB, free: 249.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/6.263, allocations: 96.55 kB / 3.233 GB, free: 249.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/6.263, allocations: 4 kB / 3.233 GB, free: 249.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007642/6.263, allocations: 290.6 kB / 3.233 GB, free: 249.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/6.263, allocations: 8 kB / 3.233 GB, free: 249.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/6.263, allocations: 3.938 kB / 3.233 GB, free: 249.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005633/6.264, allocations: 92.84 kB / 3.233 GB, free: 249.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/6.264, allocations: 47.95 kB / 3.233 GB, free: 249 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/6.266, allocations: 1.492 MB / 3.235 GB, free: 247.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/6.266, allocations: 31.92 kB / 3.235 GB, free: 247.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/6.266, allocations: 20.03 kB / 3.235 GB, free: 247.4 MB / 0.948 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 () * 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 7.72e-05/6.266, allocations: 112.9 kB / 3.235 GB, free: 247.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007608/6.267, allocations: 275.9 kB / 3.235 GB, free: 247 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/6.267, allocations: 23.7 kB / 3.235 GB, free: 247 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007699/6.268, allocations: 292.3 kB / 3.236 GB, free: 246.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/6.268, allocations: 0 / 3.236 GB, free: 246.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/6.268, allocations: 4 kB / 3.236 GB, free: 246.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/6.268, allocations: 11.88 kB / 3.236 GB, free: 246.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/6.269, allocations: 0.6698 MB / 3.236 GB, free: 245.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/6.269, allocations: 0 / 3.236 GB, free: 245.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/6.269, allocations: 43.91 kB / 3.236 GB, free: 245.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000451/6.27, allocations: 84.86 kB / 3.236 GB, free: 245.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/6.27, allocations: 4 kB / 3.236 GB, free: 245.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/6.271, allocations: 1.523 MB / 3.238 GB, free: 244.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/6.271, allocations: 4.031 kB / 3.238 GB, free: 244.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007351/6.272, allocations: 425 kB / 3.238 GB, free: 243.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-05/6.272, allocations: 120.8 kB / 3.238 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/6.272, allocations: 3.953 kB / 3.238 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/6.272, allocations: 31.97 kB / 3.238 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/6.272, allocations: 15.98 kB / 3.238 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/6.272, allocations: 11.98 kB / 3.238 GB, free: 243.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.794e-05/6.272, allocations: 144.5 kB / 3.239 GB, free: 243.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.272, allocations: 0 / 3.239 GB, free: 243.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005417/6.273, allocations: 139.7 kB / 3.239 GB, free: 243.2 MB / 0.948 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 () * 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.002009/6.275, allocations: 2.133 MB / 3.241 GB, free: 241 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005182/6.275, allocations: 277.9 kB / 3.241 GB, free: 240.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/6.275, allocations: 0 / 3.241 GB, free: 240.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003176/6.276, allocations: 218 kB / 3.241 GB, free: 240.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/6.276, allocations: 88.28 kB / 3.241 GB, free: 240.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000724/6.277, allocations: 417.1 kB / 3.242 GB, free: 240 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/6.277, allocations: 0.7757 MB / 3.243 GB, free: 239.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001756/6.277, allocations: 50.03 kB / 3.243 GB, free: 239.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.833e-05/6.277, allocations: 75.41 kB / 3.243 GB, free: 239.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/6.277, allocations: 0 / 3.243 GB, free: 239.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0292/6.307, allocations: 13.85 MB / 3.256 GB, free: 225.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/6.307, allocations: 164.2 kB / 3.256 GB, free: 225.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.214/8.52, allocations: 0 / 3.256 GB, free: 225.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)