Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001256/0.001256, allocations: 116.8 kB / 17.16 MB, free: 6.023 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.00143/0.00143, allocations: 210.3 kB / 20.13 MB, free: 3.078 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.541/1.541, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00237/0.00237, allocations: 284.2 kB / 309.8 MB, free: 3.457 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.058/1.058, allocations: 180.6 MB / 0.5338 GB, free: 12.41 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003148/0.003148, allocations: 99.84 kB / 0.7347 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6011/0.6043, allocations: 95.35 MB / 0.8278 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001887/0.6062, allocations: 0.5856 MB / 0.8284 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003101/0.6065, allocations: 60 kB / 0.8285 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.6065, allocations: 0 / 0.8285 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.6066, allocations: 1.188 kB / 0.8285 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.133e-06/0.6066, allocations: 0 / 0.8285 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.6069, allocations: 21.78 kB / 0.8285 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.607, allocations: 34.75 kB / 0.8285 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.607, allocations: 2.109 kB / 0.8285 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.592e-05/0.6071, allocations: 11.31 kB / 0.8285 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.124e-05/0.6071, allocations: 19.19 kB / 0.8285 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.6071, allocations: 2.375 kB / 0.8285 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.29e-05/0.6072, allocations: 17.25 kB / 0.8286 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.25e-05/0.6072, allocations: 10.09 kB / 0.8286 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.6073, allocations: 13.05 kB / 0.8286 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.6074, allocations: 32.53 kB / 0.8286 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6074, allocations: 0 / 0.8286 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6074, allocations: 0 / 0.8286 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.6074, allocations: 0 / 0.8286 GB, free: 2.586 MB / 0.5762 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.000319/0.6077, allocations: 348 kB / 0.8289 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.6078, allocations: 13.69 kB / 0.829 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.565e-05/0.6078, allocations: 10.53 kB / 0.829 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.343e-05/0.6078, allocations: 37.16 kB / 0.829 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.6078, allocations: 4.516 kB / 0.829 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.451e-05/0.6079, allocations: 165 kB / 0.8292 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.6079, allocations: 7.109 kB / 0.8292 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.6079, allocations: 7.344 kB / 0.8292 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.6081, allocations: 68.44 kB / 0.8292 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.6081, allocations: 2.625 kB / 0.8292 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.6081, allocations: 4 kB / 0.8292 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.6081, allocations: 0 / 0.8292 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.6083, allocations: 106.1 kB / 0.8294 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/0.6084, allocations: 177 kB / 0.8295 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.6085, allocations: 63.02 kB / 0.8296 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/0.6086, allocations: 34.41 kB / 0.8296 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002275/0.6088, allocations: 397.8 kB / 0.83 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.6088, allocations: 45.97 kB / 0.83 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.6088, allocations: 0 / 0.83 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0002226/0.609, allocations: 115.3 kB / 0.8301 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.739e-05/0.6091, allocations: 51.41 kB / 0.8302 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.262e-05/0.6091, allocations: 101.8 kB / 0.8303 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.6091, allocations: 25.7 kB / 0.8303 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.018e-05/0.6091, allocations: 80.66 kB / 0.8304 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.6091, allocations: 23.12 kB / 0.8304 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.6092, allocations: 42.19 kB / 0.8305 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.2e-05/0.6092, allocations: 316.7 kB / 0.8308 GB, free: 428 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.677e-05/0.6092, allocations: 19.88 kB / 0.8308 GB, free: 424 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.12e-05/0.6093, allocations: 21.72 kB / 0.8308 GB, free: 420 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.671e-05/0.6094, allocations: 62.48 kB / 0.8309 GB, free: 392 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6094, allocations: 0 / 0.8309 GB, free: 392 kB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001148/0.6095, allocations: 95.02 kB / 0.8309 GB, free: 340 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.6095, allocations: 9.188 kB / 0.831 GB, free: 336 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.6095, allocations: 0 / 0.831 GB, free: 336 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.6095, allocations: 0.75 kB / 0.831 GB, free: 336 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/0.6096, allocations: 23.59 kB / 0.831 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.6096, allocations: 0 / 0.831 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.6096, allocations: 3.953 kB / 0.831 GB, free: 328 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.6096, allocations: 6.375 kB / 0.831 GB, free: 328 kB / 0.5762 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.0001042/0.6097, allocations: 125.1 kB / 0.8311 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.6097, allocations: 7.359 kB / 0.8311 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.6099, allocations: 133.7 kB / 0.8312 GB, free: 124 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.6099, allocations: 4 kB / 0.8312 GB, free: 120 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.6099, allocations: 0 / 0.8312 GB, free: 120 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6099, allocations: 0.75 kB / 0.8312 GB, free: 120 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.6101, allocations: 173.6 kB / 0.8314 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6101, allocations: 0 / 0.8314 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.994e-05/0.6101, allocations: 30.91 kB / 0.8314 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.6101, allocations: 0 / 0.8314 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.6102, allocations: 4.109 kB / 0.8314 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6102, allocations: 0 / 0.8314 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6102, allocations: 0.75 kB / 0.8314 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.6103, allocations: 127.4 kB / 0.8316 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.6104, allocations: 77.77 kB / 0.8316 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.6104, allocations: 6.625 kB / 0.8316 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.552e-05/0.6104, allocations: 0.7031 kB / 0.8316 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.6104, allocations: 6.703 kB / 0.8317 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.6105, allocations: 3.375 kB / 0.8317 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.577e-05/0.6105, allocations: 76.03 kB / 0.8317 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5e-08/0.6105, allocations: 0 / 0.8317 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001998/0.6107, allocations: 22.44 kB / 0.8318 GB, free: 15.63 MB / 0.5919 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.0005449/0.6112, allocations: 0.6827 MB / 0.8324 GB, free: 15 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.6114, allocations: 61.3 kB / 0.8325 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.6114, allocations: 0 / 0.8325 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.384e-05/0.6115, allocations: 37.34 kB / 0.8325 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.6116, allocations: 6.781 kB / 0.8325 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.612, allocations: 185 kB / 0.8327 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.6123, allocations: 0.6841 MB / 0.8334 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.425e-05/0.6124, allocations: 33.64 kB / 0.8334 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.6125, allocations: 19.12 kB / 0.8334 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.6125, allocations: 4 kB / 0.8334 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.6298, allocations: 1.623 MB / 0.835 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/8.74, allocations: 13.16 kB / 0.835 GB, free: 13.71 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.812653716013301] Failed to read output from testmodel.py, exit status != 0: 8.864053355995566 8.885675582 8.27421453 Calling exit ...