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.332/2.332, allocations: 251 MB / 265.9 MB, free: 11.7 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.001738/0.001738, allocations: 181.1 kB / 325.5 MB, free: 2.902 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.386/2.386, allocations: 205.4 MB / 0.5764 GB, free: 21.2 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.001155/0.001154, allocations: 103.9 kB / 0.6809 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004918, allocations: 14.06 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2223, allocations: 106.3 MB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2261/0.4484, allocations: 131.2 MB / 1.027 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.4488, allocations: 71.97 kB / 1.027 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003465/0.4523, allocations: 0.8327 MB / 1.028 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4523, allocations: 0 / 1.028 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.4523, allocations: 4 kB / 1.028 GB, free: 13.64 MB / 0.6823 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.0006602/0.453, allocations: 379.1 kB / 1.028 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.4531, allocations: 8.031 kB / 1.028 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.015e-05/0.4531, allocations: 30.56 kB / 1.028 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.4532, allocations: 4 kB / 1.028 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.4533, allocations: 171 kB / 1.028 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.4533, allocations: 3.938 kB / 1.028 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.4534, allocations: 0 / 1.028 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.4538, allocations: 85.64 kB / 1.028 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4538, allocations: 0 / 1.028 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.4538, allocations: 0 / 1.028 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.4538, allocations: 0 / 1.028 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005528/0.4544, allocations: 91.86 kB / 1.029 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000754/0.4552, allocations: 304.8 kB / 1.029 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.4555, allocations: 66.55 kB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.4556, allocations: 4.078 kB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.4556, allocations: 34.56 kB / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.4556, allocations: 0 / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0009506/0.4566, allocations: 161.7 kB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.4567, allocations: 55.36 kB / 1.029 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.4568, allocations: 105 kB / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.4568, allocations: 25.7 kB / 1.029 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.4569, allocations: 88.14 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.4569, allocations: 15.8 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.4569, allocations: 0 / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4571, allocations: 318.8 kB / 1.03 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.4573, allocations: 35.97 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.4576, allocations: 51.94 kB / 1.03 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.4579, allocations: 39.97 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4579, allocations: 0 / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006098/0.4586, allocations: 125.5 kB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.4586, allocations: 11.98 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.4586, allocations: 0 / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.4586, allocations: 0 / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.4589, allocations: 19.98 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4589, allocations: 0 / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.4591, allocations: 23.94 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.4591, allocations: 4 kB / 1.03 GB, free: 11.2 MB / 0.6823 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 () * Number of clocked 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.0001016/0.4592, allocations: 109.8 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.4593, allocations: 3.906 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.4593, allocations: 15.89 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.4593, allocations: 0 / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4594, allocations: 3.938 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4594, allocations: 0 / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.4596, allocations: 177.5 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4596, allocations: 4 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.4598, allocations: 31.91 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4598, allocations: 0 / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.4599, allocations: 0 / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4599, allocations: 0 / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4599, allocations: 0 / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006784/0.4606, allocations: 215.4 kB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.4606, allocations: 85.02 kB / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.4607, allocations: 4 kB / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.4609, allocations: 19.97 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.4609, allocations: 0 / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-06/0.4609, allocations: 0 / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.67e-05/0.461, allocations: 91.27 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/0.461, allocations: 0 / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002767/0.4613, allocations: 8 kB / 1.031 GB, free: 10.35 MB / 0.6823 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 () * Number of clocked 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.001012/0.4623, allocations: 0.7524 MB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006295/0.463, allocations: 91.92 kB / 1.032 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.463, allocations: 0 / 1.032 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.4633, allocations: 51.91 kB / 1.032 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.4636, allocations: 4 kB / 1.032 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005718/0.4642, allocations: 170.1 kB / 1.032 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.4645, allocations: 0.6887 MB / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.483e-05/0.4646, allocations: 8.359 kB / 1.032 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.4647, allocations: 11.44 kB / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/0.4647, allocations: 0 / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.4833, allocations: 1.279 MB / 1.034 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003659/0.4837, allocations: 190.3 kB / 1.034 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/2.934, allocations: 0 / 1.034 GB, free: 7.098 MB / 0.6823 GB