Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.001961/0.001961, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002195/0.002195, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 7.789 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.8706/0.8706, allocations: 134 MB / 446.4 MB, free: 9.926 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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.002052/0.002052, allocations: 70.05 kB / 0.6185 GB, free: 6.848 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1875, allocations: 85.91 MB / 0.7024 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002201/0.1897, allocations: 0.5849 MB / 0.703 GB, free: 452 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009151/0.1906, allocations: 319.2 kB / 0.7033 GB, free: 132 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.1906, allocations: 4 kB / 0.7033 GB, free: 128 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.1907, allocations: 0 / 0.7033 GB, free: 128 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.156e-05/0.1907, allocations: 0 / 0.7033 GB, free: 128 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005996/0.1913, allocations: 110.8 kB / 0.7034 GB, free: 20 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.1913, allocations: 11.98 kB / 0.7034 GB, free: 8 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.614e-05/0.1914, allocations: 4 kB / 0.7034 GB, free: 4 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.98e-05/0.1914, allocations: 0 / 0.7034 GB, free: 4 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.879e-05/0.1915, allocations: 8.047 kB / 0.7034 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1915, allocations: 7.938 kB / 0.7034 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005313/0.1921, allocations: 255.6 kB / 0.7037 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.1921, allocations: 3.984 kB / 0.7037 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.1921, allocations: 4 kB / 0.7037 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.1923, allocations: 92.02 kB / 0.7038 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1923, allocations: 3.938 kB / 0.7038 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1923, allocations: 0 / 0.7038 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.1923, allocations: 0 / 0.7038 GB, free: 15.64 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004286/0.1928, allocations: 266.2 kB / 0.704 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.1928, allocations: 8.031 kB / 0.704 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.1929, allocations: 38.75 kB / 0.7041 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.1929, allocations: 4.938 kB / 0.7041 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.1931, allocations: 110.4 kB / 0.7042 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1931, allocations: 4.375 kB / 0.7042 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.1931, allocations: 384 / 0.7042 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.1932, allocations: 67.89 kB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1932, allocations: 3.938 kB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.1933, allocations: 0 / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1933, allocations: 0 / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.415e-05/0.1933, allocations: 4 kB / 0.7043 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.1935, allocations: 124.8 kB / 0.7044 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.1936, allocations: 26.53 kB / 0.7044 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.599e-05/0.1936, allocations: 8.922 kB / 0.7044 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006699/0.1943, allocations: 75.92 kB / 0.7045 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.1943, allocations: 30.56 kB / 0.7045 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1943, allocations: 0 / 0.7045 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0006161/0.1949, allocations: 185.2 kB / 0.7047 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.195, allocations: 51.41 kB / 0.7047 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/0.1951, allocations: 97.84 kB / 0.7048 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1951, allocations: 25.7 kB / 0.7049 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.1952, allocations: 84.12 kB / 0.7049 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.1952, allocations: 16.25 kB / 0.705 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.1952, allocations: 13.72 kB / 0.705 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1954, allocations: 326.8 kB / 0.7053 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.1954, allocations: 4 kB / 0.7053 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.687e-05/0.1955, allocations: 21.66 kB / 0.7053 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.142e-05/0.1955, allocations: 25.66 kB / 0.7053 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1955, allocations: 4 kB / 0.7053 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001399/0.1957, allocations: 57.62 kB / 0.7054 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1957, allocations: 7.938 kB / 0.7054 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1957, allocations: 4.062 kB / 0.7054 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1957, allocations: 0 / 0.7054 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/0.1958, allocations: 11.98 kB / 0.7054 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1958, allocations: 3.984 kB / 0.7054 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.332e-05/0.1958, allocations: 0 / 0.7054 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1958, allocations: 4 kB / 0.7054 GB, free: 13.71 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 0.0001052/0.1959, allocations: 109.8 kB / 0.7055 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.196, allocations: 7.938 kB / 0.7055 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.1961, allocations: 57.45 kB / 0.7056 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1961, allocations: 4.031 kB / 0.7056 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1962, allocations: 3.984 kB / 0.7056 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1962, allocations: 0 / 0.7056 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.1963, allocations: 120.8 kB / 0.7057 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1963, allocations: 0 / 0.7057 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.32e-05/0.1964, allocations: 4 kB / 0.7057 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.1964, allocations: 7.938 kB / 0.7057 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1964, allocations: 3.984 kB / 0.7057 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1964, allocations: 3.938 kB / 0.7057 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1964, allocations: 0 / 0.7057 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.1966, allocations: 81.06 kB / 0.7058 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/0.1966, allocations: 11.92 kB / 0.7058 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.1966, allocations: 0 / 0.7058 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.1967, allocations: 0 / 0.7058 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.1967, allocations: 7.984 kB / 0.7058 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.1967, allocations: 0 / 0.7058 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.827e-05/0.1967, allocations: 83.28 kB / 0.7059 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1967, allocations: 0 / 0.7059 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003428/0.1971, allocations: 19.94 kB / 0.7059 GB, free: 13.12 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0008124/0.1979, allocations: 0.6399 MB / 0.7065 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.198, allocations: 15.94 kB / 0.7066 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.198, allocations: 7.938 kB / 0.7066 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.156e-05/0.198, allocations: 4 kB / 0.7066 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.1982, allocations: 6.016 kB / 0.7066 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.1996, allocations: 1.131 MB / 0.7077 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.942e-05/0.1997, allocations: 59.22 kB / 0.7077 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.147e-05/0.1997, allocations: 12.17 kB / 0.7078 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.1997, allocations: 15.44 kB / 0.7078 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1997, allocations: 0 / 0.7078 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/0.2354, allocations: 2.226 MB / 0.7099 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.17, allocations: 3.766 kB / 0.7099 GB, free: 9.008 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_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_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.870278562884778] Failed to read output from testmodel.py, exit status != 0: 11.275565335992724 11.292562225 11.097160249 Calling exit ...