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.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.00171/0.00171, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00237/0.00237, allocations: 211.5 kB / 22.25 MB, free: 5.086 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 8.008 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.8556/0.8556, allocations: 134 MB / 446.4 MB, free: 10.21 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.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: 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.001973/0.001973, allocations: 62.34 kB / 0.6186 GB, free: 7.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1814, allocations: 85.91 MB / 0.7025 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001988/0.1834, allocations: 0.5954 MB / 0.7031 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008722/0.1842, allocations: 351.1 kB / 0.7034 GB, free: 404 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.1843, allocations: 0 / 0.7034 GB, free: 404 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.1843, allocations: 4 kB / 0.7034 GB, free: 400 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 1.86e-05/0.1843, allocations: 0 / 0.7034 GB, free: 400 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000625/0.1849, allocations: 121.6 kB / 0.7035 GB, free: 280 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.329e-05/0.185, allocations: 4 kB / 0.7035 GB, free: 276 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.185, allocations: 0 / 0.7035 GB, free: 276 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.39e-05/0.1851, allocations: 11.98 kB / 0.7035 GB, free: 264 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.867e-05/0.1851, allocations: 7.922 kB / 0.7035 GB, free: 256 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.1851, allocations: 4 kB / 0.7035 GB, free: 252 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005134/0.1856, allocations: 271.6 kB / 0.7038 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.1857, allocations: 4 kB / 0.7038 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.1857, allocations: 0 / 0.7038 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.1859, allocations: 99.92 kB / 0.7039 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1859, allocations: 4 kB / 0.7039 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.804e-06/0.1859, allocations: 0 / 0.7039 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.1859, allocations: 0 / 0.7039 GB, free: 15.88 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004585/0.1864, allocations: 268.8 kB / 0.7042 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1864, allocations: 12.03 kB / 0.7042 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.1865, allocations: 34.75 kB / 0.7042 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.1865, allocations: 0.9375 kB / 0.7042 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.1867, allocations: 110.5 kB / 0.7043 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1867, allocations: 384 / 0.7043 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.1867, allocations: 8.359 kB / 0.7043 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.1868, allocations: 34.2 kB / 0.7044 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1868, allocations: 3.938 kB / 0.7044 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1868, allocations: 8 kB / 0.7044 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1869, allocations: 0 / 0.7044 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.259e-05/0.1869, allocations: 0 / 0.7044 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.1871, allocations: 124.8 kB / 0.7045 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.561e-05/0.1871, allocations: 22.61 kB / 0.7045 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.1872, allocations: 12.91 kB / 0.7045 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006097/0.1878, allocations: 79.8 kB / 0.7046 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.1878, allocations: 34.56 kB / 0.7046 GB, free: 15 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.1878, allocations: 0 / 0.7046 GB, free: 15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0006242/0.1884, allocations: 177.2 kB / 0.7048 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.1885, allocations: 51.41 kB / 0.7048 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.326e-05/0.1886, allocations: 97.86 kB / 0.7049 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1886, allocations: 26.05 kB / 0.705 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.1886, allocations: 84.14 kB / 0.705 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.1886, allocations: 15.89 kB / 0.7051 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.1887, allocations: 13.72 kB / 0.7051 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1888, allocations: 318.8 kB / 0.7054 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.1889, allocations: 4 kB / 0.7054 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.505e-05/0.1889, allocations: 21.7 kB / 0.7054 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.584e-05/0.189, allocations: 33.66 kB / 0.7054 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.189, allocations: 0 / 0.7054 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001134/0.1891, allocations: 49.69 kB / 0.7055 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1891, allocations: 7.938 kB / 0.7055 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1891, allocations: 0 / 0.7055 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1891, allocations: 4 kB / 0.7055 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.339e-05/0.1892, allocations: 11.88 kB / 0.7055 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1892, allocations: 0 / 0.7055 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.135e-05/0.1892, allocations: 4.062 kB / 0.7055 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.1892, allocations: 4 kB / 0.7055 GB, free: 14 MB / 0.5294 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 0.0001036/0.1893, allocations: 109.8 kB / 0.7056 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.1893, allocations: 7.938 kB / 0.7056 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.1895, allocations: 53.38 kB / 0.7057 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1895, allocations: 0 / 0.7057 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1895, allocations: 0 / 0.7057 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1895, allocations: 3.938 kB / 0.7057 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.1896, allocations: 128.8 kB / 0.7058 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1896, allocations: 0 / 0.7058 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.1897, allocations: 12 kB / 0.7058 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1897, allocations: 4.125 kB / 0.7058 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1897, allocations: 3.984 kB / 0.7058 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1897, allocations: 0 / 0.7058 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1897, allocations: 3.938 kB / 0.7058 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.1899, allocations: 77.11 kB / 0.7059 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.1899, allocations: 19.98 kB / 0.7059 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.1899, allocations: 0 / 0.7059 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.848e-05/0.1899, allocations: 0 / 0.7059 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.19, allocations: 7.984 kB / 0.7059 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.19, allocations: 0 / 0.7059 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.482e-05/0.19, allocations: 75.28 kB / 0.706 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.19, allocations: 3.938 kB / 0.706 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000227/0.1902, allocations: 27.94 kB / 0.706 GB, free: 13.39 MB / 0.5294 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.000601/0.1908, allocations: 0.6398 MB / 0.7067 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.1909, allocations: 19.94 kB / 0.7067 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.1909, allocations: 0 / 0.7067 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.547e-05/0.191, allocations: 4 kB / 0.7067 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.1911, allocations: 7.984 kB / 0.7067 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.1924, allocations: 1.124 MB / 0.7078 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.1927, allocations: 0.6766 MB / 0.7084 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.787e-05/0.1928, allocations: 7.984 kB / 0.7084 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.1928, allocations: 11.44 kB / 0.7085 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of SimCode: time 4.4e-07/0.1928, allocations: 0 / 0.7085 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03196/0.2248, allocations: 1.834 MB / 0.7102 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.22, allocations: 6.578 kB / 0.7103 GB, free: 9.059 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.901972524123266] Failed to read output from testmodel.py, exit status != 0: 11.326350397896022 11.354006762 11.162866792 Calling exit ...