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.001095/0.001095, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001073/0.001073, allocations: 223.6 kB / 22.26 MB, free: 3.695 MB / 13.93 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.048/1.048, allocations: 230.6 MB / 256 MB, free: 9.805 MB / 202.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.8111/0.8111, allocations: 203.8 MB / 0.5042 GB, free: 10.77 MB / 410.7 MB " [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: 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.0009656/0.0009656, allocations: 65.28 kB / 0.7183 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5704/0.5713, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001597/0.5729, allocations: 0.588 MB / 0.8185 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003008/0.5732, allocations: 51.73 kB / 0.8185 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.357e-05/0.5733, allocations: 3.938 kB / 0.8185 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.377e-05/0.5733, allocations: 6.016 kB / 0.8185 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.264e-06/0.5733, allocations: 0 / 0.8185 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.5737, allocations: 15.91 kB / 0.8186 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.5738, allocations: 32.36 kB / 0.8186 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.17e-05/0.5739, allocations: 2.625 kB / 0.8186 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.764e-05/0.5739, allocations: 11.36 kB / 0.8186 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.228e-05/0.5739, allocations: 11.39 kB / 0.8186 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.5739, allocations: 1.312 kB / 0.8186 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.5741, allocations: 33.16 kB / 0.8186 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.159e-05/0.5741, allocations: 9.703 kB / 0.8187 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.5741, allocations: 17.36 kB / 0.8187 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.5743, allocations: 45.83 kB / 0.8187 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5743, allocations: 0 / 0.8187 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.246e-06/0.5743, allocations: 0 / 0.8187 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.5743, allocations: 0 / 0.8187 GB, free: 0.7773 MB / 0.6042 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.0002585/0.5745, allocations: 261.1 kB / 0.819 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.5746, allocations: 11.28 kB / 0.819 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.575e-05/0.5746, allocations: 35.41 kB / 0.819 GB, free: 480 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.5746, allocations: 4.328 kB / 0.819 GB, free: 480 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.778e-05/0.5747, allocations: 107 kB / 0.8191 GB, free: 348 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.5747, allocations: 12.53 kB / 0.8191 GB, free: 340 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.5747, allocations: 3.125 kB / 0.8191 GB, free: 340 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.5748, allocations: 69.59 kB / 0.8192 GB, free: 292 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.5748, allocations: 3.938 kB / 0.8192 GB, free: 288 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.5749, allocations: 0 / 0.8192 GB, free: 288 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.5749, allocations: 2.25 kB / 0.8192 GB, free: 288 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.575, allocations: 101 kB / 0.8193 GB, free: 276 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.5751, allocations: 144.5 kB / 0.8194 GB, free: 108 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.415e-05/0.5752, allocations: 72.45 kB / 0.8195 GB, free: 68 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.795e-05/0.5752, allocations: 23.92 kB / 0.8195 GB, free: 56 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/0.5754, allocations: 23.64 kB / 0.8195 GB, free: 48 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.5755, allocations: 40.05 kB / 0.8196 GB, free: 16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 7.71e-07/0.5755, allocations: 0 / 0.8196 GB, free: 16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002478/0.5757, allocations: 115.1 kB / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.5757, allocations: 55.27 kB / 0.8197 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.857e-05/0.5758, allocations: 98.52 kB / 0.8198 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.5758, allocations: 30.22 kB / 0.8199 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.232e-05/0.5758, allocations: 80.14 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.5759, allocations: 29.14 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.5759, allocations: 31.7 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.576, allocations: 314 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.275e-05/0.576, allocations: 25.48 kB / 0.8203 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.492e-05/0.5761, allocations: 20.98 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.83e-05/0.5762, allocations: 69 kB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5762, allocations: 4 kB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001181/0.5763, allocations: 85.31 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.5763, allocations: 8.531 kB / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5763, allocations: 2.719 kB / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.5763, allocations: 0 / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.5764, allocations: 19 kB / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.5764, allocations: 8.672 kB / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.5764, allocations: 7.953 kB / 0.8205 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.5765, allocations: 4.562 kB / 0.8206 GB, free: 15.19 MB / 0.6198 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.0001317/0.5766, allocations: 128 kB / 0.8207 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.5766, allocations: 7.625 kB / 0.8207 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.5768, allocations: 118 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5768, allocations: 3.781 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5768, allocations: 0 / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.5768, allocations: 0.7031 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.577, allocations: 144.6 kB / 0.8209 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.577, allocations: 0 / 0.8209 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.5771, allocations: 22.89 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.5771, allocations: 12.53 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.5771, allocations: 8.688 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5771, allocations: 0 / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5771, allocations: 0 / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.5772, allocations: 118.5 kB / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-06/0.5772, allocations: 14.83 kB / 0.8211 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.5773, allocations: 0 / 0.8211 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.946e-06/0.5773, allocations: 6.188 kB / 0.8211 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.5773, allocations: 16.25 kB / 0.8211 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.5773, allocations: 4.062 kB / 0.8211 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.32e-05/0.5773, allocations: 75.28 kB / 0.8212 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5773, allocations: 0 / 0.8212 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001443/0.5775, allocations: 14.47 kB / 0.8212 GB, free: 14.62 MB / 0.6198 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.0003809/0.5779, allocations: 0.6637 MB / 0.8219 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.578, allocations: 61.22 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.578, allocations: 0 / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.196e-05/0.578, allocations: 32.88 kB / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.5781, allocations: 8.406 kB / 0.822 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.5785, allocations: 183 kB / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.5787, allocations: 0.6863 MB / 0.8228 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.209e-05/0.5787, allocations: 46.95 kB / 0.8228 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.5788, allocations: 17.95 kB / 0.8229 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.5788, allocations: 0 / 0.8229 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.5956, allocations: 1.718 MB / 0.8245 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.415/7.011, allocations: 3.891 kB / 0.8245 GB, free: 12.65 MB / 0.6198 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: 10.220293435966596] Failed to read output from testmodel.py, exit status != 0: 7.08708307496272 7.102522512 6.525345726 Calling exit ...