Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.183/2.183, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001136/0.001136, allocations: 168.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0008629/0.0008631, allocations: 99.86 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.744e-05/2.754e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2419, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.579/4.821, allocations: 1.922 GB / 3.141 GB, free: 392.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/4.821, allocations: 71.95 kB / 3.141 GB, free: 392.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.09027/4.911, allocations: 48.08 MB / 3.188 GB, free: 344 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.132e-06/4.911, allocations: 4 kB / 3.188 GB, free: 344 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.918e-06/4.911, allocations: 4 kB / 3.188 GB, free: 344 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007971/4.912, allocations: 0.5461 MB / 3.189 GB, free: 343.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/4.912, allocations: 8.031 kB / 3.189 GB, free: 343.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.609e-05/4.912, allocations: 54.55 kB / 3.189 GB, free: 343.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/4.913, allocations: 139.6 kB / 3.189 GB, free: 343.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/4.914, allocations: 210.8 kB / 3.189 GB, free: 342.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/4.914, allocations: 16.38 kB / 3.189 GB, free: 342.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/4.914, allocations: 19.98 kB / 3.189 GB, free: 342.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/4.914, allocations: 342.1 kB / 3.189 GB, free: 342.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/4.914, allocations: 3.953 kB / 3.189 GB, free: 342.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/4.914, allocations: 12 kB / 3.189 GB, free: 342.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/4.914, allocations: 15.98 kB / 3.189 GB, free: 342.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004236/4.915, allocations: 316.2 kB / 3.19 GB, free: 342.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/4.916, allocations: 1.163 MB / 3.191 GB, free: 340.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/4.916, allocations: 188.1 kB / 3.191 GB, free: 340.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/4.916, allocations: 81.02 kB / 3.191 GB, free: 340.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003075/4.917, allocations: 364.4 kB / 3.191 GB, free: 340.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/4.917, allocations: 34.56 kB / 3.191 GB, free: 340.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=21): time 1.472e-06/4.917, allocations: 0 / 3.191 GB, free: 340.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=21): time 0.0004289/4.917, allocations: 188.9 kB / 3.192 GB, free: 340 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/4.917, allocations: 55.41 kB / 3.192 GB, free: 339.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/4.917, allocations: 190.3 kB / 3.192 GB, free: 339.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/4.917, allocations: 29.7 kB / 3.192 GB, free: 339.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/4.918, allocations: 143.9 kB / 3.192 GB, free: 339.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/4.918, allocations: 70.94 kB / 3.192 GB, free: 339.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/4.918, allocations: 8 kB / 3.192 GB, free: 339.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.448e-05/4.918, allocations: 334.7 kB / 3.192 GB, free: 339.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.967e-05/4.918, allocations: 68.23 kB / 3.193 GB, free: 339.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/4.918, allocations: 152.8 kB / 3.193 GB, free: 338.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/4.918, allocations: 93.56 kB / 3.193 GB, free: 338.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/4.918, allocations: 0 / 3.193 GB, free: 338.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003664/4.918, allocations: 279.3 kB / 3.193 GB, free: 338.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/4.918, allocations: 4.109 kB / 3.193 GB, free: 338.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/4.918, allocations: 7.938 kB / 3.193 GB, free: 338.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/4.918, allocations: 4 kB / 3.193 GB, free: 338.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/4.919, allocations: 55.92 kB / 3.193 GB, free: 338.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/4.919, allocations: 19.88 kB / 3.193 GB, free: 338.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/4.919, allocations: 28 kB / 3.193 GB, free: 338.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/4.919, allocations: 16 kB / 3.193 GB, free: 338.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.674e-05/4.919, allocations: 120.9 kB / 3.193 GB, free: 338.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/4.919, allocations: 23.72 kB / 3.193 GB, free: 338.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/4.92, allocations: 233 kB / 3.194 GB, free: 338 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/4.92, allocations: 4 kB / 3.194 GB, free: 338 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/4.92, allocations: 0 / 3.194 GB, free: 338 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/4.92, allocations: 3.953 kB / 3.194 GB, free: 338 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005109/4.92, allocations: 0.5284 MB / 3.194 GB, free: 337.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/4.92, allocations: 0 / 3.194 GB, free: 337.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/4.92, allocations: 35.92 kB / 3.194 GB, free: 337.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/4.92, allocations: 7.984 kB / 3.194 GB, free: 337.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/4.92, allocations: 4 kB / 3.194 GB, free: 337.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/4.92, allocations: 0 / 3.194 GB, free: 337.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/4.92, allocations: 4 kB / 3.194 GB, free: 337.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/4.921, allocations: 325.7 kB / 3.194 GB, free: 337 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/4.921, allocations: 120.8 kB / 3.195 GB, free: 336.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/4.921, allocations: 4 kB / 3.195 GB, free: 336.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/4.921, allocations: 19.98 kB / 3.195 GB, free: 336.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/4.921, allocations: 15.94 kB / 3.195 GB, free: 336.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/4.921, allocations: 16 kB / 3.195 GB, free: 336.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 9.397e-05/4.921, allocations: 148.3 kB / 3.195 GB, free: 336.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.31e-07/4.921, allocations: 0 / 3.195 GB, free: 336.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0005055/4.922, allocations: 155.8 kB / 3.195 GB, free: 336.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001173/4.923, allocations: 1.545 MB / 3.196 GB, free: 334.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002826/4.923, allocations: 185.2 kB / 3.197 GB, free: 334.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/4.923, allocations: 128 / 3.197 GB, free: 334.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 9.418e-05/4.923, allocations: 83.89 kB / 3.197 GB, free: 334.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/4.924, allocations: 90.22 kB / 3.197 GB, free: 334.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007268/4.925, allocations: 329 kB / 3.197 GB, free: 334.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/4.925, allocations: 0.7372 MB / 3.198 GB, free: 333.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002858/4.925, allocations: 58.03 kB / 3.198 GB, free: 333.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/4.925, allocations: 59.41 kB / 3.198 GB, free: 333.3 MB / 1.167 GB Notification: Performance of SimCode: time 7.01e-07/4.925, allocations: 0 / 3.198 GB, free: 333.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/4.95, allocations: 17.41 MB / 3.215 GB, free: 316.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000119/4.95, allocations: 141.8 kB / 3.215 GB, free: 315.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/7.175, allocations: 4 kB / 3.215 GB, free: 315.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_AirProperties.fmu > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat does not exist to compare? outputFormat=mat