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.316/2.316, allocations: 390.3 MB / 405.3 MB, free: 13.4 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.001169/0.00117, allocations: 177.1 kB / 498.1 MB, free: 5.684 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.523/1.523, allocations: 223.2 MB / 0.7948 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 96.34 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003548, allocations: 6.969 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2615, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.405/4.667, allocations: 1.87 GB / 3.093 GB, free: 117.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/4.667, allocations: 87.64 kB / 3.093 GB, free: 117.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.14/5.807, allocations: 199.9 MB / 3.288 GB, free: 394.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.332e-06/5.807, allocations: 3.031 kB / 3.288 GB, free: 394.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.6e-05/5.807, allocations: 11.88 kB / 3.288 GB, free: 394.6 MB / 1.167 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.001661/5.808, allocations: 0.6826 MB / 3.289 GB, free: 394 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/5.809, allocations: 11.22 kB / 3.289 GB, free: 394 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/5.809, allocations: 54.36 kB / 3.289 GB, free: 394 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006027/5.809, allocations: 75.83 kB / 3.289 GB, free: 393.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005482/5.81, allocations: 292.7 kB / 3.289 GB, free: 393.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/5.81, allocations: 19.84 kB / 3.289 GB, free: 393.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/5.81, allocations: 26.75 kB / 3.289 GB, free: 393.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006294/5.811, allocations: 316.4 kB / 3.289 GB, free: 393.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/5.811, allocations: 3.594 kB / 3.289 GB, free: 393.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/5.811, allocations: 11.95 kB / 3.289 GB, free: 393.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/5.811, allocations: 7.469 kB / 3.289 GB, free: 393.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006339/5.811, allocations: 268.7 kB / 3.29 GB, free: 393.3 MB / 1.167 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.00162/5.813, allocations: 1.257 MB / 3.291 GB, free: 392.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/5.813, allocations: 187.3 kB / 3.291 GB, free: 392.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005127/5.814, allocations: 303.5 kB / 3.291 GB, free: 391.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/5.814, allocations: 30.56 kB / 3.291 GB, free: 391.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=14): time 1.944e-06/5.814, allocations: 0 / 3.291 GB, free: 391.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=14): time 0.002236/5.816, allocations: 0.6164 MB / 3.292 GB, free: 391.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/5.816, allocations: 58.52 kB / 3.292 GB, free: 391.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/5.816, allocations: 214.4 kB / 3.292 GB, free: 391.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/5.816, allocations: 36.89 kB / 3.292 GB, free: 391.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 9.009e-05/5.817, allocations: 165.8 kB / 3.292 GB, free: 391 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/5.817, allocations: 46.45 kB / 3.292 GB, free: 390.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/5.817, allocations: 4 kB / 3.292 GB, free: 390.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.131e-05/5.817, allocations: 340.8 kB / 3.293 GB, free: 390.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/5.817, allocations: 107.3 kB / 3.293 GB, free: 390.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/5.817, allocations: 176.9 kB / 3.293 GB, free: 390.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/5.818, allocations: 127.9 kB / 3.293 GB, free: 390.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/5.818, allocations: 0 / 3.293 GB, free: 390.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001226/5.819, allocations: 373.9 kB / 3.293 GB, free: 390.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/5.819, allocations: 11.52 kB / 3.293 GB, free: 390.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/5.819, allocations: 0 / 3.293 GB, free: 390.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006628/5.82, allocations: 90.33 kB / 3.294 GB, free: 390.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/5.82, allocations: 49.12 kB / 3.294 GB, free: 390.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/5.822, allocations: 1.598 MB / 3.295 GB, free: 388.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/5.822, allocations: 41.5 kB / 3.295 GB, free: 388.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/5.823, allocations: 11.19 kB / 3.295 GB, free: 388.5 MB / 1.167 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.0002315/5.823, allocations: 150.1 kB / 3.295 GB, free: 388.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.427e-05/5.823, allocations: 26.77 kB / 3.295 GB, free: 388.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/5.824, allocations: 395.6 kB / 3.296 GB, free: 388.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/5.824, allocations: 3.938 kB / 3.296 GB, free: 388.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/5.824, allocations: 0 / 3.296 GB, free: 388.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/5.824, allocations: 0 / 3.296 GB, free: 388.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/5.826, allocations: 0.79 MB / 3.297 GB, free: 387.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/5.826, allocations: 0 / 3.297 GB, free: 387.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/5.826, allocations: 47.95 kB / 3.297 GB, free: 387.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005068/5.827, allocations: 92.81 kB / 3.297 GB, free: 387.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/5.827, allocations: 0 / 3.297 GB, free: 387.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/5.828, allocations: 1.617 MB / 3.298 GB, free: 385.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/5.828, allocations: 0 / 3.298 GB, free: 385.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/5.829, allocations: 0.514 MB / 3.299 GB, free: 384.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/5.83, allocations: 112.8 kB / 3.299 GB, free: 384.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/5.83, allocations: 8 kB / 3.299 GB, free: 384.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/5.83, allocations: 43.86 kB / 3.299 GB, free: 384.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.768e-05/5.83, allocations: 15.97 kB / 3.299 GB, free: 384.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/5.83, allocations: 8 kB / 3.299 GB, free: 384.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00014/5.83, allocations: 182 kB / 3.299 GB, free: 384.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.81e-07/5.83, allocations: 0 / 3.299 GB, free: 384.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.000796/5.831, allocations: 163.8 kB / 3.299 GB, free: 384.4 MB / 1.167 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.002714/5.834, allocations: 2.084 MB / 3.301 GB, free: 382.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001019/5.835, allocations: 403.7 kB / 3.302 GB, free: 382 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/5.835, allocations: 8 kB / 3.302 GB, free: 382 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005438/5.835, allocations: 266.7 kB / 3.302 GB, free: 381.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000632/5.836, allocations: 114.4 kB / 3.302 GB, free: 381.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/5.839, allocations: 2.3 MB / 3.304 GB, free: 379.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/5.84, allocations: 0.7754 MB / 3.305 GB, free: 378.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003862/5.84, allocations: 62.23 kB / 3.305 GB, free: 378.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/5.84, allocations: 79.41 kB / 3.305 GB, free: 378.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.113e-06/5.84, allocations: 0 / 3.305 GB, free: 378.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04692/5.887, allocations: 22.47 MB / 3.327 GB, free: 356 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/5.887, allocations: 246 kB / 3.327 GB, free: 355.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/8.382, allocations: 0 / 3.327 GB, free: 355.7 MB / 1.167 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