Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.547/2.547, allocations: 409.4 MB / 0.684 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004213, allocations: 12 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8644/0.8649, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1757/1.041, allocations: 146.6 MB / 1.124 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00492/1.046, allocations: 3.271 MB / 1.128 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000326/1.046, allocations: 7.938 kB / 1.128 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003919/1.046, allocations: 99.28 kB / 1.128 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0009959/1.047, allocations: 338.4 kB / 1.128 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/1.049, allocations: 469.1 kB / 1.128 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007182/1.049, allocations: 0.6907 MB / 1.129 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/1.05, allocations: 184.4 kB / 1.129 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005647/1.05, allocations: 290.9 kB / 1.13 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/1.051, allocations: 183.2 kB / 1.13 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/1.051, allocations: 12 kB / 1.13 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000688/1.051, allocations: 319.3 kB / 1.13 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/1.051, allocations: 79.75 kB / 1.13 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.594e-05/1.052, allocations: 77.52 kB / 1.13 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004287/1.052, allocations: 359.2 kB / 1.131 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.052, allocations: 3.984 kB / 1.131 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.463e-06/1.052, allocations: 4 kB / 1.131 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.51e-06/1.052, allocations: 0 / 1.131 GB, free: 12.84 MB / 0.8887 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.0009505/1.053, allocations: 0.5922 MB / 1.131 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/1.053, allocations: 8.031 kB / 1.131 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.962e-05/1.053, allocations: 62.53 kB / 1.131 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004524/1.054, allocations: 71.56 kB / 1.131 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/1.054, allocations: 289.5 kB / 1.132 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/1.054, allocations: 16.44 kB / 1.132 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/1.054, allocations: 16 kB / 1.132 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006066/1.055, allocations: 328.1 kB / 1.132 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.055, allocations: 11.98 kB / 1.132 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/1.055, allocations: 11.95 kB / 1.132 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/1.055, allocations: 11.94 kB / 1.132 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006212/1.055, allocations: 280.9 kB / 1.132 GB, free: 11.04 MB / 0.8887 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.001461/1.057, allocations: 1.252 MB / 1.133 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/1.057, allocations: 186.5 kB / 1.134 GB, free: 9.484 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/1.057, allocations: 144.8 kB / 1.134 GB, free: 9.34 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005604/1.058, allocations: 311.2 kB / 1.134 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/1.058, allocations: 38.56 kB / 1.134 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/1.058, allocations: 0 / 1.134 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of matching and sorting (n=14): time 0.002098/1.06, allocations: 0.6265 MB / 1.135 GB, free: 8.281 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/1.06, allocations: 55.41 kB / 1.135 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/1.061, allocations: 255 kB / 1.135 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/1.061, allocations: 29.7 kB / 1.135 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/1.061, allocations: 168.2 kB / 1.135 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.053e-05/1.061, allocations: 51.34 kB / 1.135 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/1.061, allocations: 0 / 1.135 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002108/1.061, allocations: 334.8 kB / 1.135 GB, free: 7.371 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/1.061, allocations: 111.9 kB / 1.136 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/1.062, allocations: 165.5 kB / 1.136 GB, free: 7.086 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/1.062, allocations: 120 kB / 1.136 GB, free: 6.969 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.062, allocations: 0 / 1.136 GB, free: 6.969 MB / 0.8887 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001146/1.063, allocations: 385.8 kB / 1.136 GB, free: 6.582 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/1.063, allocations: 8 kB / 1.136 GB, free: 6.574 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.063, allocations: 3.984 kB / 1.136 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005823/1.064, allocations: 88.89 kB / 1.136 GB, free: 6.48 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/1.064, allocations: 55.89 kB / 1.136 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/1.066, allocations: 1.603 MB / 1.138 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/1.067, allocations: 39.81 kB / 1.138 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/1.067, allocations: 8 kB / 1.138 GB, free: 4.641 MB / 0.8887 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.0001899/1.067, allocations: 153.7 kB / 1.138 GB, free: 4.48 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-05/1.067, allocations: 31.58 kB / 1.138 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/1.068, allocations: 396 kB / 1.139 GB, free: 4.051 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/1.068, allocations: 3.938 kB / 1.139 GB, free: 4.047 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/1.068, allocations: 4.188 kB / 1.139 GB, free: 4.043 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/1.068, allocations: 0 / 1.139 GB, free: 4.043 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/1.07, allocations: 0.8098 MB / 1.139 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.07, allocations: 3.953 kB / 1.139 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/1.07, allocations: 48.06 kB / 1.139 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004498/1.071, allocations: 92.75 kB / 1.139 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/1.071, allocations: 4 kB / 1.139 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/1.072, allocations: 1.617 MB / 1.141 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.072, allocations: 0 / 1.141 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/1.074, allocations: 492.3 kB / 1.142 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/1.074, allocations: 120.8 kB / 1.142 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/1.074, allocations: 4 kB / 1.142 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/1.074, allocations: 35.97 kB / 1.142 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.909e-05/1.074, allocations: 19.97 kB / 1.142 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/1.074, allocations: 4 kB / 1.142 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001889/1.074, allocations: 189.9 kB / 1.142 GB, free: 376 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.074, allocations: 0 / 1.142 GB, free: 376 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004596/1.075, allocations: 83.84 kB / 1.142 GB, free: 292 kB / 0.8887 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.001704/1.076, allocations: 1.075 MB / 1.143 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009542/1.077, allocations: 394.5 kB / 1.143 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.077, allocations: 4 kB / 1.143 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005433/1.078, allocations: 274.7 kB / 1.144 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000713/1.079, allocations: 122 kB / 1.144 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/1.082, allocations: 1.725 MB / 1.145 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/1.082, allocations: 0.7752 MB / 1.146 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002422/1.083, allocations: 54.25 kB / 1.146 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/1.083, allocations: 75.41 kB / 1.146 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of SimCode: time 5.01e-07/1.083, allocations: 0 / 1.146 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/1.109, allocations: 7.97 MB / 1.154 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/1.109, allocations: 259.2 kB / 1.154 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/3.058, allocations: 4 kB / 1.154 GB, free: 3.574 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat does not exist to compare? outputFormat=mat