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.252/2.252, allocations: 251 MB / 265.9 MB, free: 11.68 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.001467/0.001467, allocations: 174.6 kB / 325.5 MB, free: 2.891 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.315/2.315, allocations: 205.4 MB / 0.5764 GB, free: 20.74 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.001179/0.001178, allocations: 103 kB / 0.6809 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005071/0.0005072, allocations: 15 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.242, allocations: 106.3 MB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2689/0.5109, allocations: 131.5 MB / 1.027 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/0.5113, allocations: 75.95 kB / 1.027 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02301/0.5343, allocations: 4.542 MB / 1.032 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.735e-06/0.5344, allocations: 0 / 1.032 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.5344, allocations: 0 / 1.032 GB, free: 9.094 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000481/0.5349, allocations: 351.2 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.535, allocations: 8.031 kB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.029e-05/0.535, allocations: 38.5 kB / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.5351, allocations: 4 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.5352, allocations: 167 kB / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.5353, allocations: 0 / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.5353, allocations: 4 kB / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.5354, allocations: 33.7 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.5354, allocations: 0 / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.5355, allocations: 11.88 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5355, allocations: 0 / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.708e-05/0.5355, allocations: 3.984 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.5357, allocations: 149.6 kB / 1.033 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.295e-05/0.5358, allocations: 34.53 kB / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000926/0.5367, allocations: 457.5 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.5368, allocations: 34.56 kB / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.914e-06/0.5368, allocations: 0 / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0006678/0.5375, allocations: 254.3 kB / 1.033 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.5375, allocations: 55.41 kB / 1.033 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.159e-05/0.5376, allocations: 85 kB / 1.033 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.5376, allocations: 26.05 kB / 1.033 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.5377, allocations: 92.14 kB / 1.034 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.5377, allocations: 3.906 kB / 1.034 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.5377, allocations: 0 / 1.034 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5379, allocations: 322.8 kB / 1.034 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.63e-05/0.5379, allocations: 4 kB / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.054e-05/0.538, allocations: 13.72 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.746e-05/0.538, allocations: 11.94 kB / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.538, allocations: 4 kB / 1.034 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000165/0.5382, allocations: 49.69 kB / 1.034 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.5382, allocations: 8 kB / 1.034 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5383, allocations: 0 / 1.034 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.5383, allocations: 0 / 1.034 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.5384, allocations: 15.92 kB / 1.034 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.5384, allocations: 0 / 1.034 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.767e-05/0.5384, allocations: 0 / 1.034 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.5385, allocations: 4 kB / 1.034 GB, free: 6.531 MB / 0.6823 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 () * Number of clocked 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 9.432e-05/0.5386, allocations: 117.9 kB / 1.034 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.5386, allocations: 7.906 kB / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.5388, allocations: 57.11 kB / 1.034 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.5388, allocations: 4 kB / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5388, allocations: 0 / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.5389, allocations: 3.984 kB / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.539, allocations: 165.5 kB / 1.034 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.539, allocations: 0 / 1.034 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.615e-05/0.5391, allocations: 11.94 kB / 1.034 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5391, allocations: 3.938 kB / 1.034 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.5392, allocations: 0 / 1.034 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5392, allocations: 0 / 1.034 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.5392, allocations: 4 kB / 1.034 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.5394, allocations: 77.12 kB / 1.034 GB, free: 6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.5395, allocations: 85.05 kB / 1.034 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.5395, allocations: 0 / 1.034 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.888e-05/0.5396, allocations: 4.062 kB / 1.034 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.5396, allocations: 4.031 kB / 1.034 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.5396, allocations: 0 / 1.034 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.924e-05/0.5397, allocations: 83.28 kB / 1.035 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5397, allocations: 0 / 1.035 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003383/0.54, allocations: 31.98 kB / 1.035 GB, free: 5.777 MB / 0.6823 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 () * Number of clocked 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.0007424/0.5408, allocations: 0.6475 MB / 1.035 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001274/0.5409, allocations: 19.98 kB / 1.035 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5409, allocations: 3.938 kB / 1.035 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.909e-05/0.541, allocations: 8 kB / 1.035 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.5411, allocations: 7.125 kB / 1.035 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008556/0.542, allocations: 0.5183 MB / 1.036 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.5425, allocations: 0.6809 MB / 1.036 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.164e-05/0.5425, allocations: 4 kB / 1.036 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.5426, allocations: 19.48 kB / 1.036 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of SimCode: time 1.653e-06/0.5426, allocations: 0 / 1.036 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.5673, allocations: 1.482 MB / 1.038 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002668/0.5676, allocations: 207.1 kB / 1.038 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/2.942, allocations: 0 / 1.038 GB, free: 2.215 MB / 0.6823 GB