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.279/2.279, allocations: 248.7 MB / 256.2 MB, free: 7.039 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.001531/0.00153, allocations: 186.4 kB / 315.4 MB, free: 3.973 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.275/2.275, allocations: 205.3 MB / 0.5662 GB, free: 0.5234 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.001536/0.001536, allocations: 99.17 kB / 0.6704 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.208e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.228, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.979/1.207, allocations: 131.7 MB / 1.013 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/1.207, allocations: 74.83 kB / 1.013 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0224/1.23, allocations: 4.512 MB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.482e-06/1.23, allocations: 0 / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.813e-06/1.23, allocations: 0 / 1.017 GB, free: 3.297 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004106/1.23, allocations: 358.2 kB / 1.018 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/1.23, allocations: 8.031 kB / 1.018 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.209e-05/1.23, allocations: 0 / 1.018 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/1.231, allocations: 169 kB / 1.018 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/1.231, allocations: 0 / 1.018 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/1.231, allocations: 1.125 kB / 1.018 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.155e-05/1.231, allocations: 4 kB / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.16e-05/1.231, allocations: 37.69 kB / 1.018 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/1.231, allocations: 0 / 1.018 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/1.231, allocations: 0 / 1.018 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/1.231, allocations: 0 / 1.018 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/1.231, allocations: 133.7 kB / 1.018 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.272e-05/1.231, allocations: 22.52 kB / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.249e-05/1.231, allocations: 8.734 kB / 1.018 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009117/1.232, allocations: 461.5 kB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/1.232, allocations: 34.56 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.254e-06/1.232, allocations: 0 / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0007116/1.233, allocations: 248.8 kB / 1.019 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/1.233, allocations: 55.41 kB / 1.019 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.279e-05/1.233, allocations: 85 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/1.233, allocations: 25.7 kB / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/1.233, allocations: 84.39 kB / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/1.233, allocations: 11.34 kB / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/1.233, allocations: 0 / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.233, allocations: 310.8 kB / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.359e-05/1.233, allocations: 7.75 kB / 1.019 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.77e-05/1.233, allocations: 17.7 kB / 1.019 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.317e-05/1.233, allocations: 4 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.233, allocations: 7.953 kB / 1.019 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001711/1.234, allocations: 53.12 kB / 1.019 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.234, allocations: 4 kB / 1.019 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.234, allocations: 4 kB / 1.019 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/1.234, allocations: 144 / 1.019 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.036e-05/1.234, allocations: 7.938 kB / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/1.234, allocations: 4 kB / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/1.234, allocations: 0 / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/1.234, allocations: 3.984 kB / 1.019 GB, free: 0.8555 MB / 0.6355 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.667e-05/1.234, allocations: 108.4 kB / 1.019 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001395/1.234, allocations: 53.48 kB / 1.019 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/1.234, allocations: 4 kB / 1.019 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/1.234, allocations: 56.98 kB / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/1.234, allocations: 0 / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.234, allocations: 0 / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.234, allocations: 0 / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/1.235, allocations: 136.9 kB / 1.02 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.235, allocations: 4 kB / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.342e-05/1.235, allocations: 4 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/1.235, allocations: 0 / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/1.235, allocations: 0 / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/1.235, allocations: 4 kB / 1.02 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/1.235, allocations: 3.938 kB / 1.02 GB, free: 444 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/1.235, allocations: 71.69 kB / 1.02 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/1.235, allocations: 81.06 kB / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/1.235, allocations: 4.047 kB / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.687e-05/1.235, allocations: 7.938 kB / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/1.235, allocations: 4.031 kB / 1.02 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/1.235, allocations: 0 / 1.02 GB, free: 244 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.82e-05/1.235, allocations: 82.16 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.235, allocations: 0 / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003411/1.236, allocations: 35.92 kB / 1.02 GB, free: 128 kB / 0.6355 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.0007371/1.236, allocations: 0.6533 MB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.988e-05/1.236, allocations: 14.81 kB / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.236, allocations: 0 / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.332e-05/1.237, allocations: 7.312 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/1.237, allocations: 5.781 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/1.237, allocations: 134.2 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/1.237, allocations: 0.6848 MB / 1.021 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.116e-05/1.237, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/1.238, allocations: 7.438 kB / 1.021 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of SimCode: time 8.71e-07/1.238, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03619/1.274, allocations: 1.18 MB / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002961/1.274, allocations: 172.1 kB / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/3.51, allocations: 0 / 1.023 GB, free: 13.18 MB / 0.6511 GB