Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.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.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_RegStep",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.244/2.244, allocations: 248.5 MB / 261.1 MB, free: 6.043 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.001405/0.001404, allocations: 173.9 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.2 MB / 0.571 GB, free: 11.75 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.001041/0.00104, allocations: 105.9 kB / 0.6754 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.09e-05/7.104e-05, allocations: 8 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2032, allocations: 106.3 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8851/1.088, allocations: 130.7 MB / 1.018 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/1.089, allocations: 74 kB / 1.018 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001992/1.091, allocations: 0.5381 MB / 1.019 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/1.091, allocations: 0 / 1.019 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.392e-06/1.091, allocations: 0 / 1.019 GB, free: 3.969 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003082/1.091, allocations: 318.5 kB / 1.019 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/1.091, allocations: 12.03 kB / 1.019 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/1.091, allocations: 30.56 kB / 1.019 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002695/1.092, allocations: 15.97 kB / 1.019 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/1.092, allocations: 163 kB / 1.019 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/1.092, allocations: 0 / 1.019 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/1.092, allocations: 0 / 1.019 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/1.092, allocations: 41.06 kB / 1.02 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/1.092, allocations: 0 / 1.02 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/1.092, allocations: 4 kB / 1.02 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.092, allocations: 0 / 1.02 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.332e-05/1.092, allocations: 4 kB / 1.02 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/1.092, allocations: 153.6 kB / 1.02 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.772e-05/1.092, allocations: 21.98 kB / 1.02 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.651e-05/1.092, allocations: 4.859 kB / 1.02 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/1.092, allocations: 6.453 kB / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/1.092, allocations: 34.56 kB / 1.02 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 3.227e-06/1.092, allocations: 8.047 kB / 1.02 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001497/1.093, allocations: 33.69 kB / 1.02 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/1.093, allocations: 51.41 kB / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.634e-05/1.093, allocations: 85 kB / 1.02 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/1.093, allocations: 25.7 kB / 1.02 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/1.093, allocations: 80.14 kB / 1.02 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/1.093, allocations: 3.562 kB / 1.02 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/1.093, allocations: 0 / 1.02 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.093, allocations: 318.8 kB / 1.02 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/1.093, allocations: 4 kB / 1.02 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.356e-05/1.093, allocations: 0 / 1.02 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.834e-05/1.093, allocations: 7.938 kB / 1.02 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.093, allocations: 0 / 1.02 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.237e-05/1.093, allocations: 33.69 kB / 1.02 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.093, allocations: 4 kB / 1.02 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/1.093, allocations: 1.312 kB / 1.02 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/1.093, allocations: 8.094 kB / 1.02 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/1.093, allocations: 0 / 1.02 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/1.093, allocations: 0 / 1.02 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.62e-05/1.093, allocations: 7.984 kB / 1.02 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/1.093, allocations: 0 / 1.02 GB, free: 2.316 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 (1): * Single equations (assignments): 1 * 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 7.956e-05/1.093, allocations: 112.4 kB / 1.02 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/1.093, allocations: 0 / 1.02 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/1.094, allocations: 7.078 kB / 1.02 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/1.094, allocations: 8 kB / 1.02 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.094, allocations: 0 / 1.02 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.094, allocations: 0 / 1.02 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/1.094, allocations: 153.6 kB / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.094, allocations: 0 / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.424e-05/1.094, allocations: 4 kB / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.094, allocations: 0 / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/1.094, allocations: 0 / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/1.094, allocations: 3.938 kB / 1.021 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.094, allocations: 3.984 kB / 1.021 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/1.094, allocations: 59.64 kB / 1.021 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/1.094, allocations: 81.06 kB / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/1.094, allocations: 0 / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.468e-05/1.094, allocations: 11.92 kB / 1.021 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/1.094, allocations: 0 / 1.021 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/1.094, allocations: 0 / 1.021 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.405e-05/1.094, allocations: 75.28 kB / 1.021 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.41e-07/1.094, allocations: 4.031 kB / 1.021 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002204/1.094, allocations: 7.375 kB / 1.021 GB, free: 1.715 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 (1): * Single equations (assignments): 1 * 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.0004167/1.095, allocations: 0.5952 MB / 1.021 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.051e-05/1.095, allocations: 4 kB / 1.021 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.095, allocations: 4.094 kB / 1.021 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.03e-05/1.095, allocations: 4 kB / 1.021 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001022/1.095, allocations: 0 / 1.021 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/1.095, allocations: 82.39 kB / 1.022 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/1.096, allocations: 0.677 MB / 1.022 GB, free: 276 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.225e-05/1.096, allocations: 8.062 kB / 1.022 GB, free: 268 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/1.096, allocations: 7.438 kB / 1.022 GB, free: 260 kB / 0.6355 GB Notification: Performance of SimCode: time 9.01e-07/1.096, allocations: 0 / 1.022 GB, free: 260 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/1.118, allocations: 0.762 MB / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002981/1.118, allocations: 153.7 kB / 1.023 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/3.47, allocations: 6.812 kB / 1.023 GB, free: 15.39 MB / 0.6511 GB