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.299/2.299, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001259/0.001259, allocations: 183.9 kB / 0.4901 GB, free: 2.246 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.019/2.019, allocations: 223.1 MB / 0.7992 GB, free: 15.67 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.001039/0.001039, allocations: 96.31 kB / 0.9396 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.000386, allocations: 10.5 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3426, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.01/5.352, allocations: 1.922 GB / 3.152 GB, free: 10.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/5.353, allocations: 73.28 kB / 3.152 GB, free: 10.66 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.9039/6.257, allocations: 48.13 MB / 3.199 GB, free: 432.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.023e-06/6.257, allocations: 0 / 3.199 GB, free: 432.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.113e-05/6.257, allocations: 8.188 kB / 3.199 GB, free: 432.7 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.001462/6.258, allocations: 0.5567 MB / 3.199 GB, free: 432.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.515e-05/6.258, allocations: 9.281 kB / 3.199 GB, free: 432.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/6.258, allocations: 62.89 kB / 3.199 GB, free: 432.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/6.26, allocations: 137.5 kB / 3.199 GB, free: 432.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/6.26, allocations: 222.6 kB / 3.2 GB, free: 431.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/6.26, allocations: 19.69 kB / 3.2 GB, free: 431.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/6.26, allocations: 15.16 kB / 3.2 GB, free: 431.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007228/6.261, allocations: 337.9 kB / 3.2 GB, free: 431.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/6.261, allocations: 0 / 3.2 GB, free: 431.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/6.261, allocations: 14.95 kB / 3.2 GB, free: 431.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-05/6.261, allocations: 20.92 kB / 3.2 GB, free: 431.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/6.262, allocations: 320 kB / 3.2 GB, free: 431.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/6.263, allocations: 1.154 MB / 3.201 GB, free: 430.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/6.264, allocations: 187.4 kB / 3.202 GB, free: 430.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000521/6.264, allocations: 457.2 kB / 3.202 GB, free: 430.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/6.265, allocations: 41.06 kB / 3.202 GB, free: 430.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=21): time 3.757e-06/6.265, allocations: 3.984 kB / 3.202 GB, free: 430.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=21): time 0.0007317/6.265, allocations: 343.3 kB / 3.202 GB, free: 429.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/6.265, allocations: 54.19 kB / 3.202 GB, free: 429.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/6.265, allocations: 191.1 kB / 3.203 GB, free: 429.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/6.266, allocations: 28.11 kB / 3.203 GB, free: 429.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 7.884e-05/6.266, allocations: 139.8 kB / 3.203 GB, free: 429.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/6.266, allocations: 79.77 kB / 3.203 GB, free: 429.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.448e-05/6.266, allocations: 5 kB / 3.203 GB, free: 429.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.445e-05/6.266, allocations: 331.8 kB / 3.203 GB, free: 429.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/6.266, allocations: 68.62 kB / 3.203 GB, free: 429.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/6.266, allocations: 155 kB / 3.203 GB, free: 429.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/6.266, allocations: 96.55 kB / 3.203 GB, free: 429.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/6.266, allocations: 1.469 kB / 3.203 GB, free: 429.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005527/6.267, allocations: 287.4 kB / 3.204 GB, free: 428.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/6.267, allocations: 5.812 kB / 3.204 GB, free: 428.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/6.267, allocations: 2.969 kB / 3.204 GB, free: 428.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/6.267, allocations: 4.344 kB / 3.204 GB, free: 428.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/6.267, allocations: 60.72 kB / 3.204 GB, free: 428.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/6.267, allocations: 15.94 kB / 3.204 GB, free: 428.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/6.268, allocations: 28.72 kB / 3.204 GB, free: 428.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/6.268, allocations: 12.06 kB / 3.204 GB, free: 428.9 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 () * Number of clocked 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 0.0001389/6.268, allocations: 140.3 kB / 3.204 GB, free: 428.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/6.268, allocations: 24 kB / 3.204 GB, free: 428.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005307/6.268, allocations: 255.6 kB / 3.204 GB, free: 428.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/6.268, allocations: 2.062 kB / 3.204 GB, free: 428.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/6.268, allocations: 0 / 3.204 GB, free: 428.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/6.268, allocations: 0 / 3.204 GB, free: 428.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007246/6.269, allocations: 0.5493 MB / 3.205 GB, free: 428.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/6.269, allocations: 3.938 kB / 3.205 GB, free: 428.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/6.269, allocations: 34.69 kB / 3.205 GB, free: 428.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/6.269, allocations: 2.344 kB / 3.205 GB, free: 428.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/6.269, allocations: 9 kB / 3.205 GB, free: 428.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/6.269, allocations: 10.77 kB / 3.205 GB, free: 428.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/6.269, allocations: 0 / 3.205 GB, free: 428.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004814/6.27, allocations: 341 kB / 3.205 GB, free: 428 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/6.27, allocations: 124.3 kB / 3.205 GB, free: 427.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/6.27, allocations: 6.25 kB / 3.205 GB, free: 427.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/6.27, allocations: 16.8 kB / 3.205 GB, free: 427.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/6.271, allocations: 10.02 kB / 3.205 GB, free: 427.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-05/6.271, allocations: 12.56 kB / 3.205 GB, free: 427.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001584/6.271, allocations: 151.2 kB / 3.205 GB, free: 427.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/6.271, allocations: 0.5 kB / 3.205 GB, free: 427.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009279/6.272, allocations: 156.2 kB / 3.206 GB, free: 427.8 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 () * Number of clocked 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.002053/6.274, allocations: 1.565 MB / 3.207 GB, free: 426.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003832/6.274, allocations: 196.6 kB / 3.207 GB, free: 426.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/6.274, allocations: 0 / 3.207 GB, free: 426.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/6.274, allocations: 85.22 kB / 3.207 GB, free: 426.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005938/6.275, allocations: 94.95 kB / 3.208 GB, free: 426.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/6.278, allocations: 3.116 MB / 3.211 GB, free: 423.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/6.278, allocations: 0.7402 MB / 3.211 GB, free: 423.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003819/6.278, allocations: 59.73 kB / 3.211 GB, free: 423.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/6.278, allocations: 57.05 kB / 3.211 GB, free: 423.1 MB / 1.167 GB Notification: Performance of SimCode: time 8.52e-07/6.278, allocations: 3.938 kB / 3.211 GB, free: 423.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03556/6.314, allocations: 15.9 MB / 3.227 GB, free: 412.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/6.314, allocations: 163.9 kB / 3.227 GB, free: 412.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/8.691, allocations: 0 / 3.227 GB, free: 412.2 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