Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.339/2.339, allocations: 248.7 MB / 256.2 MB, free: 7.031 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.001535/0.001535, allocations: 176.8 kB / 315.4 MB, free: 4.055 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.233/2.233, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 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.001229/0.001229, allocations: 86.53 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.982e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1983, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9326/1.131, allocations: 131.4 MB / 1.012 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003582/1.131, allocations: 74.75 kB / 1.012 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005133/1.137, allocations: 0.8339 MB / 1.013 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.375e-06/1.137, allocations: 0 / 1.013 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.285e-05/1.137, allocations: 4 kB / 1.013 GB, free: 6.914 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008478/1.137, allocations: 354.1 kB / 1.014 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.207e-05/1.138, allocations: 16.03 kB / 1.014 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.961e-05/1.138, allocations: 3.906 kB / 1.014 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/1.138, allocations: 171 kB / 1.014 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/1.138, allocations: 1.812 kB / 1.014 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/1.138, allocations: 7.984 kB / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001536/1.138, allocations: 11.94 kB / 1.014 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/1.138, allocations: 41.52 kB / 1.014 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/1.138, allocations: 0 / 1.014 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/1.138, allocations: 0 / 1.014 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/1.138, allocations: 4 kB / 1.014 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000981/1.139, allocations: 280.9 kB / 1.014 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/1.14, allocations: 42.11 kB / 1.014 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.182e-05/1.14, allocations: 16.8 kB / 1.014 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/1.14, allocations: 0 / 1.014 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/1.14, allocations: 37.19 kB / 1.014 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.775e-06/1.14, allocations: 0 / 1.014 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002793/1.14, allocations: 48.98 kB / 1.014 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/1.14, allocations: 55.48 kB / 1.014 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/1.14, allocations: 100.9 kB / 1.014 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/1.14, allocations: 29.7 kB / 1.014 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/1.14, allocations: 83.95 kB / 1.015 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/1.141, allocations: 11.89 kB / 1.015 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/1.141, allocations: 0 / 1.015 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001827/1.141, allocations: 322.6 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.608e-05/1.141, allocations: 4.75 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.023e-05/1.141, allocations: 11.75 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.083e-05/1.141, allocations: 7.875 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.141, allocations: 0 / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001965/1.141, allocations: 57.28 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.218e-05/1.141, allocations: 4 kB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.569e-06/1.141, allocations: 0 / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/1.141, allocations: 4 kB / 1.015 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/1.142, allocations: 19.92 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.142, allocations: 0 / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/1.142, allocations: 27.97 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/1.142, allocations: 4 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001146/1.142, allocations: 104.9 kB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002229/1.142, allocations: 49.2 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/1.142, allocations: 15.83 kB / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.711e-05/1.143, allocations: 4.344 kB / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.143, allocations: 0 / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.143, allocations: 0 / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/1.143, allocations: 7.953 kB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/1.143, allocations: 150.1 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/1.143, allocations: 0 / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/1.143, allocations: 19.98 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/1.143, allocations: 3.984 kB / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/1.143, allocations: 0 / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.143, allocations: 0 / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.143, allocations: 4 kB / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/1.144, allocations: 151.3 kB / 1.015 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.03e-05/1.144, allocations: 85.02 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/1.144, allocations: 0 / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/1.144, allocations: 15.98 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/1.144, allocations: 4.266 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/1.144, allocations: 0 / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.751e-05/1.144, allocations: 90.91 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.71e-07/1.144, allocations: 0 / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005835/1.145, allocations: 7.938 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007869/1.146, allocations: 0.6872 MB / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001806/1.146, allocations: 23.19 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.146, allocations: 4 kB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.345e-05/1.146, allocations: 11.94 kB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/1.146, allocations: 7.984 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006458/1.147, allocations: 105.3 kB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/1.147, allocations: 0.6884 MB / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.056e-05/1.148, allocations: 4 kB / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/1.148, allocations: 11.38 kB / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of SimCode: time 1.182e-06/1.148, allocations: 0 / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04024/1.188, allocations: 0.9573 MB / 1.018 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003286/1.188, allocations: 153.7 kB / 1.018 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/3.431, allocations: 2.875 kB / 1.018 GB, free: 1.547 MB / 0.6355 GB