Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.815/1.815, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001281/0.001281, allocations: 185 kB / 377.1 MB, free: 1.523 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.704/1.704, allocations: 205.4 MB / 0.6366 GB, free: 8.621 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.001004/0.001004, allocations: 90.86 kB / 0.7509 GB, free: 62.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003676, allocations: 8 kB / 0.8748 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.304, allocations: 116.3 MB / 0.9884 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.759/6.063, allocations: 2.078 GB / 3.066 GB, free: 105.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/6.064, allocations: 78.11 kB / 3.066 GB, free: 105.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1007/6.164, allocations: 50.58 MB / 3.116 GB, free: 55.24 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.883e-06/6.165, allocations: 0 / 3.116 GB, free: 55.24 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.365e-06/6.165, allocations: 4.656 kB / 3.116 GB, free: 55.23 MB / 0.948 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.001003/6.166, allocations: 0.5772 MB / 3.116 GB, free: 54.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/6.166, allocations: 12.02 kB / 3.116 GB, free: 54.59 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.152e-05/6.166, allocations: 54.55 kB / 3.116 GB, free: 54.53 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/6.167, allocations: 135.6 kB / 3.116 GB, free: 54.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/6.167, allocations: 222.8 kB / 3.116 GB, free: 54.14 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/6.167, allocations: 16.38 kB / 3.117 GB, free: 54.12 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/6.167, allocations: 17.31 kB / 3.117 GB, free: 54.11 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004931/6.168, allocations: 334 kB / 3.117 GB, free: 53.76 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/6.168, allocations: 0 / 3.117 GB, free: 53.76 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/6.168, allocations: 11.95 kB / 3.117 GB, free: 53.75 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/6.168, allocations: 16 kB / 3.117 GB, free: 53.73 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004489/6.168, allocations: 320.1 kB / 3.117 GB, free: 53.42 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/6.17, allocations: 1.165 MB / 3.118 GB, free: 52.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/6.17, allocations: 198.6 kB / 3.119 GB, free: 51.95 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000411/6.17, allocations: 453.5 kB / 3.119 GB, free: 51.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/6.17, allocations: 34.56 kB / 3.119 GB, free: 51.37 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/6.17, allocations: 0 / 3.119 GB, free: 51.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.000596/6.171, allocations: 341.5 kB / 3.119 GB, free: 51.02 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/6.171, allocations: 51.41 kB / 3.119 GB, free: 50.95 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/6.171, allocations: 187.5 kB / 3.12 GB, free: 50.76 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/6.171, allocations: 29.7 kB / 3.12 GB, free: 50.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/6.171, allocations: 143.9 kB / 3.12 GB, free: 50.58 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/6.171, allocations: 74.92 kB / 3.12 GB, free: 50.51 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/6.171, allocations: 8 kB / 3.12 GB, free: 50.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.589e-05/6.171, allocations: 326.8 kB / 3.12 GB, free: 50.17 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/6.172, allocations: 76.16 kB / 3.12 GB, free: 50.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/6.172, allocations: 159.6 kB / 3.12 GB, free: 49.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/6.172, allocations: 94.52 kB / 3.12 GB, free: 49.81 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/6.172, allocations: 4 kB / 3.12 GB, free: 49.81 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00041/6.172, allocations: 281.1 kB / 3.121 GB, free: 49.53 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/6.172, allocations: 8 kB / 3.121 GB, free: 49.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/6.172, allocations: 4 kB / 3.121 GB, free: 49.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/6.172, allocations: 4 kB / 3.121 GB, free: 49.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/6.173, allocations: 56.02 kB / 3.121 GB, free: 49.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/6.173, allocations: 8.312 kB / 3.121 GB, free: 49.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/6.173, allocations: 35.69 kB / 3.121 GB, free: 49.42 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/6.173, allocations: 19.95 kB / 3.121 GB, free: 49.4 MB / 0.948 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.000103/6.173, allocations: 141.7 kB / 3.121 GB, free: 49.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/6.173, allocations: 19.81 kB / 3.121 GB, free: 49.23 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003946/6.173, allocations: 244.1 kB / 3.121 GB, free: 48.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/6.173, allocations: 4 kB / 3.121 GB, free: 48.98 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/6.174, allocations: 4 kB / 3.121 GB, free: 48.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/6.174, allocations: 0 / 3.121 GB, free: 48.98 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/6.174, allocations: 0.5428 MB / 3.122 GB, free: 48.37 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/6.174, allocations: 4 kB / 3.122 GB, free: 48.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/6.174, allocations: 33.23 kB / 3.122 GB, free: 48.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/6.174, allocations: 7.984 kB / 3.122 GB, free: 48.33 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/6.174, allocations: 4 kB / 3.122 GB, free: 48.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/6.174, allocations: 4 kB / 3.122 GB, free: 48.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/6.174, allocations: 8.062 kB / 3.122 GB, free: 48.31 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/6.175, allocations: 336.7 kB / 3.122 GB, free: 47.95 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/6.175, allocations: 116.8 kB / 3.122 GB, free: 47.82 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/6.175, allocations: 15.98 kB / 3.122 GB, free: 47.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/6.175, allocations: 8 kB / 3.122 GB, free: 47.79 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/6.175, allocations: 11.98 kB / 3.122 GB, free: 47.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/6.175, allocations: 15.94 kB / 3.122 GB, free: 47.77 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.089e-05/6.175, allocations: 149.4 kB / 3.122 GB, free: 47.62 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/6.175, allocations: 0 / 3.122 GB, free: 47.62 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006063/6.176, allocations: 155.8 kB / 3.123 GB, free: 47.47 MB / 0.948 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.001278/6.177, allocations: 1.557 MB / 3.124 GB, free: 45.89 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002939/6.177, allocations: 200.1 kB / 3.124 GB, free: 45.69 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/6.177, allocations: 0 / 3.124 GB, free: 45.69 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/6.178, allocations: 84.45 kB / 3.124 GB, free: 45.61 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/6.178, allocations: 91.62 kB / 3.124 GB, free: 45.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/6.18, allocations: 3.101 MB / 3.127 GB, free: 42.32 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/6.18, allocations: 0.7367 MB / 3.128 GB, free: 41.55 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000285/6.18, allocations: 58.19 kB / 3.128 GB, free: 41.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.606e-05/6.18, allocations: 59.42 kB / 3.128 GB, free: 41.44 MB / 0.948 GB Notification: Performance of SimCode: time 3.01e-07/6.18, allocations: 0 / 3.128 GB, free: 41.44 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/6.206, allocations: 15.76 MB / 3.144 GB, free: 25.84 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/6.206, allocations: 171.1 kB / 3.144 GB, free: 25.59 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/8.354, allocations: 4 kB / 3.144 GB, free: 25.58 MB / 0.948 GB (rm -f Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_AirProperties.fmu > Buildings_8_Buildings.Media.Examples.AirProperties.pipe 2>&1)