Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.71/1.71, allocations: 285.6 MB / 293.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001419/0.001419, allocations: 172.9 kB / 361.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000878/0.0008776, allocations: 96.09 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.96e-05, allocations: 4 kB / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7208/0.7208, allocations: 115.3 MB / 0.9644 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.216/6.937, allocations: 2.076 GB / 3.04 GB, free: 271.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/6.938, allocations: 74 kB / 3.04 GB, free: 271.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.1163/7.054, allocations: 49.75 MB / 3.089 GB, free: 261.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.633e-06/7.054, allocations: 0.9062 kB / 3.089 GB, free: 261.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.386e-05/7.054, allocations: 3.562 kB / 3.089 GB, free: 261.3 MB / 0.9323 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.001339/7.055, allocations: 0.5666 MB / 3.09 GB, free: 260.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/7.055, allocations: 9.406 kB / 3.09 GB, free: 260.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/7.057, allocations: 135.3 kB / 3.09 GB, free: 260.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/7.057, allocations: 226.2 kB / 3.09 GB, free: 260.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/7.057, allocations: 7.188 kB / 3.09 GB, free: 260.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/7.057, allocations: 13.75 kB / 3.09 GB, free: 260.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006204/7.058, allocations: 313.5 kB / 3.09 GB, free: 260.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/7.058, allocations: 278.9 kB / 3.091 GB, free: 260.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/7.058, allocations: 0 / 3.091 GB, free: 260.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/7.058, allocations: 6.141 kB / 3.091 GB, free: 260.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.221e-05/7.059, allocations: 13.69 kB / 3.091 GB, free: 260.4 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/7.06, allocations: 1.097 MB / 3.092 GB, free: 259.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/7.061, allocations: 177.3 kB / 3.092 GB, free: 259.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/7.061, allocations: 79.84 kB / 3.092 GB, free: 259.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003809/7.061, allocations: 357.5 kB / 3.092 GB, free: 259 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/7.061, allocations: 33.19 kB / 3.092 GB, free: 258.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=21): time 1.894e-06/7.061, allocations: 0 / 3.092 GB, free: 258.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=21): time 0.000508/7.062, allocations: 181 kB / 3.092 GB, free: 258.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/7.062, allocations: 57.59 kB / 3.092 GB, free: 258.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/7.062, allocations: 136.3 kB / 3.093 GB, free: 258.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/7.062, allocations: 27.23 kB / 3.093 GB, free: 258.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 8.395e-05/7.062, allocations: 151.4 kB / 3.093 GB, free: 258.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/7.062, allocations: 71.28 kB / 3.093 GB, free: 258.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/7.062, allocations: 0 / 3.093 GB, free: 258.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.457e-05/7.062, allocations: 325.1 kB / 3.093 GB, free: 258.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/7.062, allocations: 58.81 kB / 3.093 GB, free: 258.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/7.062, allocations: 149.3 kB / 3.093 GB, free: 258.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/7.063, allocations: 92.08 kB / 3.093 GB, free: 258 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/7.063, allocations: 4.891 kB / 3.093 GB, free: 258 MB / 0.9323 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004669/7.063, allocations: 245.6 kB / 3.094 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/7.063, allocations: 6.906 kB / 3.094 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/7.063, allocations: 3.438 kB / 3.094 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/7.063, allocations: 8.969 kB / 3.094 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/7.063, allocations: 58.55 kB / 3.094 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/7.063, allocations: 8.156 kB / 3.094 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/7.064, allocations: 19.81 kB / 3.094 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/7.064, allocations: 16.66 kB / 3.094 GB, free: 257.9 MB / 0.9323 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 9.628e-05/7.064, allocations: 117.8 kB / 3.094 GB, free: 257.8 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003879/7.064, allocations: 173.5 kB / 3.094 GB, free: 257.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.972e-05/7.064, allocations: 13 kB / 3.094 GB, free: 257.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/7.065, allocations: 211.7 kB / 3.094 GB, free: 257.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/7.065, allocations: 2.375 kB / 3.094 GB, free: 257.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/7.065, allocations: 1.375 kB / 3.094 GB, free: 257.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/7.065, allocations: 0 / 3.094 GB, free: 257.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006638/7.066, allocations: 497.6 kB / 3.095 GB, free: 257.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/7.066, allocations: 1.031 kB / 3.095 GB, free: 257.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/7.066, allocations: 34.98 kB / 3.095 GB, free: 257.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/7.066, allocations: 1.969 kB / 3.095 GB, free: 257.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/7.066, allocations: 2.156 kB / 3.095 GB, free: 257.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/7.066, allocations: 0.9688 kB / 3.095 GB, free: 257.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/7.066, allocations: 5.125 kB / 3.095 GB, free: 257.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/7.066, allocations: 321.5 kB / 3.095 GB, free: 257 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/7.066, allocations: 114.2 kB / 3.095 GB, free: 256.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/7.066, allocations: 4.922 kB / 3.095 GB, free: 256.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/7.067, allocations: 9.094 kB / 3.095 GB, free: 256.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/7.067, allocations: 9.266 kB / 3.095 GB, free: 256.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/7.067, allocations: 20.44 kB / 3.095 GB, free: 256.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 6.95e-05/7.067, allocations: 110.8 kB / 3.095 GB, free: 256.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.91e-07/7.067, allocations: 0 / 3.095 GB, free: 256.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0007261/7.068, allocations: 144 kB / 3.096 GB, free: 256.8 MB / 0.9323 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.001873/7.069, allocations: 1.608 MB / 3.097 GB, free: 255.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003838/7.07, allocations: 167.5 kB / 3.097 GB, free: 255.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/7.07, allocations: 0 / 3.097 GB, free: 255.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/7.07, allocations: 77.7 kB / 3.097 GB, free: 255.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/7.07, allocations: 52.59 kB / 3.097 GB, free: 255.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000968/7.071, allocations: 306.4 kB / 3.098 GB, free: 255.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/7.072, allocations: 0.7388 MB / 3.098 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003208/7.072, allocations: 51.28 kB / 3.098 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/7.072, allocations: 49.3 kB / 3.098 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of SimCode: time 2.5e-07/7.072, allocations: 0 / 3.098 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03547/7.108, allocations: 9.424 MB / 3.108 GB, free: 250.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002836/7.108, allocations: 131.7 kB / 3.108 GB, free: 249.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/9.096, allocations: 2 kB / 3.108 GB, free: 249.9 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_AirProperties.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe 2>&1)