Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 101.4 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 206.4 kB / 19.42 MB, free: 3.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8231/0.8231, allocations: 134 MB / 442.8 MB, free: 11.3 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 65.81 kB / 0.6135 GB, free: 8.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1817, allocations: 85.85 MB / 0.6973 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001803/0.1835, allocations: 0.6157 MB / 0.6979 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006766/0.1841, allocations: 347.2 kB / 0.6982 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.1842, allocations: 0 / 0.6982 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.1842, allocations: 7.938 kB / 0.6983 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.946e-05/0.1842, allocations: 0 / 0.6983 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.1846, allocations: 119.7 kB / 0.6984 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.863e-05/0.1847, allocations: 23.92 kB / 0.6984 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.1848, allocations: 11.86 kB / 0.6984 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.888e-05/0.1848, allocations: 8 kB / 0.6984 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.1848, allocations: 11.92 kB / 0.6984 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.1849, allocations: 7.984 kB / 0.6984 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004083/0.1853, allocations: 271.7 kB / 0.6987 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.1853, allocations: 3.984 kB / 0.6987 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.1853, allocations: 11.94 kB / 0.6987 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.1855, allocations: 103.9 kB / 0.6988 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1855, allocations: 4 kB / 0.6988 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1855, allocations: 0 / 0.6988 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.1855, allocations: 0 / 0.6988 GB, free: 1.375 MB / 0.5137 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.0005294/0.1861, allocations: 373.1 kB / 0.6992 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.1861, allocations: 9.109 kB / 0.6992 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.551e-05/0.1862, allocations: 38.75 kB / 0.6992 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/0.1862, allocations: 4.891 kB / 0.6992 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.1864, allocations: 168.4 kB / 0.6994 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1864, allocations: 4.312 kB / 0.6994 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.1864, allocations: 8.375 kB / 0.6994 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.1865, allocations: 46.25 kB / 0.6994 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1865, allocations: 7.938 kB / 0.6994 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1866, allocations: 0 / 0.6994 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1866, allocations: 0 / 0.6994 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.451e-05/0.1866, allocations: 23.98 kB / 0.6995 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.1868, allocations: 161.7 kB / 0.6996 GB, free: 408 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.1869, allocations: 62.48 kB / 0.6997 GB, free: 336 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.488e-05/0.187, allocations: 29.09 kB / 0.6997 GB, free: 304 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007864/0.1878, allocations: 457.5 kB / 0.7001 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.1878, allocations: 38.56 kB / 0.7002 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1878, allocations: 0 / 0.7002 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001363/0.1892, allocations: 0.5903 MB / 0.7008 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1892, allocations: 51.41 kB / 0.7008 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.791e-05/0.1893, allocations: 101.9 kB / 0.7009 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.1893, allocations: 37.62 kB / 0.7009 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.1894, allocations: 80.14 kB / 0.701 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.1894, allocations: 35.66 kB / 0.701 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.1895, allocations: 33.7 kB / 0.7011 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1896, allocations: 314.8 kB / 0.7014 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.707e-05/0.1897, allocations: 19.98 kB / 0.7014 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.156e-05/0.1897, allocations: 27.98 kB / 0.7014 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.457e-05/0.1898, allocations: 59.8 kB / 0.7015 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.1898, allocations: 0 / 0.7015 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001714/0.19, allocations: 101.6 kB / 0.7016 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.19, allocations: 4 kB / 0.7016 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.19, allocations: 0 / 0.7016 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.19, allocations: 0 / 0.7016 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1901, allocations: 31.88 kB / 0.7016 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1901, allocations: 7.969 kB / 0.7016 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.2e-05/0.1902, allocations: 0 / 0.7016 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1902, allocations: 8 kB / 0.7016 GB, free: 14.08 MB / 0.5294 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.623e-05/0.1903, allocations: 117.8 kB / 0.7017 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.1903, allocations: 11.89 kB / 0.7017 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.1905, allocations: 93.64 kB / 0.7018 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1905, allocations: 3.938 kB / 0.7018 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1905, allocations: 3.984 kB / 0.7018 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1905, allocations: 4 kB / 0.7018 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004242/0.1909, allocations: 350.5 kB / 0.7022 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1909, allocations: 0 / 0.7022 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.191, allocations: 24 kB / 0.7022 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.191, allocations: 3.938 kB / 0.7022 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1911, allocations: 3.984 kB / 0.7022 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1911, allocations: 0 / 0.7022 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1911, allocations: 0 / 0.7022 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.1913, allocations: 219.4 kB / 0.7024 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.1914, allocations: 93.08 kB / 0.7025 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.1914, allocations: 0 / 0.7025 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-05/0.1915, allocations: 12.06 kB / 0.7025 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.1915, allocations: 7.984 kB / 0.7025 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.1915, allocations: 0 / 0.7025 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.035e-05/0.1916, allocations: 83.45 kB / 0.7026 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1916, allocations: 3.938 kB / 0.7026 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002725/0.1919, allocations: 47.86 kB / 0.7027 GB, free: 12.91 MB / 0.5294 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.0007363/0.1926, allocations: 0.8017 MB / 0.7034 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.1928, allocations: 59.92 kB / 0.7035 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1928, allocations: 0 / 0.7035 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.864e-05/0.1928, allocations: 27.98 kB / 0.7035 GB, free: 12 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.193, allocations: 6.344 kB / 0.7035 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.1946, allocations: 1.399 MB / 0.7049 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.195, allocations: 0.6961 MB / 0.7056 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.542e-05/0.1951, allocations: 8.062 kB / 0.7056 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.1951, allocations: 23.36 kB / 0.7056 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1951, allocations: 0 / 0.7056 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.2209, allocations: 2.481 MB / 0.708 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.05, allocations: 8.953 kB / 0.708 GB, free: 7.422 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.621274174991413] Failed to read output from testmodel.py, exit status != 0: 8.12030103399593 8.145045584 7.955201449 Calling exit ...