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.245/2.245, allocations: 248.5 MB / 261.1 MB, free: 6.023 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.001517/0.001517, allocations: 178.5 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.934/1.934, allocations: 205.2 MB / 0.571 GB, free: 11.83 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.001137/0.001136, allocations: 98.47 kB / 0.6754 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.66e-05/4.683e-05, allocations: 4 kB / 0.7869 GB, free: 97.84 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2535, allocations: 106.3 MB / 0.8907 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8951/1.149, allocations: 131.6 MB / 1.019 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/1.149, allocations: 74.02 kB / 1.019 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02658/1.176, allocations: 5.058 MB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.664e-06/1.176, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.937e-06/1.176, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.6511 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.0005043/1.176, allocations: 369.5 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/1.176, allocations: 12.03 kB / 1.025 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.497e-05/1.176, allocations: 38.25 kB / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.277e-05/1.176, allocations: 4 kB / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/1.177, allocations: 175 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/1.177, allocations: 0 / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/1.177, allocations: 11.28 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/1.177, allocations: 45.56 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/1.177, allocations: 3 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/1.177, allocations: 0 / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.177, allocations: 0 / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.411e-05/1.177, allocations: 23.42 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/1.177, allocations: 176 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/1.177, allocations: 53.33 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.852e-05/1.177, allocations: 31.03 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/1.178, allocations: 457.5 kB / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/1.179, allocations: 38.48 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 3.116e-06/1.179, allocations: 0 / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.001596/1.18, allocations: 0.5625 MB / 1.026 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/1.18, allocations: 51.41 kB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/1.18, allocations: 92.81 kB / 1.026 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/1.18, allocations: 25.7 kB / 1.026 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/1.18, allocations: 80.14 kB / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.147e-05/1.18, allocations: 42.45 kB / 1.026 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/1.18, allocations: 3.938 kB / 1.026 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.181, allocations: 322.2 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.593e-05/1.181, allocations: 22.73 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.268e-05/1.181, allocations: 22.81 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.202e-05/1.181, allocations: 19.19 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/1.181, allocations: 0 / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002563/1.181, allocations: 101.6 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/1.181, allocations: 4 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.181, allocations: 0 / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/1.181, allocations: 4 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/1.181, allocations: 31.92 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/1.181, allocations: 0 / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.169e-05/1.182, allocations: 3.031 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/1.182, allocations: 7.938 kB / 1.027 GB, free: 12.32 MB / 0.6511 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 9.884e-05/1.182, allocations: 112.4 kB / 1.027 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/1.182, allocations: 3.906 kB / 1.027 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/1.182, allocations: 106.3 kB / 1.027 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/1.182, allocations: 4 kB / 1.027 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/1.182, allocations: 7.984 kB / 1.027 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/1.182, allocations: 0 / 1.027 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005753/1.183, allocations: 354.1 kB / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/1.183, allocations: 0 / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/1.183, allocations: 19.94 kB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/1.183, allocations: 0 / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/1.183, allocations: 7.984 kB / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/1.183, allocations: 0 / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.183, allocations: 0 / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/1.183, allocations: 216.5 kB / 1.028 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/1.183, allocations: 92.56 kB / 1.028 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/1.183, allocations: 4.172 kB / 1.028 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/1.184, allocations: 7.812 kB / 1.028 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/1.184, allocations: 7.984 kB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/1.184, allocations: 0 / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.812e-05/1.184, allocations: 83.27 kB / 1.028 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.184, allocations: 0 / 1.028 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004336/1.184, allocations: 63.39 kB / 1.028 GB, free: 11.23 MB / 0.6511 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.0009796/1.185, allocations: 0.7956 MB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002176/1.185, allocations: 66.17 kB / 1.029 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.185, allocations: 0 / 1.029 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/1.186, allocations: 34.56 kB / 1.029 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/1.186, allocations: 4.812 kB / 1.029 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007034/1.186, allocations: 199.8 kB / 1.029 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/1.187, allocations: 0.6926 MB / 1.03 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.41e-05/1.187, allocations: 11.95 kB / 1.03 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.211e-05/1.187, allocations: 19.06 kB / 1.03 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of SimCode: time 9.02e-07/1.187, allocations: 0 / 1.03 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/1.212, allocations: 2.183 MB / 1.032 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003835/1.213, allocations: 182.7 kB / 1.032 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.68, allocations: 4 kB / 1.032 GB, free: 7.145 MB / 0.6511 GB