Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.416/4.416, allocations: 433.2 MB / 440.7 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.127e-05, allocations: 8.219 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2441, allocations: 98.73 MB / 0.6289 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2716/0.5158, allocations: 124 MB / 0.75 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003765/0.5162, allocations: 79.94 kB / 0.7501 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07188/0.5881, allocations: 5.041 MB / 0.755 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.714e-06/0.5882, allocations: 0 / 0.755 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.5882, allocations: 0 / 0.755 GB, free: 7.805 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.0005933/0.5888, allocations: 358.4 kB / 0.7553 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/0.5889, allocations: 15.97 kB / 0.7553 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.589, allocations: 7.953 kB / 0.7553 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.5892, allocations: 167 kB / 0.7555 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.5893, allocations: 3.984 kB / 0.7555 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.5893, allocations: 11.91 kB / 0.7555 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001185/0.5894, allocations: 19.98 kB / 0.7555 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.5896, allocations: 37.69 kB / 0.7556 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.5896, allocations: 0 / 0.7556 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.5897, allocations: 0 / 0.7556 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.5897, allocations: 4 kB / 0.7556 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/0.5899, allocations: 146.2 kB / 0.7557 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.5901, allocations: 58.5 kB / 0.7558 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.127e-05/0.5902, allocations: 32.8 kB / 0.7558 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/0.5915, allocations: 457.5 kB / 0.7562 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.5915, allocations: 38.56 kB / 0.7563 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 5.721e-06/0.5916, allocations: 0 / 0.7563 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001898/0.5935, allocations: 0.5128 MB / 0.7568 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.5936, allocations: 55.41 kB / 0.7568 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.5937, allocations: 92.98 kB / 0.7569 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.5937, allocations: 29.7 kB / 0.757 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.5938, allocations: 80.14 kB / 0.757 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.174e-05/0.5939, allocations: 43.36 kB / 0.7571 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.5939, allocations: 0 / 0.7571 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.5941, allocations: 318.8 kB / 0.7574 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.305e-05/0.5942, allocations: 16 kB / 0.7574 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.861e-05/0.5943, allocations: 16 kB / 0.7574 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.5945, allocations: 24.23 kB / 0.7574 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5945, allocations: 0 / 0.7574 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003909/0.5949, allocations: 93.69 kB / 0.7575 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.5949, allocations: 12.66 kB / 0.7575 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.595, allocations: 4 kB / 0.7575 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.595, allocations: 3.984 kB / 0.7575 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.5952, allocations: 16 kB / 0.7576 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5953, allocations: 0 / 0.7576 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.476e-05/0.5953, allocations: 4 kB / 0.7576 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.5954, allocations: 0 / 0.7576 GB, free: 4.793 MB / 0.6355 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.000124/0.5955, allocations: 113.6 kB / 0.7577 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003365/0.5958, allocations: 85.53 kB / 0.7577 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.5959, allocations: 4 kB / 0.7577 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003789/0.5963, allocations: 90.02 kB / 0.7578 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.5963, allocations: 4.078 kB / 0.7578 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.5963, allocations: 7.938 kB / 0.7578 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.5964, allocations: 0 / 0.7578 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/0.5969, allocations: 327.5 kB / 0.7582 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.597, allocations: 0 / 0.7582 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.5973, allocations: 27.92 kB / 0.7582 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.924e-06/0.5973, allocations: 4 kB / 0.7582 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.5974, allocations: 0 / 0.7582 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.5974, allocations: 0 / 0.7582 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/0.5974, allocations: 4 kB / 0.7582 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006474/0.5981, allocations: 207.6 kB / 0.7584 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.5982, allocations: 88.98 kB / 0.7585 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.5982, allocations: 4 kB / 0.7585 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.5984, allocations: 64 / 0.7585 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.5984, allocations: 11.98 kB / 0.7585 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.5985, allocations: 8 kB / 0.7585 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.502e-05/0.5985, allocations: 79.23 kB / 0.7586 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5985, allocations: 3.938 kB / 0.7586 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004334/0.599, allocations: 51.92 kB / 0.7586 GB, free: 3.598 MB / 0.6355 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.0009901/0.6, allocations: 0.7982 MB / 0.7594 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001939/0.6002, allocations: 51.94 kB / 0.7595 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.6002, allocations: 0 / 0.7595 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.555e-05/0.6003, allocations: 35.92 kB / 0.7595 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.6005, allocations: 4.547 kB / 0.7595 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000747/0.6013, allocations: 181.6 kB / 0.7597 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.6016, allocations: 0.6924 MB / 0.7603 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.632e-05/0.6017, allocations: 11.97 kB / 0.7604 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.3e-05/0.6018, allocations: 23.38 kB / 0.7604 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of SimCode: time 8.51e-07/0.6018, allocations: 0 / 0.7604 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05291/0.6547, allocations: 1.855 MB / 0.7622 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003411/0.6552, allocations: 176.1 kB / 0.7624 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/2.915, allocations: 0 / 0.7624 GB, free: 15.67 MB / 0.6511 GB