Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_7_0_0_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",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.438/2.438, allocations: 248.7 MB / 256.2 MB, free: 7.004 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.001454/0.001454, allocations: 170.4 kB / 315.4 MB, free: 4.008 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.236/2.236, allocations: 205.3 MB / 0.5662 GB, free: 0.6172 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.001206/0.001206, allocations: 101.6 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.13e-05/3.137e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2105, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9047/1.115, allocations: 137.1 MB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/1.116, allocations: 97.12 kB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02505/1.141, allocations: 6.146 MB / 1.024 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.323e-06/1.141, allocations: 0 / 1.024 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.288e-05/1.141, allocations: 11.98 kB / 1.024 GB, free: 12.67 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001127/1.142, allocations: 0.5696 MB / 1.025 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/1.142, allocations: 8.031 kB / 1.025 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/1.142, allocations: 50.02 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006721/1.143, allocations: 353.2 kB / 1.025 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/1.143, allocations: 8 kB / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/1.143, allocations: 12 kB / 1.025 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004449/1.143, allocations: 147.6 kB / 1.025 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/1.144, allocations: 231.5 kB / 1.025 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/1.144, allocations: 0.9375 kB / 1.025 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/1.144, allocations: 0 / 1.025 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/1.144, allocations: 7.953 kB / 1.025 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/1.146, allocations: 0.9357 MB / 1.026 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007358/1.147, allocations: 186 kB / 1.027 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/1.147, allocations: 77.16 kB / 1.027 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/1.147, allocations: 0 / 1.027 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/1.147, allocations: 34.56 kB / 1.027 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/1.147, allocations: 7.938 kB / 1.027 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0005194/1.148, allocations: 172.6 kB / 1.027 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/1.148, allocations: 158.2 kB / 1.027 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/1.148, allocations: 266.6 kB / 1.027 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/1.148, allocations: 25.7 kB / 1.027 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/1.148, allocations: 197.3 kB / 1.027 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.956e-05/1.148, allocations: 43.17 kB / 1.027 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.588e-05/1.148, allocations: 0 / 1.027 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001922/1.149, allocations: 348.5 kB / 1.028 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/1.149, allocations: 50.19 kB / 1.028 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/1.149, allocations: 96.22 kB / 1.028 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/1.149, allocations: 49.48 kB / 1.028 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.149, allocations: 0 / 1.028 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004259/1.15, allocations: 179 kB / 1.028 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/1.15, allocations: 6.188 kB / 1.028 GB, free: 9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.15, allocations: 4 kB / 1.028 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/1.15, allocations: 0 / 1.028 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/1.15, allocations: 55.58 kB / 1.028 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/1.15, allocations: 0 / 1.028 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/1.151, allocations: 39.83 kB / 1.028 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/1.151, allocations: 7.984 kB / 1.028 GB, free: 8.898 MB / 0.6511 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 (15): * Single equations (assignments): 15 * 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.0001445/1.151, allocations: 107.7 kB / 1.028 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004227/1.151, allocations: 177.1 kB / 1.029 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.398e-05/1.151, allocations: 31.62 kB / 1.029 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/1.151, allocations: 37.7 kB / 1.029 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/1.151, allocations: 0 / 1.029 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.151, allocations: 0 / 1.029 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/1.151, allocations: 7.984 kB / 1.029 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/1.152, allocations: 339.6 kB / 1.029 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.152, allocations: 0 / 1.029 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/1.152, allocations: 43.97 kB / 1.029 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/1.152, allocations: 3.953 kB / 1.029 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/1.152, allocations: 3.984 kB / 1.029 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/1.152, allocations: 0 / 1.029 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.152, allocations: 8 kB / 1.029 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004814/1.153, allocations: 271.9 kB / 1.029 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/1.153, allocations: 134.2 kB / 1.029 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/1.153, allocations: 3.953 kB / 1.029 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/1.154, allocations: 27.98 kB / 1.029 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/1.154, allocations: 11.97 kB / 1.029 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/1.154, allocations: 7.75 kB / 1.029 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002916/1.154, allocations: 206.4 kB / 1.03 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.154, allocations: 3.938 kB / 1.03 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004408/1.155, allocations: 47.84 kB / 1.03 GB, free: 7.605 MB / 0.6511 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 (15): * Single equations (assignments): 15 * 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.0008117/1.155, allocations: 0.8152 MB / 1.03 GB, free: 6.816 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003743/1.156, allocations: 125.8 kB / 1.031 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.156, allocations: 0 / 1.031 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/1.156, allocations: 71.36 kB / 1.031 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007346/1.157, allocations: 73.92 kB / 1.031 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/1.158, allocations: 395 kB / 1.031 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/1.158, allocations: 0.7835 MB / 1.032 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002461/1.159, allocations: 38.05 kB / 1.032 GB, free: 5.402 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/1.159, allocations: 105.9 kB / 1.032 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of SimCode: time 7.01e-07/1.159, allocations: 0 / 1.032 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04675/1.206, allocations: 5.644 MB / 1.038 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002976/1.206, allocations: 179.5 kB / 1.038 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/3.676, allocations: 4 kB / 1.038 GB, free: 15.6 MB / 0.6667 GB