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.844/1.844, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.002071/0.002071, allocations: 194.5 kB / 377.1 MB, free: 1.523 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.82/1.82, allocations: 205.4 MB / 0.6366 GB, free: 9.559 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.001006/0.001006, allocations: 91.84 kB / 0.7509 GB, free: 62.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003694, allocations: 15.98 kB / 0.8749 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3044, allocations: 116.3 MB / 0.9884 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.628/5.932, allocations: 2.065 GB / 3.054 GB, free: 155.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/5.933, allocations: 88.47 kB / 3.054 GB, free: 155.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.22/7.153, allocations: 198 MB / 3.247 GB, free: 232.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.953e-06/7.153, allocations: 0 / 3.247 GB, free: 232.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.317e-05/7.153, allocations: 12.56 kB / 3.247 GB, free: 232.1 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.002349/7.155, allocations: 0.6794 MB / 3.248 GB, free: 231.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/7.155, allocations: 9.469 kB / 3.248 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000151/7.156, allocations: 52.84 kB / 3.248 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008104/7.156, allocations: 76.05 kB / 3.248 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008024/7.157, allocations: 295.6 kB / 3.248 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/7.157, allocations: 15.75 kB / 3.248 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.268e-05/7.157, allocations: 22.75 kB / 3.248 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/7.158, allocations: 324.2 kB / 3.249 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/7.158, allocations: 3.438 kB / 3.249 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/7.158, allocations: 8.906 kB / 3.249 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/7.158, allocations: 6.219 kB / 3.249 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000967/7.159, allocations: 274.7 kB / 3.249 GB, free: 231.3 MB / 0.948 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.002487/7.162, allocations: 1.258 MB / 3.25 GB, free: 230.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006152/7.163, allocations: 189.8 kB / 3.25 GB, free: 230.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00069/7.163, allocations: 298.4 kB / 3.251 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/7.163, allocations: 34.25 kB / 3.251 GB, free: 230.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 4.048e-06/7.163, allocations: 0 / 3.251 GB, free: 230.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.003155/7.167, allocations: 0.6061 MB / 3.251 GB, free: 229.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/7.167, allocations: 58.59 kB / 3.251 GB, free: 229.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/7.167, allocations: 225.6 kB / 3.251 GB, free: 229.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/7.167, allocations: 29.33 kB / 3.251 GB, free: 229.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/7.167, allocations: 165.5 kB / 3.252 GB, free: 229.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.585e-05/7.167, allocations: 47.78 kB / 3.252 GB, free: 229.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/7.167, allocations: 6.875 kB / 3.252 GB, free: 229.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001107/7.167, allocations: 335.7 kB / 3.252 GB, free: 229.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/7.168, allocations: 121 kB / 3.252 GB, free: 229.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004584/7.168, allocations: 161.7 kB / 3.252 GB, free: 229.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004421/7.169, allocations: 121.5 kB / 3.252 GB, free: 229.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/7.169, allocations: 6.328 kB / 3.252 GB, free: 229.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001629/7.17, allocations: 379.8 kB / 3.253 GB, free: 229.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/7.17, allocations: 6.75 kB / 3.253 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/7.17, allocations: 0 / 3.253 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008636/7.171, allocations: 92.56 kB / 3.253 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/7.172, allocations: 49.64 kB / 3.253 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002813/7.174, allocations: 1.585 MB / 3.254 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/7.175, allocations: 50.86 kB / 3.254 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/7.175, allocations: 2.938 kB / 3.254 GB, free: 227.9 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 () * 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.0002876/7.175, allocations: 147.4 kB / 3.255 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/7.175, allocations: 27.33 kB / 3.255 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/7.177, allocations: 395.2 kB / 3.255 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/7.177, allocations: 0 / 3.255 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/7.177, allocations: 5.406 kB / 3.255 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/7.177, allocations: 3.328 kB / 3.255 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/7.179, allocations: 0.7971 MB / 3.256 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/7.179, allocations: 0 / 3.256 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/7.18, allocations: 44.48 kB / 3.256 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007085/7.181, allocations: 95.56 kB / 3.256 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/7.181, allocations: 3.938 kB / 3.256 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/7.183, allocations: 1.613 MB / 3.257 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/7.183, allocations: 7.844 kB / 3.258 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/7.185, allocations: 0.5049 MB / 3.258 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/7.185, allocations: 122.6 kB / 3.258 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.403e-05/7.185, allocations: 7.219 kB / 3.258 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004234/7.185, allocations: 30.16 kB / 3.258 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/7.185, allocations: 27.97 kB / 3.258 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/7.185, allocations: 3.219 kB / 3.258 GB, free: 225.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002617/7.186, allocations: 183.7 kB / 3.258 GB, free: 225.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 3e-07/7.186, allocations: 0 / 3.258 GB, free: 225.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001141/7.187, allocations: 160 kB / 3.259 GB, free: 225.6 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 () * 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.004264/7.191, allocations: 2.087 MB / 3.261 GB, free: 224.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001547/7.193, allocations: 395.1 kB / 3.261 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/7.193, allocations: 3.25 kB / 3.261 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008902/7.194, allocations: 272.7 kB / 3.261 GB, free: 224.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/7.195, allocations: 110.4 kB / 3.261 GB, free: 224.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005225/7.2, allocations: 2.309 MB / 3.264 GB, free: 223.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/7.2, allocations: 0.7751 MB / 3.264 GB, free: 222.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003716/7.201, allocations: 51.44 kB / 3.264 GB, free: 222.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/7.201, allocations: 73.77 kB / 3.264 GB, free: 222.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.352e-06/7.201, allocations: 3.156 kB / 3.264 GB, free: 222.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06525/7.266, allocations: 22.47 MB / 3.286 GB, free: 220.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/7.267, allocations: 240.1 kB / 3.287 GB, free: 220.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.097/10.36, allocations: 0 / 3.287 GB, free: 220.6 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)