Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.412/1.412, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001088/0.001088, allocations: 189.4 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.0008305/0.0008305, allocations: 94.03 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003458, allocations: 12.59 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1838, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007118/0.1846, allocations: 359.1 kB / 0.9005 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004812/0.1851, allocations: 325.1 kB / 0.9008 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.053e-05/0.1851, allocations: 4 kB / 0.9008 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.478e-06/0.1851, allocations: 0 / 0.9008 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.396e-05/0.1851, allocations: 0 / 0.9008 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.1855, allocations: 75.72 kB / 0.9009 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.413e-05/0.1855, allocations: 11.98 kB / 0.9009 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.915e-05/0.1856, allocations: 4 kB / 0.9009 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.022e-05/0.1856, allocations: 11.98 kB / 0.9009 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.549e-05/0.1857, allocations: 15.92 kB / 0.9009 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.1857, allocations: 7.938 kB / 0.9009 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.186, allocations: 255.7 kB / 0.9012 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.186, allocations: 0 / 0.9012 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.186, allocations: 37.64 kB / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.1862, allocations: 59.88 kB / 0.9013 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1862, allocations: 0 / 0.9013 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1862, allocations: 0 / 0.9013 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.1862, allocations: 0 / 0.9013 GB, free: 62.68 MB / 0.6042 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.0003099/0.1865, allocations: 355.4 kB / 0.9016 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1865, allocations: 12.03 kB / 0.9016 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.779e-05/0.1866, allocations: 30.56 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.1866, allocations: 7.906 kB / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.408e-05/0.1867, allocations: 175.2 kB / 0.9018 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.1867, allocations: 0 / 0.9018 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.1868, allocations: 4 kB / 0.9018 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.1869, allocations: 53.62 kB / 0.9019 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1869, allocations: 4 kB / 0.9019 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1869, allocations: 0 / 0.9019 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1869, allocations: 7.922 kB / 0.9019 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.356e-05/0.187, allocations: 19.98 kB / 0.9019 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.1871, allocations: 169.6 kB / 0.9021 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.208e-05/0.1872, allocations: 58.56 kB / 0.9021 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005491/0.1877, allocations: 461.5 kB / 0.9026 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1878, allocations: 38.5 kB / 0.9026 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1878, allocations: 0 / 0.9026 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001062/0.1888, allocations: 0.5955 MB / 0.9032 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.1889, allocations: 51.41 kB / 0.9032 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.293e-05/0.1889, allocations: 97.84 kB / 0.9033 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.1889, allocations: 33.7 kB / 0.9034 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.677e-05/0.189, allocations: 84.14 kB / 0.9034 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.189, allocations: 35.45 kB / 0.9035 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.189, allocations: 4 kB / 0.9035 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.603e-05/0.1891, allocations: 314.8 kB / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.439e-05/0.1891, allocations: 23.98 kB / 0.9038 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.173e-05/0.1891, allocations: 19.98 kB / 0.9038 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.308e-05/0.1892, allocations: 31 kB / 0.9039 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1892, allocations: 0 / 0.9039 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000123/0.1893, allocations: 93.62 kB / 0.9039 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1894, allocations: 8 kB / 0.9039 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1894, allocations: 0 / 0.9039 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1894, allocations: 4 kB / 0.904 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.787e-05/0.1895, allocations: 23.98 kB / 0.904 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1895, allocations: 0 / 0.904 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.1895, allocations: 96 / 0.904 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1895, allocations: 7.938 kB / 0.904 GB, free: 59.5 MB / 0.6042 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 () * Number of clocked 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 5.48e-05/0.1896, allocations: 121.7 kB / 0.9041 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.1896, allocations: 11.89 kB / 0.9041 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.1898, allocations: 105.6 kB / 0.9042 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1898, allocations: 0 / 0.9042 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1898, allocations: 0 / 0.9042 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1898, allocations: 4 kB / 0.9042 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.1901, allocations: 354.6 kB / 0.9046 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1901, allocations: 0 / 0.9046 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.1902, allocations: 23.98 kB / 0.9046 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1902, allocations: 0 / 0.9046 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1903, allocations: 4 kB / 0.9046 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1903, allocations: 4 kB / 0.9046 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1903, allocations: 3.938 kB / 0.9046 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.1905, allocations: 223.3 kB / 0.9048 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/0.1905, allocations: 89.03 kB / 0.9049 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.1905, allocations: 4.188 kB / 0.9049 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.1906, allocations: 0 / 0.9049 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.1907, allocations: 15.97 kB / 0.9049 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.1907, allocations: 8.062 kB / 0.9049 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.903e-05/0.1907, allocations: 83.28 kB / 0.905 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1907, allocations: 0 / 0.905 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002574/0.191, allocations: 40 kB / 0.905 GB, free: 58.32 MB / 0.6042 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 () * Number of clocked 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.0004668/0.1914, allocations: 0.7878 MB / 0.9058 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.1916, allocations: 67.97 kB / 0.9059 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1916, allocations: 0 / 0.9059 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.769e-05/0.1916, allocations: 27.94 kB / 0.9059 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.1918, allocations: 13.81 kB / 0.9059 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006588/0.1924, allocations: 0.5103 MB / 0.9064 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.1925, allocations: 0.6926 MB / 0.9071 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.995e-05/0.1926, allocations: 11.98 kB / 0.9071 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.1926, allocations: 19.44 kB / 0.9071 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of SimCode: time 8.62e-07/0.1927, allocations: 0 / 0.9071 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01151/0.2042, allocations: 2.222 MB / 0.9093 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001381/0.2043, allocations: 223.4 kB / 0.9095 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/1.766, allocations: 3.938 kB / 0.9095 GB, free: 53.83 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)