Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirProperties.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.307/2.307, allocations: 248.7 MB / 256.2 MB, free: 7.023 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 178.9 kB / 315.4 MB, free: 4.012 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.257/2.257, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 95.86 kB / 0.6704 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.4e-05/2.412e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2033, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.385/7.588, allocations: 2.205 GB / 3.089 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/7.588, allocations: 72.77 kB / 3.089 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1765/7.765, allocations: 49.9 MB / 3.138 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.403e-06/7.765, allocations: 0 / 3.138 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.608e-05/7.765, allocations: 4 kB / 3.138 GB, free: 106.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001328/7.766, allocations: 0.5684 MB / 3.138 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/7.766, allocations: 12.03 kB / 3.138 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/7.768, allocations: 135.6 kB / 3.138 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/7.768, allocations: 226.8 kB / 3.139 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/7.768, allocations: 7.984 kB / 3.139 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/7.769, allocations: 16 kB / 3.139 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007305/7.769, allocations: 308.7 kB / 3.139 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005536/7.77, allocations: 290.5 kB / 3.139 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/7.77, allocations: 0 / 3.139 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.152e-05/7.77, allocations: 0 / 3.139 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/7.77, allocations: 12.38 kB / 3.139 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/7.772, allocations: 1.139 MB / 3.14 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/7.773, allocations: 178.5 kB / 3.141 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/7.773, allocations: 68.83 kB / 3.141 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005024/7.773, allocations: 356.4 kB / 3.141 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/7.773, allocations: 30.56 kB / 3.141 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 3.487e-06/7.773, allocations: 4 kB / 3.141 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0006435/7.774, allocations: 172.1 kB / 3.141 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/7.774, allocations: 59.41 kB / 3.141 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/7.774, allocations: 145.3 kB / 3.141 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/7.774, allocations: 25.7 kB / 3.141 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/7.774, allocations: 159.8 kB / 3.142 GB, free: 102 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/7.775, allocations: 63.02 kB / 3.142 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/7.775, allocations: 0 / 3.142 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.622e-05/7.775, allocations: 326.8 kB / 3.142 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/7.775, allocations: 64.23 kB / 3.142 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/7.775, allocations: 160.4 kB / 3.142 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/7.775, allocations: 80.62 kB / 3.142 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/7.775, allocations: 4 kB / 3.142 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006869/7.776, allocations: 247.6 kB / 3.142 GB, free: 101 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/7.776, allocations: 4 kB / 3.142 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/7.776, allocations: 4 kB / 3.142 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.149e-05/7.776, allocations: 8 kB / 3.142 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/7.777, allocations: 63.91 kB / 3.143 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/7.777, allocations: 12.28 kB / 3.143 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/7.777, allocations: 31.78 kB / 3.143 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/7.777, allocations: 15.94 kB / 3.143 GB, free: 100.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 0.0001332/7.777, allocations: 104.9 kB / 3.143 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005285/7.778, allocations: 169.4 kB / 3.143 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-05/7.778, allocations: 11.91 kB / 3.143 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005763/7.779, allocations: 202.6 kB / 3.143 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/7.779, allocations: 7.984 kB / 3.143 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/7.779, allocations: 0 / 3.143 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/7.779, allocations: 4 kB / 3.143 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009386/7.78, allocations: 470.1 kB / 3.144 GB, free: 99.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/7.78, allocations: 11.89 kB / 3.144 GB, free: 99.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/7.78, allocations: 27.98 kB / 3.144 GB, free: 99.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/7.78, allocations: 0 / 3.144 GB, free: 99.84 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/7.78, allocations: 4 kB / 3.144 GB, free: 99.83 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/7.78, allocations: 32 / 3.144 GB, free: 99.83 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/7.78, allocations: 7.984 kB / 3.144 GB, free: 99.82 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/7.781, allocations: 289.8 kB / 3.144 GB, free: 99.52 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/7.781, allocations: 112.8 kB / 3.144 GB, free: 99.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/7.781, allocations: 4 kB / 3.144 GB, free: 99.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/7.781, allocations: 11.98 kB / 3.144 GB, free: 99.37 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/7.781, allocations: 15.92 kB / 3.144 GB, free: 99.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.811e-05/7.781, allocations: 12 kB / 3.144 GB, free: 99.34 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001117/7.782, allocations: 123.9 kB / 3.144 GB, free: 99.22 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.01e-07/7.782, allocations: 0 / 3.144 GB, free: 99.22 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008493/7.782, allocations: 135.9 kB / 3.144 GB, free: 99.09 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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.001961/7.784, allocations: 1.517 MB / 3.146 GB, free: 97.54 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005049/7.785, allocations: 174 kB / 3.146 GB, free: 97.38 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/7.785, allocations: 0 / 3.146 GB, free: 97.38 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/7.785, allocations: 71.91 kB / 3.146 GB, free: 97.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006252/7.786, allocations: 52.78 kB / 3.146 GB, free: 97.25 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/7.787, allocations: 303.7 kB / 3.146 GB, free: 96.92 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/7.787, allocations: 0.7365 MB / 3.147 GB, free: 96.16 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005284/7.788, allocations: 49.81 kB / 3.147 GB, free: 96.11 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/7.788, allocations: 55.42 kB / 3.147 GB, free: 96.05 MB / 0.8698 GB Notification: Performance of SimCode: time 1.092e-06/7.788, allocations: 0 / 3.147 GB, free: 96.05 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04848/7.836, allocations: 9.487 MB / 3.156 GB, free: 86.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/7.837, allocations: 124.2 kB / 3.157 GB, free: 86.41 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.029/10.87, allocations: 0 / 3.157 GB, free: 86.41 MB / 0.8698 GB