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.242/2.242, allocations: 248.7 MB / 256.2 MB, free: 7.047 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.001483/0.001483, allocations: 179.3 kB / 315.4 MB, free: 4.016 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.181/2.181, 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.001069/0.001069, allocations: 87.06 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.65e-05/4.661e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2772, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8843/1.162, allocations: 131 MB / 1.012 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/1.162, allocations: 74.02 kB / 1.012 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001963/1.164, allocations: 0.5398 MB / 1.013 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/1.164, allocations: 0 / 1.013 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.72e-06/1.164, allocations: 0 / 1.013 GB, free: 7.242 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.0003034/1.164, allocations: 314.5 kB / 1.013 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/1.164, allocations: 8.031 kB / 1.013 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002572/1.165, allocations: 15.97 kB / 1.013 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/1.165, allocations: 170.8 kB / 1.013 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/1.165, allocations: 4 kB / 1.013 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/1.165, allocations: 0 / 1.013 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.421e-05/1.165, allocations: 4 kB / 1.013 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.974e-05/1.165, allocations: 25.7 kB / 1.013 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.165, allocations: 3.938 kB / 1.013 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/1.165, allocations: 0 / 1.013 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/1.165, allocations: 3.984 kB / 1.013 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/1.165, allocations: 130.2 kB / 1.013 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.79e-05/1.165, allocations: 18.58 kB / 1.013 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/1.165, allocations: 8.953 kB / 1.013 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/1.165, allocations: 0 / 1.013 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/1.165, allocations: 35.31 kB / 1.013 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/1.165, allocations: 2.625 kB / 1.013 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000147/1.166, allocations: 33.69 kB / 1.013 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/1.166, allocations: 55.34 kB / 1.013 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.254e-05/1.166, allocations: 85 kB / 1.014 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/1.166, allocations: 29.73 kB / 1.014 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.467e-05/1.166, allocations: 80.14 kB / 1.014 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/1.166, allocations: 4 kB / 1.014 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/1.166, allocations: 0 / 1.014 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.166, allocations: 310.8 kB / 1.014 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.33e-05/1.166, allocations: 0 / 1.014 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.045e-05/1.166, allocations: 0 / 1.014 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.274e-05/1.166, allocations: 4 kB / 1.014 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.166, allocations: 4.062 kB / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.531e-05/1.166, allocations: 41.52 kB / 1.014 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.166, allocations: 4 kB / 1.014 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/1.166, allocations: 0 / 1.014 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.166, allocations: 4 kB / 1.014 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/1.166, allocations: 0 / 1.014 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/1.166, allocations: 3.984 kB / 1.014 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/1.166, allocations: 4 kB / 1.014 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/1.166, allocations: 0 / 1.014 GB, free: 5.684 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 8.891e-05/1.167, allocations: 112.9 kB / 1.014 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.919e-05/1.167, allocations: 41.16 kB / 1.014 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/1.167, allocations: 7.969 kB / 1.014 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.02e-05/1.167, allocations: 11.64 kB / 1.014 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.167, allocations: 0 / 1.014 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/1.167, allocations: 0 / 1.014 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/1.167, allocations: 0 / 1.014 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/1.167, allocations: 122.2 kB / 1.014 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/1.167, allocations: 7.953 kB / 1.014 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.365e-05/1.167, allocations: 8.016 kB / 1.014 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.167, allocations: 0 / 1.014 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/1.167, allocations: 4 kB / 1.014 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.167, allocations: 0 / 1.014 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.167, allocations: 0 / 1.014 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.456e-05/1.167, allocations: 60.81 kB / 1.014 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/1.167, allocations: 81.06 kB / 1.014 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/1.167, allocations: 4.031 kB / 1.014 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.924e-05/1.167, allocations: 4 kB / 1.014 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/1.167, allocations: 0 / 1.014 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/1.167, allocations: 0 / 1.014 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.949e-05/1.167, allocations: 75.28 kB / 1.014 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/1.167, allocations: 0 / 1.014 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002294/1.168, allocations: 4 kB / 1.014 GB, free: 5.066 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.0004545/1.168, allocations: 0.5953 MB / 1.015 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.685e-05/1.168, allocations: 11.92 kB / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/1.168, allocations: 0 / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.675e-05/1.168, allocations: 4 kB / 1.015 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/1.168, allocations: 0 / 1.015 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/1.169, allocations: 77.17 kB / 1.015 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/1.169, allocations: 0.6768 MB / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.98e-05/1.169, allocations: 0 / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/1.169, allocations: 15.38 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/1.169, allocations: 0 / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03264/1.202, allocations: 483.7 kB / 1.016 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003314/1.202, allocations: 141 kB / 1.016 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/3.602, allocations: 3.938 kB / 1.016 GB, free: 2.953 MB / 0.6355 GB