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.751/1.751, allocations: 289.7 MB / 302.3 MB, free: 2.145 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.001102/0.001102, allocations: 179.8 kB / 371.6 MB, free: 3.414 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.755/1.755, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001288/0.001289, allocations: 92.7 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.561e-05/5.601e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3393, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.55/6.89, allocations: 2.065 GB / 3.045 GB, free: 177.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/6.89, allocations: 84.48 kB / 3.045 GB, free: 177.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.127/8.017, allocations: 197.8 MB / 3.238 GB, free: 228.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.323e-06/8.017, allocations: 0 / 3.238 GB, free: 228.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.158e-05/8.017, allocations: 9.938 kB / 3.238 GB, free: 228.6 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.001348/8.018, allocations: 0.6405 MB / 3.239 GB, free: 228.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/8.018, allocations: 9.031 kB / 3.239 GB, free: 228.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.459e-05/8.018, allocations: 58.98 kB / 3.239 GB, free: 228.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005302/8.019, allocations: 69.95 kB / 3.239 GB, free: 228.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000473/8.019, allocations: 296.8 kB / 3.239 GB, free: 227.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/8.019, allocations: 16.84 kB / 3.239 GB, free: 227.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/8.019, allocations: 25.66 kB / 3.239 GB, free: 227.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/8.02, allocations: 264.7 kB / 3.24 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/8.02, allocations: 3.75 kB / 3.24 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/8.02, allocations: 15.58 kB / 3.24 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/8.02, allocations: 6.031 kB / 3.24 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/8.02, allocations: 168.8 kB / 3.24 GB, free: 227.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.001546/8.022, allocations: 1.252 MB / 3.241 GB, free: 227 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/8.022, allocations: 138.5 kB / 3.241 GB, free: 227 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/8.022, allocations: 92.36 kB / 3.241 GB, free: 227 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005012/8.023, allocations: 300.1 kB / 3.242 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/8.023, allocations: 30.56 kB / 3.242 GB, free: 226.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/8.023, allocations: 0 / 3.242 GB, free: 226.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.001088/8.024, allocations: 267.6 kB / 3.242 GB, free: 226.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/8.024, allocations: 56.66 kB / 3.242 GB, free: 226.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/8.024, allocations: 217.9 kB / 3.242 GB, free: 226.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/8.024, allocations: 34.64 kB / 3.242 GB, free: 226.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/8.024, allocations: 160 kB / 3.242 GB, free: 226.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/8.024, allocations: 55.22 kB / 3.242 GB, free: 226.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.577e-05/8.025, allocations: 4.938 kB / 3.242 GB, free: 226.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001099/8.025, allocations: 334.4 kB / 3.243 GB, free: 226 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/8.025, allocations: 61.25 kB / 3.243 GB, free: 226 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/8.025, allocations: 120.1 kB / 3.243 GB, free: 225.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/8.025, allocations: 76.89 kB / 3.243 GB, free: 225.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/8.025, allocations: 0 / 3.243 GB, free: 225.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007759/8.026, allocations: 274.6 kB / 3.243 GB, free: 225.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/8.026, allocations: 5.875 kB / 3.243 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/8.026, allocations: 3.75 kB / 3.243 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006218/8.027, allocations: 87.16 kB / 3.243 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/8.027, allocations: 51.58 kB / 3.243 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/8.029, allocations: 1.565 MB / 3.245 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/8.029, allocations: 49.25 kB / 3.245 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/8.029, allocations: 8.844 kB / 3.245 GB, free: 224.5 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 0.0001007/8.029, allocations: 113.1 kB / 3.245 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/8.029, allocations: 27.19 kB / 3.245 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008538/8.03, allocations: 293.4 kB / 3.245 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/8.03, allocations: 2.875 kB / 3.245 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/8.03, allocations: 3.656 kB / 3.245 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/8.03, allocations: 0 / 3.245 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/8.031, allocations: 0.6953 MB / 3.246 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/8.032, allocations: 7.125 kB / 3.246 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/8.032, allocations: 43.09 kB / 3.246 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/8.032, allocations: 92.59 kB / 3.246 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/8.032, allocations: 7 kB / 3.246 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/8.034, allocations: 1.58 MB / 3.248 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/8.034, allocations: 3.953 kB / 3.248 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007295/8.035, allocations: 416.5 kB / 3.248 GB, free: 222.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/8.035, allocations: 118.8 kB / 3.248 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/8.035, allocations: 5.375 kB / 3.248 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/8.035, allocations: 30.42 kB / 3.248 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.931e-05/8.035, allocations: 26.28 kB / 3.248 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/8.035, allocations: 12.34 kB / 3.248 GB, free: 222.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001886/8.035, allocations: 180.3 kB / 3.248 GB, free: 222.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/8.035, allocations: 3.062 kB / 3.248 GB, free: 222.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007783/8.036, allocations: 163.1 kB / 3.249 GB, free: 222.3 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.002542/8.039, allocations: 1.992 MB / 3.251 GB, free: 221.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006682/8.039, allocations: 284.9 kB / 3.251 GB, free: 221.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/8.039, allocations: 0 / 3.251 GB, free: 221.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003665/8.04, allocations: 216.8 kB / 3.251 GB, free: 221 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006554/8.04, allocations: 111.2 kB / 3.251 GB, free: 221 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008994/8.041, allocations: 434.2 kB / 3.252 GB, free: 220.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/8.042, allocations: 0.7785 MB / 3.252 GB, free: 220.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001978/8.042, allocations: 52.88 kB / 3.252 GB, free: 220.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/8.042, allocations: 78.34 kB / 3.252 GB, free: 220.1 MB / 0.948 GB Notification: Performance of SimCode: time 3.21e-07/8.042, allocations: 0 / 3.252 GB, free: 220.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04628/8.088, allocations: 25.12 MB / 3.277 GB, free: 219.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/8.088, allocations: 216.2 kB / 3.277 GB, free: 218.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.766/10.85, allocations: 0 / 3.277 GB, free: 218.9 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)