Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.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.AirDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck",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.181/2.181, allocations: 251 MB / 265.9 MB, free: 11.74 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.001603/0.001603, allocations: 181.5 kB / 325.5 MB, free: 2.926 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.281/2.281, allocations: 205.4 MB / 0.5764 GB, free: 20.78 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.00172/0.001719, allocations: 105.8 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004959, allocations: 12.44 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2338, allocations: 106.3 MB / 0.8988 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.427/7.661, allocations: 2.208 GB / 3.107 GB, free: 251.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/7.662, allocations: 76.42 kB / 3.107 GB, free: 251.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1134/7.775, allocations: 29.66 MB / 3.136 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.405e-06/7.775, allocations: 0 / 3.136 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.705e-06/7.775, allocations: 7.844 kB / 3.136 GB, free: 247.3 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005035/7.776, allocations: 387.4 kB / 3.136 GB, free: 246.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/7.776, allocations: 11.72 kB / 3.136 GB, free: 246.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/7.776, allocations: 37.36 kB / 3.136 GB, free: 246.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000512/7.776, allocations: 36.22 kB / 3.136 GB, free: 246.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.26e-05/7.776, allocations: 170.2 kB / 3.136 GB, free: 246.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/7.776, allocations: 7.844 kB / 3.136 GB, free: 246.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/7.776, allocations: 7.656 kB / 3.136 GB, free: 246.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/7.777, allocations: 75.77 kB / 3.136 GB, free: 246.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/7.777, allocations: 0 / 3.136 GB, free: 246.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/7.777, allocations: 3.953 kB / 3.136 GB, free: 246.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/7.777, allocations: 3.906 kB / 3.136 GB, free: 246.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/7.777, allocations: 42.75 kB / 3.136 GB, free: 246.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/7.777, allocations: 188.3 kB / 3.137 GB, free: 246.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/7.777, allocations: 89.97 kB / 3.137 GB, free: 246.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/7.778, allocations: 179.5 kB / 3.137 GB, free: 246.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/7.778, allocations: 34.56 kB / 3.137 GB, free: 246.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 1.974e-06/7.778, allocations: 4 kB / 3.137 GB, free: 246.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.001837/7.78, allocations: 0.5372 MB / 3.137 GB, free: 245.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/7.78, allocations: 59.23 kB / 3.137 GB, free: 245.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.554e-05/7.78, allocations: 100.2 kB / 3.138 GB, free: 245.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/7.78, allocations: 33.2 kB / 3.138 GB, free: 245.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.058e-05/7.78, allocations: 80.52 kB / 3.138 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.534e-05/7.78, allocations: 76.44 kB / 3.138 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/7.78, allocations: 3.5 kB / 3.138 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.781e-05/7.78, allocations: 318.2 kB / 3.138 GB, free: 245.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.19e-05/7.78, allocations: 37.72 kB / 3.138 GB, free: 245.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/7.78, allocations: 75.11 kB / 3.138 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/7.78, allocations: 37.91 kB / 3.138 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/7.78, allocations: 3.969 kB / 3.138 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003094/7.781, allocations: 159.3 kB / 3.138 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/7.781, allocations: 7.875 kB / 3.138 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/7.781, allocations: 0 / 3.138 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/7.781, allocations: 3.969 kB / 3.138 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/7.781, allocations: 38.8 kB / 3.138 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/7.781, allocations: 3.953 kB / 3.138 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.826e-05/7.781, allocations: 11.78 kB / 3.138 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/7.781, allocations: 3.906 kB / 3.138 GB, free: 245.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001098/7.781, allocations: 121.2 kB / 3.138 GB, free: 245.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/7.781, allocations: 11.62 kB / 3.138 GB, free: 245.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.299e-05/7.781, allocations: 15.38 kB / 3.139 GB, free: 245.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/7.781, allocations: 0 / 3.139 GB, free: 245.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/7.781, allocations: 7.875 kB / 3.139 GB, free: 245 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/7.781, allocations: 11.56 kB / 3.139 GB, free: 245 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/7.782, allocations: 191.5 kB / 3.139 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/7.782, allocations: 4 kB / 3.139 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/7.782, allocations: 38.67 kB / 3.139 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/7.782, allocations: 3.969 kB / 3.139 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/7.782, allocations: 0 / 3.139 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/7.782, allocations: 0 / 3.139 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/7.782, allocations: 0 / 3.139 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004849/7.783, allocations: 209.7 kB / 3.139 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.492e-05/7.783, allocations: 94.3 kB / 3.139 GB, free: 244.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/7.783, allocations: 5.656 kB / 3.139 GB, free: 244.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/7.783, allocations: 10.91 kB / 3.139 GB, free: 244.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/7.783, allocations: 17.05 kB / 3.139 GB, free: 244.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/7.783, allocations: 8.016 kB / 3.139 GB, free: 244.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.089e-05/7.783, allocations: 77.94 kB / 3.139 GB, free: 244.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.21e-07/7.783, allocations: 0 / 3.139 GB, free: 244.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000469/7.784, allocations: 65.91 kB / 3.139 GB, free: 244.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001493/7.785, allocations: 1.187 MB / 3.14 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003496/7.785, allocations: 112 kB / 3.14 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/7.785, allocations: 0 / 3.14 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/7.786, allocations: 53.42 kB / 3.141 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/7.786, allocations: 12.59 kB / 3.141 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/7.788, allocations: 1.462 MB / 3.142 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/7.788, allocations: 0.7022 MB / 3.143 GB, free: 242 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000245/7.788, allocations: 25.7 kB / 3.143 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/7.789, allocations: 25.91 kB / 3.143 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.472e-06/7.789, allocations: 0 / 3.143 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03886/7.827, allocations: 11.1 MB / 3.154 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002804/7.828, allocations: 179.7 kB / 3.154 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.848/10.68, allocations: 0 / 3.154 GB, free: 240.8 MB / 0.8855 GB