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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 107.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.8524/0.8524, allocations: 134 MB / 436.6 MB, free: 1.289 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 69.02 kB / 0.6052 GB, free: 15.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1927, allocations: 84.67 MB / 0.6878 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002702/0.1954, allocations: 0.6295 MB / 0.6885 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009952/0.1964, allocations: 351.1 kB / 0.6888 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.1964, allocations: 0 / 0.6888 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.1964, allocations: 0 / 0.6888 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.858e-05/0.1965, allocations: 7.938 kB / 0.6888 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006652/0.1971, allocations: 119.7 kB / 0.6889 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.898e-05/0.1972, allocations: 19.98 kB / 0.6889 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.1973, allocations: 0 / 0.6889 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.024e-05/0.1973, allocations: 15.92 kB / 0.689 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.562e-05/0.1974, allocations: 19.91 kB / 0.689 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1974, allocations: 4 kB / 0.689 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005383/0.1979, allocations: 267.7 kB / 0.6892 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.198, allocations: 8 kB / 0.6892 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.198, allocations: 15.92 kB / 0.6893 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.1983, allocations: 103.9 kB / 0.6894 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1983, allocations: 0 / 0.6894 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.284e-06/0.1983, allocations: 3.938 kB / 0.6894 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.1983, allocations: 0 / 0.6894 GB, free: 9.52 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.0006072/0.1989, allocations: 367.1 kB / 0.6897 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.1989, allocations: 8.031 kB / 0.6897 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.558e-05/0.199, allocations: 34.75 kB / 0.6897 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.773e-05/0.199, allocations: 8.938 kB / 0.6898 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.1992, allocations: 160.4 kB / 0.6899 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.1992, allocations: 4.375 kB / 0.6899 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.1993, allocations: 12.33 kB / 0.6899 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1994, allocations: 46.23 kB / 0.69 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1994, allocations: 3.938 kB / 0.69 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.1994, allocations: 8 kB / 0.69 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1995, allocations: 0 / 0.69 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.536e-05/0.1995, allocations: 19.92 kB / 0.69 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/0.1998, allocations: 165.7 kB / 0.6902 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.1999, allocations: 54.62 kB / 0.6902 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.349e-05/0.2, allocations: 28.84 kB / 0.6902 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/0.2011, allocations: 461.5 kB / 0.6907 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.2011, allocations: 34.56 kB / 0.6907 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.2011, allocations: 0 / 0.6907 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001866/0.203, allocations: 0.6038 MB / 0.6913 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.2031, allocations: 55.41 kB / 0.6914 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.463e-05/0.2031, allocations: 101.8 kB / 0.6914 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.2032, allocations: 25.7 kB / 0.6915 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.2032, allocations: 80.14 kB / 0.6916 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.554e-05/0.2033, allocations: 39.69 kB / 0.6916 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/0.2033, allocations: 25.7 kB / 0.6916 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.2035, allocations: 322.8 kB / 0.6919 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.368e-05/0.2036, allocations: 19.98 kB / 0.6919 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.962e-05/0.2036, allocations: 27.98 kB / 0.692 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.2038, allocations: 54.11 kB / 0.692 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2038, allocations: 0 / 0.692 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002372/0.204, allocations: 105.1 kB / 0.6921 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.204, allocations: 4 kB / 0.6921 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.204, allocations: 0 / 0.6921 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.2041, allocations: 3.984 kB / 0.6921 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.2042, allocations: 20 kB / 0.6921 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.2042, allocations: 7.938 kB / 0.6922 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.427e-05/0.2043, allocations: 4 kB / 0.6922 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.2043, allocations: 4 kB / 0.6922 GB, free: 6.238 MB / 0.5137 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.0001192/0.2044, allocations: 113.8 kB / 0.6923 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.2044, allocations: 15.83 kB / 0.6923 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.2047, allocations: 102.7 kB / 0.6924 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2047, allocations: 0 / 0.6924 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2047, allocations: 0 / 0.6924 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2047, allocations: 4 kB / 0.6924 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/0.2053, allocations: 360.4 kB / 0.6927 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2053, allocations: 0 / 0.6927 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.2055, allocations: 19.98 kB / 0.6927 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.2055, allocations: 4.094 kB / 0.6928 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.2055, allocations: 7.938 kB / 0.6928 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.2055, allocations: 4 kB / 0.6928 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2055, allocations: 0 / 0.6928 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.2059, allocations: 231.3 kB / 0.693 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.758e-05/0.206, allocations: 85.12 kB / 0.6931 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.206, allocations: 4 kB / 0.6931 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.2061, allocations: 0 / 0.6931 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.2061, allocations: 7.984 kB / 0.6931 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.2062, allocations: 4 kB / 0.6931 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.2062, allocations: 83.28 kB / 0.6932 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.2062, allocations: 0 / 0.6932 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004667/0.2067, allocations: 47.86 kB / 0.6932 GB, free: 5.051 MB / 0.5137 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.001021/0.2077, allocations: 0.7865 MB / 0.694 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001975/0.2079, allocations: 59.69 kB / 0.694 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2079, allocations: 4 kB / 0.694 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.367e-05/0.208, allocations: 31.92 kB / 0.6941 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.2083, allocations: 8 kB / 0.6941 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.2105, allocations: 1.398 MB / 0.6954 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.2109, allocations: 0.6885 MB / 0.6961 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.599e-05/0.211, allocations: 11.94 kB / 0.6961 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.926e-05/0.2111, allocations: 15.44 kB / 0.6961 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.2111, allocations: 0 / 0.6961 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.246, allocations: 2.483 MB / 0.6986 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.226, allocations: 20.09 kB / 0.6986 GB, free: 15.57 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 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 os._exit(0), Time elapsed: 11.85777235403657] Failed to read output from testmodel.py, exit status != 0: 8.294338171835989 8.309775919 8.108410191 Calling exit ...