Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.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.001761/0.001761, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002188/0.002188, allocations: 212.1 kB / 22.24 MB, free: 4.855 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.502/1.502, 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.8628/0.8628, allocations: 134 MB / 446.4 MB, free: 9.941 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.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",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.003318/0.003318, allocations: 66.8 kB / 0.6185 GB, free: 6.965 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1966, allocations: 85.92 MB / 0.7024 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002103/0.1987, allocations: 0.5798 MB / 0.703 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008164/0.1995, allocations: 291.3 kB / 0.7033 GB, free: 284 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.168e-05/0.1996, allocations: 0 / 0.7033 GB, free: 284 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.1996, allocations: 0 / 0.7033 GB, free: 284 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-06/0.1996, allocations: 0 / 0.7033 GB, free: 284 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006195/0.2002, allocations: 103.7 kB / 0.7034 GB, free: 180 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.947e-05/0.2003, allocations: 0 / 0.7034 GB, free: 180 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.263e-05/0.2003, allocations: 7.984 kB / 0.7034 GB, free: 172 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.849e-05/0.2004, allocations: 3.984 kB / 0.7034 GB, free: 168 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.179e-05/0.2004, allocations: 0 / 0.7034 GB, free: 168 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.2004, allocations: 3.938 kB / 0.7034 GB, free: 164 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005108/0.2009, allocations: 259.7 kB / 0.7036 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.2009, allocations: 0 / 0.7036 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.2009, allocations: 0 / 0.7036 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.2012, allocations: 92.02 kB / 0.7037 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2012, allocations: 0 / 0.7037 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2012, allocations: 0 / 0.7037 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.2012, allocations: 3.938 kB / 0.7037 GB, free: 15.81 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004018/0.2016, allocations: 262.2 kB / 0.704 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.2016, allocations: 8.031 kB / 0.704 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.157e-05/0.2017, allocations: 30.75 kB / 0.704 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.864e-05/0.2018, allocations: 4.938 kB / 0.704 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.2019, allocations: 106.5 kB / 0.7041 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.2019, allocations: 384 / 0.7041 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.2019, allocations: 384 / 0.7041 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.2021, allocations: 34.25 kB / 0.7041 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2021, allocations: 3.938 kB / 0.7041 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.2021, allocations: 4 kB / 0.7042 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2021, allocations: 0 / 0.7042 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.191e-05/0.2022, allocations: 3.938 kB / 0.7042 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.2024, allocations: 120.8 kB / 0.7043 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.298e-05/0.2024, allocations: 14.58 kB / 0.7043 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.2024, allocations: 4.859 kB / 0.7043 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004296/0.2029, allocations: 55.94 kB / 0.7043 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.2029, allocations: 30.56 kB / 0.7044 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.2029, allocations: 0 / 0.7044 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002111/0.2031, allocations: 49.53 kB / 0.7044 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.2032, allocations: 51.41 kB / 0.7045 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.416e-05/0.2032, allocations: 89.86 kB / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.2032, allocations: 25.7 kB / 0.7046 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.2033, allocations: 80.27 kB / 0.7047 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.2033, allocations: 4 kB / 0.7047 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.2033, allocations: 17.7 kB / 0.7047 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.2035, allocations: 310.8 kB / 0.705 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.2035, allocations: 0 / 0.705 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.794e-06/0.2035, allocations: 4 kB / 0.705 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.331e-05/0.2036, allocations: 12.86 kB / 0.705 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2036, allocations: 0 / 0.705 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.715e-05/0.2036, allocations: 37.58 kB / 0.705 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2037, allocations: 4 kB / 0.705 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2037, allocations: 8.031 kB / 0.705 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.2037, allocations: 7.984 kB / 0.705 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.838e-05/0.2037, allocations: 0 / 0.705 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2037, allocations: 0 / 0.705 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.042e-05/0.2038, allocations: 0 / 0.705 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.2038, allocations: 3.984 kB / 0.705 GB, free: 14.25 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 (1): * Single equations (assignments): 1 * 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.577e-05/0.2038, allocations: 111.8 kB / 0.7052 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.2039, allocations: 0 / 0.7052 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.204, allocations: 48.56 kB / 0.7052 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.204, allocations: 4.031 kB / 0.7052 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.204, allocations: 4 kB / 0.7052 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.204, allocations: 0 / 0.7052 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.2041, allocations: 116.8 kB / 0.7053 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2041, allocations: 0 / 0.7053 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.79e-05/0.2041, allocations: 4 kB / 0.7053 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2041, allocations: 0 / 0.7053 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.2042, allocations: 7.938 kB / 0.7053 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.2042, allocations: 0 / 0.7053 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2042, allocations: 3.984 kB / 0.7053 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.2043, allocations: 61.14 kB / 0.7054 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.2043, allocations: 0 / 0.7054 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.2043, allocations: 3.938 kB / 0.7054 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-06/0.2043, allocations: 0 / 0.7054 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.2043, allocations: 7.938 kB / 0.7054 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.2043, allocations: 3.984 kB / 0.7054 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.139e-05/0.2044, allocations: 79.22 kB / 0.7055 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5e-08/0.2044, allocations: 0 / 0.7055 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002143/0.2046, allocations: 11.94 kB / 0.7055 GB, free: 13.72 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0005761/0.2052, allocations: 0.6086 MB / 0.7061 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.665e-05/0.2052, allocations: 4 kB / 0.7061 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2052, allocations: 0 / 0.7061 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.566e-06/0.2053, allocations: 3.938 kB / 0.7061 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.2054, allocations: 4 kB / 0.7061 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.2057, allocations: 117.8 kB / 0.7062 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.259e-05/0.2058, allocations: 59.22 kB / 0.7063 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.822e-05/0.2058, allocations: 0 / 0.7063 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/0.2058, allocations: 11.56 kB / 0.7063 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.2058, allocations: 0 / 0.7063 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.2344, allocations: 1.66 MB / 0.7079 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.21, allocations: 6.906 kB / 0.7079 GB, free: 11.29 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.022350698243827] Failed to read output from testmodel.py, exit status != 0: 11.312750741839409 11.341476911 11.134904779 Calling exit ...