Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.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.001475/0.001475, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001718/0.001718, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9403/0.9403, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7142/0.7142, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.146e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001299/0.00132, allocations: 0.599 MB / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002222/0.001543, allocations: 55.73 kB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.781e-05/0.00156, allocations: 0 / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.001587, allocations: 0 / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.312e-06/0.001593, allocations: 0 / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.00188, allocations: 23.91 kB / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.227e-05/0.001962, allocations: 23.98 kB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.002004, allocations: 7.969 kB / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.264e-05/0.002036, allocations: 12 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.451e-05/0.002061, allocations: 19.97 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.002074, allocations: 0 / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.395e-05/0.002158, allocations: 15.98 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.002187, allocations: 19.91 kB / 0.6189 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.251e-05/0.002209, allocations: 8 kB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.002314, allocations: 35.83 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.002317, allocations: 0 / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.22e-07/0.002318, allocations: 0 / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.002322, allocations: 4 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002437/0.002565, allocations: 262.3 kB / 0.6192 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.002603, allocations: 9.469 kB / 0.6192 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.002633, allocations: 38.75 kB / 0.6192 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.002658, allocations: 8.828 kB / 0.6192 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.517e-05/0.002713, allocations: 113.8 kB / 0.6193 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.002723, allocations: 384 / 0.6193 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.002732, allocations: 4.375 kB / 0.6193 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.002852, allocations: 58.23 kB / 0.6194 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.00286, allocations: 4.188 kB / 0.6194 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.00287, allocations: 4.375 kB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.002876, allocations: 4.125 kB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.002977, allocations: 99.8 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.003113, allocations: 144.7 kB / 0.6196 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.056e-05/0.003203, allocations: 70.59 kB / 0.6197 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.67e-05/0.00324, allocations: 36.83 kB / 0.6197 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/0.003427, allocations: 15.92 kB / 0.6197 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.003448, allocations: 38.56 kB / 0.6198 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.003449, allocations: 0 / 0.6198 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.000218/0.003667, allocations: 120.4 kB / 0.6199 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.003696, allocations: 55.56 kB / 0.6199 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.105e-05/0.003727, allocations: 97.86 kB / 0.62 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.003739, allocations: 29.64 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.858e-05/0.003758, allocations: 80.14 kB / 0.6201 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.003785, allocations: 23.86 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.003819, allocations: 33.7 kB / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.889e-05/0.003908, allocations: 314.8 kB / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.221e-05/0.00394, allocations: 19.98 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.615e-05/0.003967, allocations: 19.98 kB / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.573e-05/0.004042, allocations: 56.84 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.004045, allocations: 0 / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001133/0.004158, allocations: 99.83 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.004172, allocations: 4 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.004177, allocations: 4 kB / 0.6207 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.004191, allocations: 4 kB / 0.6207 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/0.004287, allocations: 27.92 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.004294, allocations: 0 / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.611e-05/0.00431, allocations: 7.891 kB / 0.6207 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.004317, allocations: 4 kB / 0.6207 GB, free: 10.79 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001475/0.004464, allocations: 126.8 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-06/0.004473, allocations: 0 / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.004648, allocations: 125.6 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.004653, allocations: 7.875 kB / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.004658, allocations: 4 kB / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.004661, allocations: 0 / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.972e-05/0.00475, allocations: 144.7 kB / 0.6211 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.004752, allocations: 0 / 0.6211 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.004792, allocations: 23.98 kB / 0.6211 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.004795, allocations: 0 / 0.6211 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.004801, allocations: 0 / 0.6211 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.004803, allocations: 3.938 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.004806, allocations: 3.938 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.004915, allocations: 121 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.004921, allocations: 4 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.004932, allocations: 7.938 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-06/0.004941, allocations: 8 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.004971, allocations: 7.984 kB / 0.6213 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.004977, allocations: 11.92 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.888e-05/0.004996, allocations: 79.22 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.004996, allocations: 0 / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001454/0.005142, allocations: 16 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * 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.0003427/0.005484, allocations: 0.6616 MB / 0.622 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.005591, allocations: 63.84 kB / 0.6221 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.005593, allocations: 3.938 kB / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.193e-05/0.005625, allocations: 35.97 kB / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001023/0.005727, allocations: 6.188 kB / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.006036, allocations: 174.6 kB / 0.6223 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.803e-05/0.006084, allocations: 67.34 kB / 0.6224 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.472e-05/0.006129, allocations: 35.89 kB / 0.6224 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.006162, allocations: 24.5 kB / 0.6224 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.006163, allocations: 0 / 0.6224 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.02147, allocations: 2.201 MB / 0.6246 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.029/7.05, allocations: 0 / 0.6246 GB, free: 6.812 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 13.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00556 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.9058578312397] Failed to read output from testmodel.py, exit status != 0: 7.133459481410682 7.145576603 7.139864835 Calling exit ...