Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.196/2.196, allocations: 248.7 MB / 256.2 MB, free: 7.051 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.001534/0.001533, allocations: 182.6 kB / 315.4 MB, free: 4 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.238/2.238, allocations: 205.3 MB / 0.5662 GB, free: 0.6289 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.001109/0.001109, allocations: 93.78 kB / 0.6704 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.619e-05/3.624e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2073, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8909/1.098, allocations: 131.9 MB / 1.013 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/1.099, allocations: 78.39 kB / 1.013 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02593/1.125, allocations: 5.041 MB / 1.018 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.974e-06/1.125, allocations: 4 kB / 1.018 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.647e-06/1.125, allocations: 0 / 1.018 GB, free: 2.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000509/1.125, allocations: 365.2 kB / 1.018 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/1.125, allocations: 12.03 kB / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.19e-05/1.125, allocations: 0 / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/1.126, allocations: 178 kB / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/1.126, allocations: 0 / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/1.126, allocations: 7.906 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001136/1.126, allocations: 18.55 kB / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/1.126, allocations: 40.45 kB / 1.019 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/1.126, allocations: 3.984 kB / 1.019 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/1.126, allocations: 0 / 1.019 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.126, allocations: 0 / 1.019 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/1.126, allocations: 144.4 kB / 1.019 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/1.126, allocations: 52.58 kB / 1.019 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/1.126, allocations: 27.41 kB / 1.019 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009794/1.127, allocations: 453.5 kB / 1.019 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/1.127, allocations: 45.73 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.945e-06/1.127, allocations: 0 / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001498/1.129, allocations: 0.514 MB / 1.02 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/1.129, allocations: 62.59 kB / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/1.129, allocations: 85 kB / 1.02 GB, free: 432 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/1.129, allocations: 29.7 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/1.129, allocations: 80.14 kB / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/1.129, allocations: 37.92 kB / 1.02 GB, free: 280 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/1.129, allocations: 0 / 1.02 GB, free: 280 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.129, allocations: 322 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.456e-05/1.13, allocations: 20.44 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.455e-05/1.13, allocations: 24.31 kB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/1.13, allocations: 23.36 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.13, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002919/1.13, allocations: 91.22 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/1.13, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/1.13, allocations: 96 / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/1.13, allocations: 7.938 kB / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/1.13, allocations: 19.98 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/1.13, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.093e-05/1.13, allocations: 7.938 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/1.131, allocations: 7.625 kB / 1.02 GB, free: 15.78 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 (13): * Single equations (assignments): 13 * 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.0001035/1.131, allocations: 109.3 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002714/1.131, allocations: 80.41 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/1.131, allocations: 7.984 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/1.131, allocations: 96.39 kB / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/1.131, allocations: 0 / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/1.131, allocations: 0 / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.131, allocations: 0 / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005791/1.132, allocations: 328.8 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.132, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/1.132, allocations: 31.23 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/1.132, allocations: 0 / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/1.132, allocations: 0 / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/1.132, allocations: 0.9375 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.132, allocations: 0 / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00046/1.133, allocations: 211 kB / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-05/1.133, allocations: 89.09 kB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/1.133, allocations: 4 kB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/1.133, allocations: 4 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/1.133, allocations: 7.984 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/1.133, allocations: 3 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.356e-05/1.133, allocations: 79.28 kB / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/1.133, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004494/1.134, allocations: 47.94 kB / 1.022 GB, free: 14.67 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.00108/1.135, allocations: 0.8037 MB / 1.022 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002118/1.135, allocations: 54.56 kB / 1.022 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.135, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.042e-05/1.135, allocations: 23.44 kB / 1.022 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/1.135, allocations: 11.5 kB / 1.022 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007466/1.136, allocations: 200.8 kB / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/1.136, allocations: 0.6885 MB / 1.023 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.969e-05/1.137, allocations: 11.95 kB / 1.023 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.182e-05/1.137, allocations: 19.11 kB / 1.023 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of SimCode: time 1.363e-06/1.137, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04252/1.179, allocations: 1.874 MB / 1.025 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002927/1.18, allocations: 175.3 kB / 1.025 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.396/3.575, allocations: 4.031 kB / 1.025 GB, free: 10.77 MB / 0.6511 GB