Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.203/2.203, allocations: 248.5 MB / 261.1 MB, free: 5.996 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.00144/0.001439, allocations: 184.3 kB / 320.4 MB, free: 15.36 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.021/2.021, allocations: 205.2 MB / 0.571 GB, free: 11.77 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.001223/0.001223, allocations: 98.38 kB / 0.6754 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.007e-05/4.022e-05, allocations: 8 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1976, allocations: 106.2 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8546/1.052, allocations: 131.5 MB / 1.019 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/1.053, allocations: 80.5 kB / 1.019 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02205/1.075, allocations: 4.522 MB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.433e-06/1.075, allocations: 0 / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.053e-06/1.075, allocations: 4 kB / 1.024 GB, free: 15.93 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003787/1.075, allocations: 357.8 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/1.075, allocations: 8.031 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/1.075, allocations: 34.55 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/1.075, allocations: 0 / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/1.075, allocations: 167 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/1.075, allocations: 3.562 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/1.076, allocations: 0 / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.782e-05/1.076, allocations: 29.7 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/1.076, allocations: 4 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/1.076, allocations: 7.984 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/1.076, allocations: 0 / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.075e-05/1.076, allocations: 7.938 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/1.076, allocations: 157.1 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 5.527e-05/1.076, allocations: 21.3 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.455e-05/1.076, allocations: 12.91 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009312/1.077, allocations: 457.1 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/1.077, allocations: 38.55 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/1.077, allocations: 4 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0005607/1.078, allocations: 244.2 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/1.078, allocations: 51.41 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.639e-05/1.078, allocations: 95.31 kB / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/1.078, allocations: 25.7 kB / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/1.078, allocations: 87.38 kB / 1.025 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/1.078, allocations: 7.906 kB / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-06/1.078, allocations: 0 / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.078, allocations: 325.5 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.218e-05/1.078, allocations: 0 / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.63e-05/1.078, allocations: 20.22 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.281e-05/1.078, allocations: 4 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/1.078, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001377/1.078, allocations: 59.69 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.078, allocations: 4 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/1.078, allocations: 7.938 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/1.078, allocations: 0 / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.102e-05/1.078, allocations: 4 kB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/1.079, allocations: 4 kB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/1.079, allocations: 0 / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/1.079, allocations: 0 / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.119e-05/1.079, allocations: 120.3 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/1.079, allocations: 3.906 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/1.079, allocations: 52.75 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.079, allocations: 0 / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/1.079, allocations: 0 / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.079, allocations: 192 / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/1.079, allocations: 157.3 kB / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.079, allocations: 3.984 kB / 1.026 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.654e-05/1.079, allocations: 8 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.079, allocations: 4 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/1.079, allocations: 3.984 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/1.079, allocations: 3.938 kB / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.079, allocations: 0 / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/1.079, allocations: 85.05 kB / 1.026 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/1.079, allocations: 77.11 kB / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/1.079, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.684e-05/1.08, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/1.08, allocations: 12.05 kB / 1.026 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/1.08, allocations: 0 / 1.026 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.729e-05/1.08, allocations: 75.28 kB / 1.026 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.08, allocations: 0 / 1.026 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002966/1.08, allocations: 39.19 kB / 1.026 GB, free: 12.68 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005893/1.081, allocations: 0.6504 MB / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.924e-05/1.081, allocations: 19.92 kB / 1.027 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.081, allocations: 0 / 1.027 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.544e-05/1.081, allocations: 8 kB / 1.027 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/1.081, allocations: 4.125 kB / 1.027 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/1.081, allocations: 132.6 kB / 1.027 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/1.082, allocations: 0.677 MB / 1.028 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.769e-05/1.082, allocations: 8.188 kB / 1.028 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/1.082, allocations: 11.42 kB / 1.028 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of SimCode: time 7.42e-07/1.082, allocations: 0 / 1.028 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/1.104, allocations: 1.488 MB / 1.029 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003185/1.105, allocations: 182.9 kB / 1.029 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/3.54, allocations: 0 / 1.029 GB, free: 9.551 MB / 0.6511 GB