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.123/2.123, allocations: 251 MB / 265.9 MB, free: 11.71 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001438/0.001437, allocations: 178.6 kB / 325.5 MB, free: 2.914 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.319/2.319, allocations: 205.4 MB / 0.5764 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001095, allocations: 86.33 kB / 0.6809 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006412/0.0006413, allocations: 11.59 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2176, allocations: 106.3 MB / 0.8988 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.308/7.526, allocations: 2.205 GB / 3.104 GB, free: 251.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/7.526, allocations: 73.86 kB / 3.104 GB, free: 251.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1804/7.707, allocations: 50.71 MB / 3.153 GB, free: 244 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.344e-06/7.707, allocations: 0 / 3.153 GB, free: 244 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.691e-05/7.707, allocations: 3.906 kB / 3.153 GB, free: 244 MB / 0.8855 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.001523/7.708, allocations: 0.5794 MB / 3.154 GB, free: 243.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/7.708, allocations: 15.66 kB / 3.154 GB, free: 243.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.87e-05/7.708, allocations: 57.75 kB / 3.154 GB, free: 243.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/7.71, allocations: 137.9 kB / 3.154 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/7.711, allocations: 217.5 kB / 3.154 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/7.711, allocations: 11.72 kB / 3.154 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/7.711, allocations: 22.59 kB / 3.154 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008159/7.712, allocations: 346.5 kB / 3.154 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/7.712, allocations: 0 / 3.154 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.792e-05/7.712, allocations: 11.03 kB / 3.154 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-05/7.712, allocations: 12.09 kB / 3.154 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008342/7.713, allocations: 318.7 kB / 3.155 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/7.715, allocations: 1.19 MB / 3.156 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007621/7.716, allocations: 194.5 kB / 3.156 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007089/7.716, allocations: 454.7 kB / 3.157 GB, free: 241.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/7.716, allocations: 42.16 kB / 3.157 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=20): time 2.856e-06/7.716, allocations: 4 kB / 3.157 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20): time 0.001026/7.717, allocations: 326.3 kB / 3.157 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/7.718, allocations: 55.25 kB / 3.157 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/7.718, allocations: 205.9 kB / 3.157 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/7.718, allocations: 29.61 kB / 3.157 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.352e-05/7.718, allocations: 152.5 kB / 3.157 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.238e-05/7.718, allocations: 61.97 kB / 3.157 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/7.718, allocations: 3.562 kB / 3.157 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.5e-05/7.718, allocations: 337.5 kB / 3.158 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/7.718, allocations: 69.44 kB / 3.158 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/7.719, allocations: 156 kB / 3.158 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/7.719, allocations: 97.48 kB / 3.158 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/7.719, allocations: 0 / 3.158 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008085/7.72, allocations: 288.9 kB / 3.158 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/7.72, allocations: 3.594 kB / 3.158 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/7.72, allocations: 3.969 kB / 3.158 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/7.72, allocations: 7.719 kB / 3.158 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005453/7.72, allocations: 58.67 kB / 3.158 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/7.72, allocations: 3.906 kB / 3.158 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004229/7.721, allocations: 34.62 kB / 3.158 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/7.721, allocations: 15.2 kB / 3.158 GB, free: 240.7 MB / 0.8855 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 () * 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.0002198/7.721, allocations: 149.2 kB / 3.159 GB, free: 240.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/7.721, allocations: 30.91 kB / 3.159 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006856/7.722, allocations: 241.8 kB / 3.159 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/7.722, allocations: 7.938 kB / 3.159 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/7.722, allocations: 0 / 3.159 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/7.722, allocations: 7.234 kB / 3.159 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009077/7.723, allocations: 0.5199 MB / 3.159 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/7.723, allocations: 3.906 kB / 3.159 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/7.723, allocations: 27.16 kB / 3.159 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/7.723, allocations: 0 / 3.159 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/7.723, allocations: 14.91 kB / 3.159 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/7.723, allocations: 0 / 3.159 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/7.723, allocations: 0 / 3.159 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007236/7.724, allocations: 324.3 kB / 3.16 GB, free: 240 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/7.724, allocations: 121.8 kB / 3.16 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.628e-05/7.725, allocations: 0 / 3.16 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/7.725, allocations: 18.88 kB / 3.16 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/7.725, allocations: 7.703 kB / 3.16 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.714e-05/7.725, allocations: 14.8 kB / 3.16 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001902/7.725, allocations: 154 kB / 3.16 GB, free: 239.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.8e-07/7.725, allocations: 0 / 3.16 GB, free: 239.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000927/7.726, allocations: 152.5 kB / 3.16 GB, free: 239.8 MB / 0.8855 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 () * Number of clocked 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.002141/7.728, allocations: 1.463 MB / 3.162 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005928/7.729, allocations: 189.5 kB / 3.162 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/7.729, allocations: 8.156 kB / 3.162 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/7.729, allocations: 84.69 kB / 3.162 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009465/7.73, allocations: 91.11 kB / 3.162 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/7.733, allocations: 3.276 MB / 3.165 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/7.734, allocations: 0.7464 MB / 3.166 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005531/7.734, allocations: 61.34 kB / 3.166 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/7.734, allocations: 49.64 kB / 3.166 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.182e-06/7.734, allocations: 4 kB / 3.166 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04705/7.781, allocations: 15.93 MB / 3.182 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/7.782, allocations: 159.6 kB / 3.182 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.299/11.08, allocations: 0 / 3.182 GB, free: 228.9 MB / 0.8855 GB