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.00129/0.00129, 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.001473/0.001473, allocations: 213 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.777 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.9079/0.9079, allocations: 134 MB / 446.4 MB, free: 9.918 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.002081/0.002081, allocations: 65.69 kB / 0.6185 GB, free: 6.824 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2008, allocations: 85.91 MB / 0.7024 GB, free: 1 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002653/0.2034, allocations: 0.614 MB / 0.703 GB, free: 400 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.2045, allocations: 319.2 kB / 0.7033 GB, free: 80 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.181e-05/0.2045, allocations: 0 / 0.7033 GB, free: 80 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.2046, allocations: 3.938 kB / 0.7033 GB, free: 76 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.176e-05/0.2046, allocations: 0 / 0.7033 GB, free: 76 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000778/0.2054, allocations: 111.7 kB / 0.7034 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.839e-05/0.2055, allocations: 31.81 kB / 0.7035 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.733e-05/0.2055, allocations: 7.984 kB / 0.7035 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.194e-05/0.2056, allocations: 4 kB / 0.7035 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.979e-05/0.2057, allocations: 19.91 kB / 0.7035 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.2057, allocations: 0 / 0.7035 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006676/0.2063, allocations: 251.7 kB / 0.7037 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.909e-05/0.2064, allocations: 8 kB / 0.7037 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.2064, allocations: 11.92 kB / 0.7038 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.2067, allocations: 107.9 kB / 0.7039 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2067, allocations: 0 / 0.7039 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2067, allocations: 0 / 0.7039 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.2068, allocations: 4 kB / 0.7039 GB, free: 15.53 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006621/0.2074, allocations: 286 kB / 0.7041 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.2075, allocations: 8.031 kB / 0.7041 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.893e-05/0.2075, allocations: 38.75 kB / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.547e-05/0.2076, allocations: 4.891 kB / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.2078, allocations: 110.5 kB / 0.7043 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.2078, allocations: 384 / 0.7043 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.2078, allocations: 12.31 kB / 0.7043 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.2081, allocations: 101.6 kB / 0.7044 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.2081, allocations: 3.938 kB / 0.7044 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.2081, allocations: 8 kB / 0.7044 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2081, allocations: 0 / 0.7044 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.803e-05/0.2082, allocations: 19.98 kB / 0.7044 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002621/0.2085, allocations: 132.8 kB / 0.7046 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.2086, allocations: 58.48 kB / 0.7046 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.192e-05/0.2087, allocations: 28.86 kB / 0.7046 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007144/0.2094, allocations: 83.91 kB / 0.7047 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.2094, allocations: 30.56 kB / 0.7048 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.2095, allocations: 0 / 0.7048 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001815/0.2113, allocations: 467.7 kB / 0.7052 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.2113, allocations: 59.41 kB / 0.7053 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.2114, allocations: 93.86 kB / 0.7053 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.2115, allocations: 29.7 kB / 0.7054 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.2115, allocations: 80.14 kB / 0.7055 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.827e-05/0.2116, allocations: 39.64 kB / 0.7055 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.465e-05/0.2117, allocations: 33.7 kB / 0.7055 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.2119, allocations: 314.8 kB / 0.7058 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.906e-05/0.2119, allocations: 19.98 kB / 0.7058 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.277e-05/0.212, allocations: 23.92 kB / 0.7059 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.2122, allocations: 60.61 kB / 0.7059 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2122, allocations: 0 / 0.7059 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002919/0.2125, allocations: 101.6 kB / 0.706 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.2125, allocations: 4 kB / 0.706 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2125, allocations: 0 / 0.706 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.2125, allocations: 7.984 kB / 0.706 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.2127, allocations: 19.94 kB / 0.706 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.2127, allocations: 0 / 0.706 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.186e-05/0.2127, allocations: 4 kB / 0.7061 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.2128, allocations: 4 kB / 0.7061 GB, free: 13.03 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 0.0001416/0.2129, allocations: 117.8 kB / 0.7062 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.213, allocations: 11.89 kB / 0.7062 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.2133, allocations: 109.6 kB / 0.7063 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.2133, allocations: 4 kB / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2133, allocations: 0 / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2133, allocations: 0 / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006266/0.2139, allocations: 325.5 kB / 0.7066 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2139, allocations: 0 / 0.7066 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.2141, allocations: 23.92 kB / 0.7066 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2141, allocations: 0 / 0.7066 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.2141, allocations: 4 kB / 0.7066 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2141, allocations: 96 / 0.7066 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2141, allocations: 3.938 kB / 0.7066 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.2145, allocations: 227.1 kB / 0.7068 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.2146, allocations: 15.97 kB / 0.7069 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.2146, allocations: 0 / 0.7069 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.2147, allocations: 4 kB / 0.7069 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.2148, allocations: 11.92 kB / 0.7069 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.2148, allocations: 4 kB / 0.7069 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.91e-05/0.2148, allocations: 79.28 kB / 0.707 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2148, allocations: 0 / 0.707 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004771/0.2153, allocations: 47.86 kB / 0.707 GB, free: 11.98 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.001057/0.2164, allocations: 0.7869 MB / 0.7078 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.2166, allocations: 63.84 kB / 0.7078 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2166, allocations: 0 / 0.7078 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.81e-05/0.2167, allocations: 27.98 kB / 0.7079 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.217, allocations: 10.41 kB / 0.7079 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.2193, allocations: 1.392 MB / 0.7092 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.2194, allocations: 83.06 kB / 0.7093 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.504e-05/0.2195, allocations: 16.05 kB / 0.7093 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.2196, allocations: 23.42 kB / 0.7093 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.2196, allocations: 0 / 0.7093 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04362/0.2632, allocations: 2.952 MB / 0.7122 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.42, allocations: 14.64 kB / 0.7122 GB, free: 6.648 MB / 0.5294 GB " [Timeout remaining time 648] (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: 15.261140241287649] Failed to read output from testmodel.py, exit status != 0: 11.530178346671164 11.55673946 11.344507314 Calling exit ...