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.365/1.365, allocations: 252 MB / 267 MB, free: 10.98 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.001218/0.001218, allocations: 182 kB / 326.6 MB, free: 2.238 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.832/1.832, allocations: 205.4 MB / 0.5776 GB, free: 20.3 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.0007144/0.0007144, allocations: 100.3 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003813, allocations: 9.5 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1873, allocations: 106.4 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0006656/0.188, allocations: 358 kB / 0.9007 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005395/0.1886, allocations: 336.5 kB / 0.901 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.698e-05/0.1886, allocations: 0 / 0.901 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.618e-06/0.1886, allocations: 0 / 0.901 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.935e-05/0.1887, allocations: 0 / 0.901 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.189, allocations: 82.66 kB / 0.9011 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.896e-05/0.189, allocations: 23.98 kB / 0.9011 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.1891, allocations: 0 / 0.9011 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.251e-05/0.1891, allocations: 7.938 kB / 0.9011 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.629e-05/0.1892, allocations: 11.98 kB / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1892, allocations: 7.984 kB / 0.9011 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002882/0.1895, allocations: 263.6 kB / 0.9014 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.1895, allocations: 11.98 kB / 0.9014 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.799e-05/0.1895, allocations: 25.7 kB / 0.9014 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.559e-05/0.1896, allocations: 63.89 kB / 0.9015 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1897, allocations: 0 / 0.9015 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1897, allocations: 4 kB / 0.9015 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.1897, allocations: 0 / 0.9015 GB, free: 62.64 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.0003124/0.19, allocations: 347.4 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.19, allocations: 12.02 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.977e-05/0.1901, allocations: 34.56 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.1901, allocations: 7.906 kB / 0.9018 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.922e-05/0.1902, allocations: 171.2 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1902, allocations: 4 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.1903, allocations: 8 kB / 0.902 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.1904, allocations: 49.67 kB / 0.9021 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1904, allocations: 0 / 0.9021 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.1904, allocations: 4 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1904, allocations: 0 / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.429e-05/0.1905, allocations: 23.97 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.1906, allocations: 165.6 kB / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.126e-05/0.1907, allocations: 58.5 kB / 0.9023 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.1907, allocations: 36.78 kB / 0.9023 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005648/0.1913, allocations: 453.5 kB / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.1913, allocations: 46.55 kB / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1913, allocations: 0 / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001047/0.1924, allocations: 0.58 MB / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.1924, allocations: 55.39 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.428e-05/0.1925, allocations: 105.8 kB / 0.9035 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.1925, allocations: 25.7 kB / 0.9036 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.784e-05/0.1925, allocations: 80.14 kB / 0.9036 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.1926, allocations: 39.45 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.1926, allocations: 4 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.118e-05/0.1926, allocations: 322.9 kB / 0.904 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.543e-05/0.1927, allocations: 19.94 kB / 0.904 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.315e-05/0.1927, allocations: 27.92 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.598e-05/0.1928, allocations: 24 kB / 0.9041 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1928, allocations: 4 kB / 0.9041 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001335/0.1929, allocations: 93.69 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.193, allocations: 4 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.193, allocations: 0 / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.193, allocations: 3.984 kB / 0.9042 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1931, allocations: 20 kB / 0.9042 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1931, allocations: 3.938 kB / 0.9042 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.402e-05/0.1931, allocations: 0 / 0.9042 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1931, allocations: 4 kB / 0.9042 GB, free: 59.45 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 6.119e-05/0.1932, allocations: 129.7 kB / 0.9043 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.1932, allocations: 3.906 kB / 0.9043 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.1934, allocations: 101.6 kB / 0.9044 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1934, allocations: 0 / 0.9044 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1934, allocations: 0 / 0.9044 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.1934, allocations: 0 / 0.9044 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.1938, allocations: 362.4 kB / 0.9048 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1938, allocations: 0 / 0.9048 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.1939, allocations: 27.98 kB / 0.9048 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1939, allocations: 0 / 0.9048 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1939, allocations: 4 kB / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1939, allocations: 3.938 kB / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1939, allocations: 0 / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.1941, allocations: 223.7 kB / 0.905 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.1942, allocations: 85 kB / 0.9051 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.1942, allocations: 8 kB / 0.9051 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.05e-05/0.1943, allocations: 4.062 kB / 0.9051 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.1943, allocations: 7.984 kB / 0.9051 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.1943, allocations: 8 kB / 0.9051 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.884e-05/0.1944, allocations: 75.28 kB / 0.9052 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1944, allocations: 3.938 kB / 0.9052 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000251/0.1946, allocations: 47.98 kB / 0.9052 GB, free: 58.26 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.0004782/0.1951, allocations: 0.7944 MB / 0.906 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001322/0.1952, allocations: 64.78 kB / 0.9061 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1953, allocations: 0 / 0.9061 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.893e-05/0.1953, allocations: 31.98 kB / 0.9061 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.1955, allocations: 7.094 kB / 0.9061 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006572/0.1962, allocations: 0.514 MB / 0.9066 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.1963, allocations: 0.6926 MB / 0.9073 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.102e-05/0.1964, allocations: 4 kB / 0.9073 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.1964, allocations: 27.48 kB / 0.9073 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.1964, allocations: 0 / 0.9073 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01201/0.2084, allocations: 2.236 MB / 0.9095 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/0.2088, allocations: 228.6 kB / 0.9097 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/1.791, allocations: 3.094 kB / 0.9097 GB, free: 53.77 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)