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.001315/0.001315, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001524/0.001524, allocations: 219.7 kB / 22.26 MB, free: 5.125 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.973 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.8768/0.8768, allocations: 134 MB / 446.4 MB, free: 10.23 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.001994/0.001994, allocations: 66.3 kB / 0.6186 GB, free: 7.176 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1813, allocations: 85.91 MB / 0.7025 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001995/0.1833, allocations: 0.6233 MB / 0.7031 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008321/0.1841, allocations: 347.1 kB / 0.7034 GB, free: 392 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.1841, allocations: 0 / 0.7034 GB, free: 392 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.1842, allocations: 0 / 0.7034 GB, free: 392 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.821e-05/0.1842, allocations: 3.938 kB / 0.7034 GB, free: 388 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005921/0.1848, allocations: 120.8 kB / 0.7035 GB, free: 268 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.342e-05/0.1849, allocations: 27.86 kB / 0.7036 GB, free: 240 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.822e-05/0.1849, allocations: 4 kB / 0.7036 GB, free: 236 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.531e-05/0.185, allocations: 11.98 kB / 0.7036 GB, free: 224 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.519e-05/0.185, allocations: 15.92 kB / 0.7036 GB, free: 208 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1851, allocations: 4 kB / 0.7036 GB, free: 204 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004586/0.1855, allocations: 271.7 kB / 0.7039 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.1855, allocations: 3.984 kB / 0.7039 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.1856, allocations: 15.88 kB / 0.7039 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.1858, allocations: 99.98 kB / 0.704 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1858, allocations: 3.938 kB / 0.704 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1858, allocations: 0 / 0.704 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.1858, allocations: 0 / 0.704 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000523/0.1863, allocations: 294 kB / 0.7043 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1864, allocations: 8.031 kB / 0.7043 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.441e-05/0.1864, allocations: 38.75 kB / 0.7043 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.1865, allocations: 8.891 kB / 0.7043 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1866, allocations: 106.5 kB / 0.7044 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.1866, allocations: 384 / 0.7044 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.1866, allocations: 8.375 kB / 0.7044 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.1868, allocations: 58.16 kB / 0.7045 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.1868, allocations: 7.938 kB / 0.7045 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.1868, allocations: 0 / 0.7045 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1868, allocations: 0 / 0.7045 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.156e-05/0.1869, allocations: 27.91 kB / 0.7045 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.1871, allocations: 132.8 kB / 0.7046 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.1872, allocations: 58.5 kB / 0.7047 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.147e-05/0.1872, allocations: 28.84 kB / 0.7047 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005825/0.1878, allocations: 71.92 kB / 0.7048 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.1879, allocations: 42.55 kB / 0.7048 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.1879, allocations: 0 / 0.7048 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001305/0.1892, allocations: 458.7 kB / 0.7053 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.1892, allocations: 55.39 kB / 0.7053 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/0.1893, allocations: 97.86 kB / 0.7054 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1893, allocations: 25.7 kB / 0.7054 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.1894, allocations: 84.14 kB / 0.7055 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.1894, allocations: 47.64 kB / 0.7056 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.1895, allocations: 21.72 kB / 0.7056 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1896, allocations: 318.8 kB / 0.7059 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.742e-05/0.1896, allocations: 23.98 kB / 0.7059 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.031e-05/0.1897, allocations: 20 kB / 0.7059 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1898, allocations: 64.03 kB / 0.706 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1898, allocations: 4 kB / 0.706 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001718/0.19, allocations: 97.62 kB / 0.7061 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.19, allocations: 7.938 kB / 0.7061 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.19, allocations: 0 / 0.7061 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.19, allocations: 4 kB / 0.7061 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1901, allocations: 23.98 kB / 0.7061 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1901, allocations: 0 / 0.7061 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.387e-05/0.1901, allocations: 0 / 0.7061 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.1902, allocations: 7.938 kB / 0.7061 GB, free: 13.37 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.826e-05/0.1902, allocations: 113.8 kB / 0.7062 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.1903, allocations: 15.89 kB / 0.7063 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.1905, allocations: 109.7 kB / 0.7064 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1905, allocations: 0 / 0.7064 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1905, allocations: 4 kB / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1905, allocations: 0 / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.1909, allocations: 325.5 kB / 0.7067 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1909, allocations: 0 / 0.7067 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.191, allocations: 27.98 kB / 0.7067 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.191, allocations: 0 / 0.7067 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.191, allocations: 0 / 0.7067 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.191, allocations: 8 kB / 0.7067 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.191, allocations: 3.938 kB / 0.7067 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.1913, allocations: 219.3 kB / 0.7069 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.1914, allocations: 7.984 kB / 0.7069 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.1914, allocations: 7.984 kB / 0.7069 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.932e-05/0.1915, allocations: 4 kB / 0.7069 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.1915, allocations: 7.984 kB / 0.707 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.1915, allocations: 8.062 kB / 0.707 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.626e-05/0.1915, allocations: 79.47 kB / 0.707 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1915, allocations: 0 / 0.707 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002831/0.1918, allocations: 43.88 kB / 0.7071 GB, free: 12.32 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.000762/0.1926, allocations: 0.7939 MB / 0.7079 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001709/0.1928, allocations: 63.97 kB / 0.7079 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1928, allocations: 0 / 0.7079 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.263e-05/0.1928, allocations: 27.98 kB / 0.7079 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.1931, allocations: 8 kB / 0.708 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.1946, allocations: 1.401 MB / 0.7093 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.1949, allocations: 0.6961 MB / 0.71 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.241e-05/0.195, allocations: 12 kB / 0.71 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.195, allocations: 15.44 kB / 0.71 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of SimCode: time 1.222e-06/0.195, allocations: 3.938 kB / 0.71 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03191/0.2269, allocations: 2.61 MB / 0.7126 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.27, allocations: 6.625 kB / 0.7126 GB, free: 6.699 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.991630575852469] Failed to read output from testmodel.py, exit status != 0: 11.378369983984157 11.405937176 11.216016412 Calling exit ...