Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 189 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.628/1.628, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 69.2 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2012, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001958/0.2032, allocations: 0.628 MB / 0.7843 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006488/0.2039, allocations: 350.7 kB / 0.7846 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.2039, allocations: 0 / 0.7846 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.204, allocations: 0 / 0.7846 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.954e-05/0.204, allocations: 0 / 0.7846 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.2045, allocations: 123.6 kB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.364e-05/0.2046, allocations: 19.92 kB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.2046, allocations: 8 kB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.565e-05/0.2046, allocations: 7.984 kB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.332e-05/0.2047, allocations: 15.92 kB / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.2047, allocations: 0 / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.2051, allocations: 279.6 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.2051, allocations: 3.938 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.2052, allocations: 15.92 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.2053, allocations: 103.8 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.2054, allocations: 4 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2054, allocations: 0 / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.2054, allocations: 0 / 0.7851 GB, free: 11.69 MB / 0.6075 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.0004219/0.2058, allocations: 363.6 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.2059, allocations: 12.02 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.2059, allocations: 34.75 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.206, allocations: 4.938 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.2061, allocations: 164.4 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2061, allocations: 4.375 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.2061, allocations: 12.28 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.2063, allocations: 50.22 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2063, allocations: 7.938 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.2063, allocations: 4 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2063, allocations: 0 / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.783e-05/0.2064, allocations: 23.92 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.2065, allocations: 161.7 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.2066, allocations: 58.5 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.31e-05/0.2067, allocations: 28.84 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006766/0.2074, allocations: 461.5 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.2074, allocations: 30.56 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.2074, allocations: 4 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001209/0.2086, allocations: 0.5917 MB / 0.7871 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.2087, allocations: 51.41 kB / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.062e-05/0.2088, allocations: 97.86 kB / 0.7872 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.2088, allocations: 29.7 kB / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.2088, allocations: 84.14 kB / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.2088, allocations: 43.36 kB / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.2089, allocations: 25.8 kB / 0.7874 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.209, allocations: 322.8 kB / 0.7877 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.956e-05/0.2091, allocations: 19.98 kB / 0.7877 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.07e-05/0.2091, allocations: 31.11 kB / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.969e-05/0.2092, allocations: 56.8 kB / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2092, allocations: 4 kB / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001607/0.2094, allocations: 97.56 kB / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2094, allocations: 8 kB / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2094, allocations: 3.984 kB / 0.7879 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2094, allocations: 0 / 0.7879 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.2095, allocations: 16 kB / 0.7879 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2096, allocations: 4 kB / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.2096, allocations: 4 kB / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.2096, allocations: 4 kB / 0.7879 GB, free: 8.41 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.603e-05/0.2097, allocations: 114.5 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.2097, allocations: 16.03 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.2099, allocations: 105.7 kB / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.21, allocations: 3.984 kB / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.21, allocations: 0 / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.21, allocations: 7.922 kB / 0.7882 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004347/0.2104, allocations: 354.5 kB / 0.7885 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.2104, allocations: 3.984 kB / 0.7885 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.2105, allocations: 16 kB / 0.7885 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.2106, allocations: 0 / 0.7885 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.2106, allocations: 12 kB / 0.7885 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2106, allocations: 0 / 0.7885 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2106, allocations: 0 / 0.7885 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.2109, allocations: 227.2 kB / 0.7888 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.211, allocations: 81.09 kB / 0.7888 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.211, allocations: 4.031 kB / 0.7888 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.2111, allocations: 4 kB / 0.7888 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.2111, allocations: 8.047 kB / 0.7889 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.2111, allocations: 8 kB / 0.7889 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.306e-05/0.2112, allocations: 83.22 kB / 0.7889 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2112, allocations: 4 kB / 0.7889 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002955/0.2115, allocations: 47.98 kB / 0.789 GB, free: 7.223 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000671/0.2121, allocations: 0.7904 MB / 0.7898 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001619/0.2123, allocations: 65.09 kB / 0.7898 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.2123, allocations: 4 kB / 0.7898 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.79e-05/0.2124, allocations: 31.92 kB / 0.7899 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.2126, allocations: 10.44 kB / 0.7899 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.214, allocations: 1.393 MB / 0.7912 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.2142, allocations: 0.6885 MB / 0.7919 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.793e-05/0.2143, allocations: 8 kB / 0.7919 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.2143, allocations: 23.42 kB / 0.7919 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2144, allocations: 4 kB / 0.7919 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.2328, allocations: 2.464 MB / 0.7943 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/7.831, allocations: 10.42 kB / 0.7944 GB, free: 1.758 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)