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.29/2.29, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 170.9 kB / 325.5 MB, free: 2.906 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.38/2.38, allocations: 205.4 MB / 0.5764 GB, free: 20.84 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.001166/0.001166, allocations: 101.9 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004988, allocations: 19.45 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2303, allocations: 106.3 MB / 0.8988 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2308/0.4611, allocations: 131.7 MB / 1.027 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.4615, allocations: 75.94 kB / 1.027 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02597/0.4875, allocations: 5.069 MB / 1.032 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4875, allocations: 0 / 1.032 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.4875, allocations: 0 / 1.032 GB, free: 8.5 MB / 0.6823 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.0005318/0.4881, allocations: 371.2 kB / 1.033 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.4881, allocations: 8.031 kB / 1.033 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.639e-05/0.4882, allocations: 38.56 kB / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.157e-05/0.4882, allocations: 0 / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.4884, allocations: 174.9 kB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.4884, allocations: 0 / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.4884, allocations: 7.906 kB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.4886, allocations: 49.67 kB / 1.033 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.4887, allocations: 7.984 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.4887, allocations: 4 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.4887, allocations: 4 kB / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.439e-05/0.4888, allocations: 19.98 kB / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002338/0.4891, allocations: 169.6 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.4892, allocations: 62.44 kB / 1.033 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009451/0.4902, allocations: 461.5 kB / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.4902, allocations: 30.56 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.4902, allocations: 0 / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0018/0.492, allocations: 0.5916 MB / 1.034 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.4921, allocations: 55.34 kB / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.11e-05/0.4922, allocations: 92.98 kB / 1.035 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.4922, allocations: 29.7 kB / 1.035 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.4923, allocations: 84.14 kB / 1.035 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.4924, allocations: 43.36 kB / 1.035 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.4924, allocations: 4 kB / 1.035 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.4925, allocations: 314.8 kB / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.431e-05/0.4926, allocations: 27.92 kB / 1.035 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-05/0.4927, allocations: 23.98 kB / 1.035 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.945e-05/0.4928, allocations: 25.12 kB / 1.035 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.4928, allocations: 4 kB / 1.035 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002374/0.4931, allocations: 88.31 kB / 1.035 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.4931, allocations: 4 kB / 1.035 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4931, allocations: 4 kB / 1.035 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4931, allocations: 0 / 1.035 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.4933, allocations: 27.92 kB / 1.035 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.4933, allocations: 0 / 1.035 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.849e-05/0.4934, allocations: 4 kB / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.4934, allocations: 4 kB / 1.035 GB, free: 5.316 MB / 0.6823 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 () * Number of clocked 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.0001058/0.4935, allocations: 119.7 kB / 1.035 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.4936, allocations: 3.906 kB / 1.035 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.4939, allocations: 117.6 kB / 1.035 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4939, allocations: 3.938 kB / 1.035 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4939, allocations: 0 / 1.035 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4939, allocations: 0 / 1.035 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005354/0.4945, allocations: 350.5 kB / 1.036 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.4945, allocations: 0 / 1.036 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.4947, allocations: 19.98 kB / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.4947, allocations: 7.938 kB / 1.036 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.4947, allocations: 4 kB / 1.036 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4948, allocations: 4 kB / 1.036 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.4948, allocations: 192 / 1.036 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.4951, allocations: 223.7 kB / 1.036 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-05/0.4952, allocations: 89.08 kB / 1.036 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.4953, allocations: 8 kB / 1.036 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.4954, allocations: 0 / 1.036 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.4955, allocations: 4 kB / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.4955, allocations: 7.984 kB / 1.036 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.4955, allocations: 83.34 kB / 1.036 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4955, allocations: 0 / 1.036 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004197/0.496, allocations: 59.88 kB / 1.036 GB, free: 4.129 MB / 0.6823 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 () * Number of clocked 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.0009404/0.4969, allocations: 0.806 MB / 1.037 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.4972, allocations: 67.84 kB / 1.037 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4972, allocations: 4.062 kB / 1.037 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.269e-05/0.4973, allocations: 27.98 kB / 1.037 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.4975, allocations: 8 kB / 1.037 GB, free: 3.191 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.4986, allocations: 0.5183 MB / 1.038 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.4989, allocations: 0.6965 MB / 1.038 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.558e-05/0.499, allocations: 12.23 kB / 1.038 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.4991, allocations: 15.44 kB / 1.038 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/0.4991, allocations: 3.938 kB / 1.038 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.5204, allocations: 2.178 MB / 1.04 GB, free: 15.87 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003859/0.5209, allocations: 216.6 kB / 1.041 GB, free: 15.62 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/3.048, allocations: 0 / 1.041 GB, free: 15.62 MB / 0.698 GB