Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.447/2.447, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 176.8 kB / 487.4 MB, free: 5.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 87.86 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.058e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.266, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.959/4.225, allocations: 1.869 GB / 3.075 GB, free: 23.14 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003691/4.225, allocations: 83.95 kB / 3.075 GB, free: 23.06 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.9241/5.149, allocations: 197.1 MB / 3.268 GB, free: 291 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.915e-06/5.149, allocations: 0 / 3.268 GB, free: 291 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.631e-05/5.15, allocations: 12 kB / 3.268 GB, free: 291 MB / 1.151 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.001326/5.151, allocations: 0.6395 MB / 3.268 GB, free: 290.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/5.151, allocations: 8.031 kB / 3.268 GB, free: 290.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005959/5.151, allocations: 75.56 kB / 3.268 GB, free: 290.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/5.152, allocations: 301.9 kB / 3.269 GB, free: 289.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/5.152, allocations: 4 kB / 3.269 GB, free: 289.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/5.152, allocations: 19.95 kB / 3.269 GB, free: 289.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002952/5.152, allocations: 152.8 kB / 3.269 GB, free: 289.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/5.153, allocations: 239.4 kB / 3.269 GB, free: 289.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/5.153, allocations: 0 / 3.269 GB, free: 289.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/5.153, allocations: 7.938 kB / 3.269 GB, free: 289.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/5.153, allocations: 4 kB / 3.269 GB, free: 289.4 MB / 1.151 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.001326/5.154, allocations: 1.193 MB / 3.27 GB, free: 288.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/5.154, allocations: 130.5 kB / 3.27 GB, free: 288 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.703e-05/5.154, allocations: 80.83 kB / 3.27 GB, free: 287.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004379/5.155, allocations: 299.3 kB / 3.271 GB, free: 287.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/5.155, allocations: 30.56 kB / 3.271 GB, free: 287.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/5.155, allocations: 0 / 3.271 GB, free: 287.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=14): time 0.001023/5.156, allocations: 298 kB / 3.271 GB, free: 287.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/5.156, allocations: 55.39 kB / 3.271 GB, free: 287.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/5.156, allocations: 180.5 kB / 3.271 GB, free: 287 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/5.156, allocations: 25.7 kB / 3.271 GB, free: 287 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/5.156, allocations: 175.9 kB / 3.271 GB, free: 286.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/5.156, allocations: 47.3 kB / 3.271 GB, free: 286.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/5.156, allocations: 4 kB / 3.271 GB, free: 286.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.91e-05/5.156, allocations: 334.8 kB / 3.272 GB, free: 286.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.15e-05/5.156, allocations: 51.98 kB / 3.272 GB, free: 286.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.84e-05/5.157, allocations: 112.5 kB / 3.272 GB, free: 286.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/5.157, allocations: 103.9 kB / 3.272 GB, free: 286.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/5.157, allocations: 0 / 3.272 GB, free: 286.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007479/5.157, allocations: 290 kB / 3.272 GB, free: 285.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/5.158, allocations: 4 kB / 3.272 GB, free: 285.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/5.158, allocations: 0 / 3.272 GB, free: 285.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005709/5.158, allocations: 88.89 kB / 3.272 GB, free: 285.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/5.158, allocations: 55.89 kB / 3.272 GB, free: 285.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/5.16, allocations: 1.496 MB / 3.274 GB, free: 284 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/5.16, allocations: 39.88 kB / 3.274 GB, free: 284 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/5.16, allocations: 8 kB / 3.274 GB, free: 284 MB / 1.151 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.0001032/5.16, allocations: 101 kB / 3.274 GB, free: 283.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007583/5.161, allocations: 285.9 kB / 3.274 GB, free: 283.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/5.161, allocations: 19.81 kB / 3.274 GB, free: 283.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007577/5.162, allocations: 304.1 kB / 3.275 GB, free: 283.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/5.162, allocations: 4 kB / 3.275 GB, free: 283.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/5.162, allocations: 0 / 3.275 GB, free: 283.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/5.162, allocations: 0 / 3.275 GB, free: 283.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/5.163, allocations: 0.6736 MB / 3.275 GB, free: 282.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/5.163, allocations: 0 / 3.275 GB, free: 282.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/5.163, allocations: 44.06 kB / 3.275 GB, free: 282.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004563/5.164, allocations: 88.98 kB / 3.275 GB, free: 282.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/5.164, allocations: 4 kB / 3.275 GB, free: 282.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/5.165, allocations: 1.523 MB / 3.277 GB, free: 280.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/5.165, allocations: 0 / 3.277 GB, free: 280.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007436/5.166, allocations: 431.6 kB / 3.277 GB, free: 280.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-05/5.166, allocations: 116.8 kB / 3.277 GB, free: 280.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/5.166, allocations: 4 kB / 3.277 GB, free: 280.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/5.166, allocations: 35.91 kB / 3.277 GB, free: 280.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/5.166, allocations: 23.91 kB / 3.277 GB, free: 280.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/5.167, allocations: 4 kB / 3.277 GB, free: 280.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001022/5.167, allocations: 148.5 kB / 3.278 GB, free: 280 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.21e-07/5.167, allocations: 0 / 3.278 GB, free: 280 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006363/5.167, allocations: 139.8 kB / 3.278 GB, free: 279.8 MB / 1.151 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.002371/5.17, allocations: 2.128 MB / 3.28 GB, free: 277.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005768/5.17, allocations: 271.8 kB / 3.28 GB, free: 277.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/5.17, allocations: 0 / 3.28 GB, free: 277.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003517/5.171, allocations: 214 kB / 3.28 GB, free: 277.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000579/5.171, allocations: 88.45 kB / 3.28 GB, free: 277.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008558/5.172, allocations: 422.5 kB / 3.281 GB, free: 276.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/5.172, allocations: 0.7757 MB / 3.282 GB, free: 275.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001812/5.173, allocations: 50.05 kB / 3.282 GB, free: 275.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/5.173, allocations: 71.41 kB / 3.282 GB, free: 275.7 MB / 1.151 GB Notification: Performance of SimCode: time 2.3e-07/5.173, allocations: 4 kB / 3.282 GB, free: 275.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03538/5.208, allocations: 13.86 MB / 3.295 GB, free: 261.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/5.208, allocations: 168.6 kB / 3.295 GB, free: 261.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.29/7.498, allocations: 0 / 3.295 GB, free: 261.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat does not exist to compare? outputFormat=mat