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.0008148/0.0008148, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001147/0.001147, allocations: 209.7 kB / 22.24 MB, free: 3.59 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 0.961/0.961, allocations: 230.6 MB / 256 MB, free: 9.613 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.8355/0.8355, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.0009587/0.0009587, allocations: 67.23 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5201/0.521, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001339/0.5224, allocations: 0.5966 MB / 0.8184 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002397/0.5226, allocations: 53.2 kB / 0.8185 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.805e-05/0.5226, allocations: 0 / 0.8185 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.5227, allocations: 0.6562 kB / 0.8185 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.813e-06/0.5227, allocations: 3.938 kB / 0.8185 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.5229, allocations: 15.25 kB / 0.8185 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.508e-05/0.523, allocations: 41.91 kB / 0.8185 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.5231, allocations: 2.016 kB / 0.8185 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.831e-05/0.5231, allocations: 7.859 kB / 0.8185 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.522e-05/0.5231, allocations: 20.59 kB / 0.8186 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.5231, allocations: 0 / 0.8186 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.015e-05/0.5232, allocations: 24.95 kB / 0.8186 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.5232, allocations: 5.312 kB / 0.8186 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.5233, allocations: 17.36 kB / 0.8186 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.5234, allocations: 38.05 kB / 0.8186 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5234, allocations: 0 / 0.8186 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5234, allocations: 4 kB / 0.8186 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.5234, allocations: 3.938 kB / 0.8186 GB, free: 0.5703 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.0002308/0.5236, allocations: 261.1 kB / 0.8189 GB, free: 312 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.5236, allocations: 9.281 kB / 0.8189 GB, free: 312 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.995e-05/0.5237, allocations: 39.69 kB / 0.8189 GB, free: 268 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.5237, allocations: 0.9375 kB / 0.8189 GB, free: 268 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.791e-05/0.5237, allocations: 109.6 kB / 0.819 GB, free: 136 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.5237, allocations: 7.875 kB / 0.8191 GB, free: 132 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.5238, allocations: 3.875 kB / 0.8191 GB, free: 132 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.5239, allocations: 61.95 kB / 0.8191 GB, free: 92 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.5239, allocations: 4.734 kB / 0.8191 GB, free: 88 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.5239, allocations: 7.938 kB / 0.8191 GB, free: 80 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5239, allocations: 0.7188 kB / 0.8191 GB, free: 80 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.524, allocations: 100.6 kB / 0.8192 GB, free: 64 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.5244, allocations: 139.7 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.5245, allocations: 71.69 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.95e-05/0.5246, allocations: 27.98 kB / 0.8194 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.5248, allocations: 22.53 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.5248, allocations: 32.69 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 8.41e-07/0.5248, allocations: 0 / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0001997/0.525, allocations: 123.8 kB / 0.8196 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.525, allocations: 58.25 kB / 0.8197 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.346e-05/0.525, allocations: 100.2 kB / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.5251, allocations: 27.14 kB / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.611e-05/0.5251, allocations: 80.14 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.5251, allocations: 24.95 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.5251, allocations: 31.52 kB / 0.8199 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.231e-05/0.5252, allocations: 314.2 kB / 0.8202 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.931e-05/0.5252, allocations: 22.66 kB / 0.8202 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/0.5253, allocations: 22.92 kB / 0.8203 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.479e-05/0.5253, allocations: 66.61 kB / 0.8203 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5253, allocations: 3.938 kB / 0.8203 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.85e-05/0.5254, allocations: 92.27 kB / 0.8204 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.5254, allocations: 8.016 kB / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.5254, allocations: 0 / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.5255, allocations: 1.344 kB / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.098e-05/0.5255, allocations: 18.14 kB / 0.8205 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.5255, allocations: 0 / 0.8205 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.5255, allocations: 9.609 kB / 0.8205 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.5255, allocations: 10.55 kB / 0.8205 GB, free: 14.99 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 8.877e-05/0.5256, allocations: 124 kB / 0.8206 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-06/0.5256, allocations: 9.969 kB / 0.8206 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.5258, allocations: 118.7 kB / 0.8207 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.5258, allocations: 0.5156 kB / 0.8207 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5258, allocations: 2.75 kB / 0.8207 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5258, allocations: 4.641 kB / 0.8207 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.014e-05/0.5259, allocations: 145.4 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5259, allocations: 4 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/0.5259, allocations: 22.91 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5259, allocations: 3.938 kB / 0.8209 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.5259, allocations: 6.797 kB / 0.8209 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5259, allocations: 4.609 kB / 0.8209 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.5259, allocations: 1.938 kB / 0.8209 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.526, allocations: 117.9 kB / 0.821 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.526, allocations: 14.2 kB / 0.821 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.5261, allocations: 4.219 kB / 0.821 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.5261, allocations: 4.609 kB / 0.821 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.5261, allocations: 5.734 kB / 0.821 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.5261, allocations: 3.828 kB / 0.821 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.884e-05/0.5261, allocations: 75.28 kB / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5261, allocations: 0 / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001381/0.5263, allocations: 16.95 kB / 0.8211 GB, free: 14.43 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.0003369/0.5266, allocations: 0.6733 MB / 0.8218 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.5267, allocations: 57.67 kB / 0.8218 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.5267, allocations: 0 / 0.8218 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.863e-05/0.5267, allocations: 29.58 kB / 0.8219 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.88e-05/0.5268, allocations: 15.47 kB / 0.8219 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002779/0.5271, allocations: 177.6 kB / 0.8221 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.702e-05/0.5272, allocations: 78.44 kB / 0.8221 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.151e-05/0.5272, allocations: 38.38 kB / 0.8222 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.5273, allocations: 17.98 kB / 0.8222 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of SimCode: time 3.8e-07/0.5273, allocations: 0 / 0.8222 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01414/0.5414, allocations: 2.059 MB / 0.8242 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.406/6.948, allocations: 6.5 kB / 0.8242 GB, free: 12.66 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.11020726012066] Failed to read output from testmodel.py, exit status != 0: 7.025313702877611 7.044938956 6.518270725 Calling exit ...