Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.AirProperties.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.Media.Examples.AirProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirProperties",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.209/2.209, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001342/0.001342, allocations: 175.7 kB / 492.3 MB, free: 0.625 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.419/1.419, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0008244/0.0008245, allocations: 90.78 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.584e-05/2.588e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2332, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.658/4.892, allocations: 1.921 GB / 3.134 GB, free: 409.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/4.892, allocations: 67.97 kB / 3.134 GB, free: 409.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.09614/4.988, allocations: 48.08 MB / 3.181 GB, free: 360.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.984e-06/4.988, allocations: 0 / 3.181 GB, free: 360.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.127e-05/4.988, allocations: 4 kB / 3.181 GB, free: 360.6 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001062/4.989, allocations: 0.5577 MB / 3.181 GB, free: 360 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/4.989, allocations: 8.031 kB / 3.181 GB, free: 360 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.905e-05/4.989, allocations: 58.53 kB / 3.182 GB, free: 360 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/4.991, allocations: 139.5 kB / 3.182 GB, free: 359.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/4.991, allocations: 214.8 kB / 3.182 GB, free: 359.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/4.991, allocations: 20.31 kB / 3.182 GB, free: 359.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/4.991, allocations: 16 kB / 3.182 GB, free: 359.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/4.991, allocations: 342.1 kB / 3.182 GB, free: 359.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/4.991, allocations: 0 / 3.182 GB, free: 359.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/4.992, allocations: 15.95 kB / 3.182 GB, free: 359.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/4.992, allocations: 11.94 kB / 3.182 GB, free: 359.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004974/4.992, allocations: 320.2 kB / 3.183 GB, free: 358.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/4.993, allocations: 1.152 MB / 3.184 GB, free: 357.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/4.994, allocations: 189.2 kB / 3.184 GB, free: 357.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/4.994, allocations: 78.33 kB / 3.184 GB, free: 357.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003543/4.994, allocations: 364.4 kB / 3.184 GB, free: 356.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/4.994, allocations: 34.56 kB / 3.184 GB, free: 356.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/4.994, allocations: 0 / 3.184 GB, free: 356.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=21): time 0.0004675/4.995, allocations: 195.9 kB / 3.185 GB, free: 356.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/4.995, allocations: 55.41 kB / 3.185 GB, free: 356.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/4.995, allocations: 182.3 kB / 3.185 GB, free: 356.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/4.995, allocations: 29.7 kB / 3.185 GB, free: 356.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/4.995, allocations: 155.9 kB / 3.185 GB, free: 356.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/4.995, allocations: 63.02 kB / 3.185 GB, free: 356.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/4.995, allocations: 8 kB / 3.185 GB, free: 356.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.658e-05/4.995, allocations: 334.8 kB / 3.185 GB, free: 355.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/4.995, allocations: 64.25 kB / 3.185 GB, free: 355.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/4.996, allocations: 156.8 kB / 3.186 GB, free: 355.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/4.996, allocations: 94.31 kB / 3.186 GB, free: 355.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/4.996, allocations: 0 / 3.186 GB, free: 355.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003964/4.996, allocations: 280 kB / 3.186 GB, free: 355.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/4.996, allocations: 4 kB / 3.186 GB, free: 355.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/4.996, allocations: 4 kB / 3.186 GB, free: 355.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/4.996, allocations: 4 kB / 3.186 GB, free: 355.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/4.996, allocations: 59.91 kB / 3.186 GB, free: 355.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/4.997, allocations: 7.938 kB / 3.186 GB, free: 355.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/4.997, allocations: 39.55 kB / 3.186 GB, free: 355.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/4.997, allocations: 12 kB / 3.186 GB, free: 355.1 MB / 1.151 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.838e-05/4.997, allocations: 129 kB / 3.186 GB, free: 354.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/4.997, allocations: 19.81 kB / 3.186 GB, free: 354.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003765/4.997, allocations: 228.1 kB / 3.186 GB, free: 354.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/4.997, allocations: 3.984 kB / 3.186 GB, free: 354.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/4.997, allocations: 7.984 kB / 3.186 GB, free: 354.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/4.997, allocations: 0 / 3.186 GB, free: 354.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005367/4.998, allocations: 0.5364 MB / 3.187 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/4.998, allocations: 0 / 3.187 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/4.998, allocations: 31.98 kB / 3.187 GB, free: 354 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/4.998, allocations: 0 / 3.187 GB, free: 354 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/4.998, allocations: 4 kB / 3.187 GB, free: 354 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/4.998, allocations: 0 / 3.187 GB, free: 354 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/4.998, allocations: 4 kB / 3.187 GB, free: 354 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/4.998, allocations: 332.8 kB / 3.187 GB, free: 353.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/4.999, allocations: 116.8 kB / 3.187 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/4.999, allocations: 4 kB / 3.187 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/4.999, allocations: 15.98 kB / 3.187 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/4.999, allocations: 15.94 kB / 3.187 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/4.999, allocations: 19.98 kB / 3.187 GB, free: 353.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 9.021e-05/4.999, allocations: 148.3 kB / 3.188 GB, free: 353.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/4.999, allocations: 0 / 3.188 GB, free: 353.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006516/5, allocations: 147.9 kB / 3.188 GB, free: 353.2 MB / 1.151 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.001388/5.001, allocations: 1.551 MB / 3.189 GB, free: 351.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003098/5.001, allocations: 183.8 kB / 3.189 GB, free: 351.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/5.001, allocations: 0.75 kB / 3.189 GB, free: 351.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 9.908e-05/5.002, allocations: 79.84 kB / 3.189 GB, free: 351.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/5.002, allocations: 97.69 kB / 3.19 GB, free: 351.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007985/5.003, allocations: 326.8 kB / 3.19 GB, free: 350.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/5.003, allocations: 0.7406 MB / 3.191 GB, free: 350.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003131/5.003, allocations: 58.03 kB / 3.191 GB, free: 350.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/5.004, allocations: 55.42 kB / 3.191 GB, free: 350 MB / 1.151 GB Notification: Performance of SimCode: time 2.21e-07/5.004, allocations: 0 / 3.191 GB, free: 350 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/5.035, allocations: 17.42 MB / 3.208 GB, free: 332.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/5.035, allocations: 140.5 kB / 3.208 GB, free: 332.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/7.182, allocations: 7.938 kB / 3.208 GB, free: 332.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_AirProperties.fmu > Buildings_9_Buildings.Media.Examples.AirProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.AirProperties_res.mat does not exist to compare? outputFormat=mat