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.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.00162/0.00162, allocations: 108.1 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.001851/0.001851, allocations: 192.5 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.518/1.518, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.838/0.838, 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.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: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 72.73 kB / 0.6052 GB, free: 15.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1812, allocations: 84.67 MB / 0.6878 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001971/0.1832, allocations: 0.5945 MB / 0.6884 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0007468/0.1839, allocations: 347.1 kB / 0.6888 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.184, allocations: 7.938 kB / 0.6888 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.184, allocations: 3.938 kB / 0.6888 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.023e-05/0.184, allocations: 0 / 0.6888 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.1845, allocations: 111.7 kB / 0.6889 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.504e-05/0.1845, allocations: 8 kB / 0.6889 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.983e-05/0.1846, allocations: 0 / 0.6889 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.043e-05/0.1846, allocations: 4 kB / 0.6889 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.066e-05/0.1847, allocations: 15.86 kB / 0.6889 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.1847, allocations: 4 kB / 0.6889 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004305/0.1851, allocations: 267.7 kB / 0.6892 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.1851, allocations: 7.984 kB / 0.6892 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.1852, allocations: 4 kB / 0.6892 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.1854, allocations: 95.94 kB / 0.6893 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1854, allocations: 0 / 0.6893 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1854, allocations: 0 / 0.6893 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.1854, allocations: 0 / 0.6893 GB, free: 9.602 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004399/0.1858, allocations: 339.3 kB / 0.6896 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1859, allocations: 8.031 kB / 0.6896 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.506e-05/0.1859, allocations: 34.75 kB / 0.6896 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.1859, allocations: 8.891 kB / 0.6896 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.1861, allocations: 168.3 kB / 0.6898 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1861, allocations: 384 / 0.6898 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.1861, allocations: 4.375 kB / 0.6898 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.1862, allocations: 34.27 kB / 0.6898 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1863, allocations: 7.922 kB / 0.6898 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.1863, allocations: 0 / 0.6898 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1863, allocations: 0 / 0.6898 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.39e-05/0.1863, allocations: 11.92 kB / 0.6899 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.1865, allocations: 149.7 kB / 0.69 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.616e-05/0.1865, allocations: 22.59 kB / 0.69 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.008e-05/0.1866, allocations: 8.922 kB / 0.69 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007782/0.1873, allocations: 461.5 kB / 0.6905 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.1874, allocations: 34.56 kB / 0.6905 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1874, allocations: 3.938 kB / 0.6905 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005552/0.1879, allocations: 254.5 kB / 0.6907 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.188, allocations: 55.34 kB / 0.6908 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.4e-05/0.1881, allocations: 101.8 kB / 0.6909 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1881, allocations: 25.7 kB / 0.6909 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.1881, allocations: 80.14 kB / 0.691 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.1881, allocations: 11.95 kB / 0.691 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.1882, allocations: 9.719 kB / 0.691 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1883, allocations: 326.8 kB / 0.6913 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.1884, allocations: 8.125 kB / 0.6913 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.149e-05/0.1884, allocations: 13.72 kB / 0.6913 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.742e-05/0.1884, allocations: 21.72 kB / 0.6914 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.1884, allocations: 0 / 0.6914 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001041/0.1885, allocations: 57.62 kB / 0.6914 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.1886, allocations: 14.28 kB / 0.6914 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1886, allocations: 4.062 kB / 0.6914 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1886, allocations: 0 / 0.6914 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.1886, allocations: 7.984 kB / 0.6914 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1886, allocations: 4 kB / 0.6915 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.594e-05/0.1887, allocations: 0 / 0.6915 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1887, allocations: 0 / 0.6915 GB, free: 6.977 MB / 0.5137 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 9.525e-05/0.1888, allocations: 113.8 kB / 0.6916 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.1888, allocations: 7.891 kB / 0.6916 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.189, allocations: 57.19 kB / 0.6916 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.189, allocations: 3.984 kB / 0.6916 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.189, allocations: 0 / 0.6916 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.189, allocations: 4 kB / 0.6916 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.1891, allocations: 157.7 kB / 0.6918 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1891, allocations: 0 / 0.6918 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.1892, allocations: 4 kB / 0.6918 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1892, allocations: 3.938 kB / 0.6918 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.1892, allocations: 0 / 0.6918 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1892, allocations: 0 / 0.6918 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1892, allocations: 4 kB / 0.6918 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.1893, allocations: 81.3 kB / 0.6919 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/0.1894, allocations: 85.03 kB / 0.692 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.1894, allocations: 7.922 kB / 0.692 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.633e-05/0.1894, allocations: 0 / 0.692 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.1895, allocations: 4.031 kB / 0.692 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.1895, allocations: 0 / 0.692 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.393e-05/0.1895, allocations: 83.34 kB / 0.692 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1895, allocations: 0 / 0.692 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002195/0.1897, allocations: 27.92 kB / 0.6921 GB, free: 6.234 MB / 0.5137 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.0005949/0.1903, allocations: 0.6396 MB / 0.6927 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.603e-05/0.1904, allocations: 20.14 kB / 0.6927 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1904, allocations: 0 / 0.6927 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.941e-05/0.1904, allocations: 11.94 kB / 0.6927 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.1906, allocations: 7.938 kB / 0.6927 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.1917, allocations: 1.136 MB / 0.6938 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.192, allocations: 0.6768 MB / 0.6945 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.501e-05/0.192, allocations: 8 kB / 0.6945 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.1921, allocations: 7.438 kB / 0.6945 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.1921, allocations: 0 / 0.6945 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.2211, allocations: 1.728 MB / 0.6962 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.115, allocations: 11.28 kB / 0.6962 GB, free: 1.996 MB / 0.5137 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 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: 11.747487783897668] Failed to read output from testmodel.py, exit status != 0: 8.183447920251638 8.203819096 8.015555385 Calling exit ...