Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",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.217/2.217, allocations: 248.7 MB / 256.2 MB, free: 7.059 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.001411/0.00141, allocations: 179.5 kB / 315.4 MB, free: 4.027 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.05/2.05, allocations: 205.3 MB / 0.5662 GB, free: 0.5625 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.001197/0.001197, allocations: 92.36 kB / 0.6704 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.236e-05/2.244e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2114, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8692/1.081, allocations: 132.6 MB / 1.014 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004513/1.081, allocations: 87.11 kB / 1.014 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005716/1.087, allocations: 1.291 MB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.262e-06/1.087, allocations: 0 / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.386e-06/1.087, allocations: 0 / 1.015 GB, free: 5.027 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007494/1.088, allocations: 392.2 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/1.088, allocations: 8.031 kB / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/1.088, allocations: 7.906 kB / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/1.088, allocations: 181.7 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/1.088, allocations: 0 / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/1.088, allocations: 4 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001519/1.088, allocations: 37.23 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/1.089, allocations: 63.56 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.089, allocations: 0 / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/1.089, allocations: 0 / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/1.089, allocations: 4 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008068/1.089, allocations: 340.6 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/1.09, allocations: 50.38 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.508e-05/1.09, allocations: 19.42 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/1.09, allocations: 0 / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/1.09, allocations: 67.83 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/1.09, allocations: 0 / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002304/1.09, allocations: 67.84 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/1.09, allocations: 51.41 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/1.09, allocations: 114.7 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/1.09, allocations: 25.7 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/1.09, allocations: 95.28 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/1.09, allocations: 15.12 kB / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-06/1.09, allocations: 0 / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.091, allocations: 326.5 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.857e-05/1.091, allocations: 14.75 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.013e-05/1.091, allocations: 41.12 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.822e-05/1.091, allocations: 21.58 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.091, allocations: 0 / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001761/1.091, allocations: 68.47 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.091, allocations: 8 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.091, allocations: 8 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/1.091, allocations: 3.953 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/1.091, allocations: 19.92 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/1.091, allocations: 0 / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/1.092, allocations: 23.97 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/1.092, allocations: 7.812 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,conEquSta.onSys,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.pulseStart,onSys.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.948e-05/1.092, allocations: 105 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001855/1.092, allocations: 64.25 kB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/1.092, allocations: 11.86 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.982e-05/1.092, allocations: 11.5 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/1.092, allocations: 0 / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.092, allocations: 0 / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1.092, allocations: 0 / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/1.092, allocations: 160.2 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/1.092, allocations: 0 / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/1.092, allocations: 15.98 kB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.092, allocations: 4 kB / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/1.092, allocations: 0 / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/1.092, allocations: 3.953 kB / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/1.092, allocations: 0 / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/1.093, allocations: 89.53 kB / 1.017 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/1.093, allocations: 84.95 kB / 1.017 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/1.093, allocations: 8 kB / 1.017 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/1.093, allocations: 19.97 kB / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-05/1.093, allocations: 27.11 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/1.093, allocations: 4 kB / 1.018 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.211e-05/1.093, allocations: 90.09 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.81e-07/1.093, allocations: 0 / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002822/1.093, allocations: 16 kB / 1.018 GB, free: 2.184 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: 5 ($whenCondition1,conEquSta.onSys,conEquSta.onBoi,conEquSta.hys.y,onSys.pulseStart) * Number of discrete states: 1 (conEquSta.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000463/1.094, allocations: 0.6193 MB / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001758/1.094, allocations: 43 kB / 1.018 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.094, allocations: 0 / 1.018 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/1.094, allocations: 17.62 kB / 1.018 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/1.095, allocations: 26.52 kB / 1.018 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007731/1.095, allocations: 135.7 kB / 1.018 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/1.096, allocations: 0.6963 MB / 1.019 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.087e-05/1.096, allocations: 4.188 kB / 1.019 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.87e-05/1.096, allocations: 29.48 kB / 1.019 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of SimCode: time 1.192e-06/1.096, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03779/1.134, allocations: 1.491 MB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/1.134, allocations: 178.5 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/3.448, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.6511 GB