Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.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.001651/0.001651, allocations: 111.3 kB / 17.6 MB, free: 4.695 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.001804/0.001804, allocations: 182.7 kB / 20.77 MB, free: 1.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.45/1.45, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.765/2.765, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.89 kB / 1.107 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8978/0.8998, allocations: 168.7 MB / 1.272 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001807/0.9016, allocations: 0.6102 MB / 1.272 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002878/0.9019, allocations: 55.56 kB / 1.272 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.976e-05/0.9019, allocations: 0 / 1.272 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.9019, allocations: 0.5938 kB / 1.272 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.9019, allocations: 0 / 1.272 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.9022, allocations: 22.5 kB / 1.272 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.99e-05/0.9023, allocations: 30.38 kB / 1.272 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.9024, allocations: 2.781 kB / 1.272 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.263e-05/0.9024, allocations: 12.16 kB / 1.272 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.207e-05/0.9024, allocations: 12.2 kB / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.9024, allocations: 1.938 kB / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.577e-05/0.9025, allocations: 20.56 kB / 1.272 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.9025, allocations: 20.67 kB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.9026, allocations: 13.73 kB / 1.272 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.9027, allocations: 30.09 kB / 1.272 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.9027, allocations: 5.328 kB / 1.272 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9027, allocations: 0 / 1.272 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.9027, allocations: 1 kB / 1.272 GB, free: 7.242 MB / 0.9981 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.0002646/0.903, allocations: 337.4 kB / 1.273 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.903, allocations: 10.14 kB / 1.273 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.155e-05/0.903, allocations: 33.81 kB / 1.273 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.9031, allocations: 11.3 kB / 1.273 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.121e-05/0.9031, allocations: 174.8 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.9031, allocations: 2.5 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.9032, allocations: 3.594 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.9033, allocations: 60.89 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.9033, allocations: 4.922 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.9033, allocations: 8.594 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.9033, allocations: 1.938 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.9035, allocations: 100 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.9037, allocations: 173.2 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.9038, allocations: 71.09 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.357e-05/0.9039, allocations: 29.66 kB / 1.273 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002572/0.9041, allocations: 403.4 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.9041, allocations: 36.92 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.9041, allocations: 0 / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0002761/0.9044, allocations: 110.2 kB / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.9044, allocations: 57.7 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.663e-05/0.9045, allocations: 99.58 kB / 1.274 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.9045, allocations: 31.39 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.076e-05/0.9045, allocations: 84.08 kB / 1.274 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.9045, allocations: 24.38 kB / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.9046, allocations: 32.52 kB / 1.274 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.893e-05/0.9046, allocations: 314.7 kB / 1.274 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.682e-05/0.9047, allocations: 19.41 kB / 1.274 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-05/0.9047, allocations: 24.39 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.9048, allocations: 64.09 kB / 1.275 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9048, allocations: 0.7812 kB / 1.275 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001476/0.905, allocations: 93.53 kB / 1.275 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.905, allocations: 9.375 kB / 1.275 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.905, allocations: 0.7031 kB / 1.275 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.905, allocations: 1.344 kB / 1.275 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.9051, allocations: 21.61 kB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.9051, allocations: 0.625 kB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.04e-05/0.9052, allocations: 10.11 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.9052, allocations: 3.797 kB / 1.275 GB, free: 4.988 MB / 0.9981 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 9.666e-05/0.9053, allocations: 125.7 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.9053, allocations: 6.281 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.9055, allocations: 125 kB / 1.275 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.9055, allocations: 1.719 kB / 1.275 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9055, allocations: 6.141 kB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.9055, allocations: 1.062 kB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.177e-05/0.9056, allocations: 172.1 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9056, allocations: 4 kB / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.173e-05/0.9057, allocations: 20.3 kB / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.9057, allocations: 5.094 kB / 1.275 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.9057, allocations: 8.906 kB / 1.275 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.9057, allocations: 0.5312 kB / 1.275 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9057, allocations: 0.75 kB / 1.275 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.9058, allocations: 126.8 kB / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.9059, allocations: 82.67 kB / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.9059, allocations: 5.625 kB / 1.275 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.584e-05/0.9059, allocations: 4 kB / 1.275 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.9059, allocations: 11.3 kB / 1.275 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.906, allocations: 4.406 kB / 1.275 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.448e-05/0.906, allocations: 79.22 kB / 1.275 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.906, allocations: 0.6875 kB / 1.275 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002006/0.9062, allocations: 19.22 kB / 1.275 GB, free: 4.285 MB / 0.9981 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.0003858/0.9066, allocations: 0.675 MB / 1.276 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.9067, allocations: 59.16 kB / 1.276 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.9067, allocations: 0 / 1.276 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.727e-05/0.9068, allocations: 34.59 kB / 1.276 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.9069, allocations: 6.656 kB / 1.276 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.9073, allocations: 192.2 kB / 1.276 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.9075, allocations: 0.686 MB / 1.277 GB, free: 18.78 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.374e-05/0.9076, allocations: 34.94 kB / 1.277 GB, free: 18.78 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.9076, allocations: 18.34 kB / 1.277 GB, free: 18.77 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.9076, allocations: 0 / 1.277 GB, free: 18.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/0.9333, allocations: 1.546 MB / 1.279 GB, free: 18.38 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.919, allocations: 4.828 kB / 1.279 GB, free: 18.38 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 13.9 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00556 Buildings_11_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.825806968990946] Failed to read output from testmodel.py, exit status != 0: 8.98681389601552 9.001306996 8.095612886 Calling exit ...