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.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.411/4.411, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.739e-05/2.767e-05, allocations: 8.406 kB / 0.5325 GB, free: 12.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2298, allocations: 98.72 MB / 0.6289 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2682/0.498, allocations: 123.8 MB / 0.7498 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.4984, allocations: 75.95 kB / 0.7499 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0226/0.521, allocations: 4.515 MB / 0.7543 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.978e-06/0.521, allocations: 3.984 kB / 0.7543 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.5211, allocations: 0 / 0.7543 GB, free: 8.5 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.0004356/0.5215, allocations: 342.4 kB / 0.7547 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.5216, allocations: 12.03 kB / 0.7547 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.239e-05/0.5217, allocations: 7.953 kB / 0.7547 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.5218, allocations: 159.1 kB / 0.7548 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.5219, allocations: 0 / 0.7548 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.5219, allocations: 0 / 0.7548 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.296e-05/0.522, allocations: 8 kB / 0.7548 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.241e-05/0.522, allocations: 41.61 kB / 0.7549 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.5221, allocations: 0 / 0.7549 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.5221, allocations: 0 / 0.7549 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5221, allocations: 0 / 0.7549 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.5223, allocations: 134.2 kB / 0.755 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.847e-05/0.5224, allocations: 26.59 kB / 0.755 GB, free: 7.648 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.5224, allocations: 4.859 kB / 0.755 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009514/0.5234, allocations: 461.5 kB / 0.7555 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.5234, allocations: 30.56 kB / 0.7555 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.314e-06/0.5234, allocations: 3.938 kB / 0.7555 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0007112/0.5241, allocations: 246.4 kB / 0.7557 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.5242, allocations: 55.41 kB / 0.7558 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.443e-05/0.5243, allocations: 85 kB / 0.7559 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.5243, allocations: 29.64 kB / 0.7559 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.5244, allocations: 84.14 kB / 0.756 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.5244, allocations: 7.906 kB / 0.756 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.5244, allocations: 0 / 0.756 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.5246, allocations: 318.8 kB / 0.7563 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.452e-05/0.5246, allocations: 12.06 kB / 0.7563 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.664e-05/0.5247, allocations: 17.72 kB / 0.7563 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.93e-05/0.5248, allocations: 4 kB / 0.7563 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5248, allocations: 0 / 0.7563 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001559/0.5249, allocations: 49.69 kB / 0.7564 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.525, allocations: 8.781 kB / 0.7564 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.525, allocations: 0 / 0.7564 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.525, allocations: 4 kB / 0.7564 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.939e-05/0.5251, allocations: 16 kB / 0.7564 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.5251, allocations: 0 / 0.7564 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.612e-05/0.5252, allocations: 0 / 0.7564 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.5252, allocations: 0 / 0.7564 GB, free: 6.035 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 9.285e-05/0.5253, allocations: 114.5 kB / 0.7565 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001303/0.5254, allocations: 41.61 kB / 0.7566 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.5255, allocations: 4 kB / 0.7566 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001978/0.5257, allocations: 61.73 kB / 0.7566 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5257, allocations: 0 / 0.7566 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5257, allocations: 0 / 0.7566 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5257, allocations: 0 / 0.7566 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.5258, allocations: 134.2 kB / 0.7567 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5259, allocations: 0 / 0.7567 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.998e-05/0.5259, allocations: 4 kB / 0.7568 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.526, allocations: 0 / 0.7568 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.526, allocations: 4 kB / 0.7568 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.526, allocations: 0 / 0.7568 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.526, allocations: 0 / 0.7568 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.5262, allocations: 89.3 kB / 0.7568 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.5263, allocations: 81.14 kB / 0.7569 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.5263, allocations: 3.938 kB / 0.7569 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.129e-05/0.5264, allocations: 4.031 kB / 0.7569 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.5264, allocations: 3.938 kB / 0.7569 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-06/0.5264, allocations: 3.938 kB / 0.7569 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.04e-05/0.5265, allocations: 83.34 kB / 0.757 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/0.5265, allocations: 0 / 0.757 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003294/0.5268, allocations: 35.92 kB / 0.757 GB, free: 5.289 MB / 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.0006724/0.5275, allocations: 0.6514 MB / 0.7577 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.597e-05/0.5276, allocations: 15.94 kB / 0.7577 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.5277, allocations: 8.281 kB / 0.7577 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.316e-05/0.5277, allocations: 4 kB / 0.7577 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.5278, allocations: 0 / 0.7577 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.5282, allocations: 123.5 kB / 0.7578 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.5286, allocations: 0.6807 MB / 0.7585 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.542e-05/0.5286, allocations: 0 / 0.7585 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.5287, allocations: 15.44 kB / 0.7585 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of SimCode: time 7.62e-07/0.5287, allocations: 0 / 0.7585 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03755/0.5663, allocations: 1.171 MB / 0.7596 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003292/0.5667, allocations: 181.1 kB / 0.7598 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/2.909, allocations: 1.562 kB / 0.7598 GB, free: 2.336 MB / 0.6355 GB