Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001737/0.001737, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001712/0.001712, allocations: 214 kB / 22.25 MB, free: 4.859 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.82 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.003323/0.003323, allocations: 289.4 kB / 312.7 MB, free: 2.641 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.253/1.253, allocations: 180.6 MB / 0.5369 GB, free: 14.44 MB / 382.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.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_FallingFactorial",fmuType="me",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.00287/0.00287, allocations: 105.2 kB / 0.7395 GB, free: 28.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1925, allocations: 95.38 MB / 0.8326 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.002866/0.1954, allocations: 1.568 MB / 0.8342 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004468/0.1958, allocations: 128.5 kB / 0.8343 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.1959, allocations: 0 / 0.8343 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.1959, allocations: 7.938 kB / 0.8343 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.026e-05/0.196, allocations: 3.938 kB / 0.8343 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.1963, allocations: 35.91 kB / 0.8343 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.012e-05/0.1964, allocations: 35.91 kB / 0.8344 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1965, allocations: 11.98 kB / 0.8344 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.337e-05/0.1965, allocations: 15.94 kB / 0.8344 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.677e-05/0.1966, allocations: 11.92 kB / 0.8344 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.1966, allocations: 4 kB / 0.8344 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.586e-05/0.1967, allocations: 27.95 kB / 0.8344 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.1967, allocations: 7.938 kB / 0.8345 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.1967, allocations: 15.94 kB / 0.8345 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.1969, allocations: 52.08 kB / 0.8345 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1969, allocations: 0 / 0.8345 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1969, allocations: 0 / 0.8345 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.1969, allocations: 0 / 0.8345 GB, free: 6.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005675/0.1975, allocations: 278.2 kB / 0.8348 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.1975, allocations: 9.344 kB / 0.8348 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.03e-05/0.1976, allocations: 38.73 kB / 0.8348 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.1976, allocations: 0.9375 kB / 0.8348 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.1977, allocations: 114.4 kB / 0.8349 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.1978, allocations: 8.375 kB / 0.835 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.1978, allocations: 4.375 kB / 0.835 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.198, allocations: 67.83 kB / 0.835 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.198, allocations: 3.938 kB / 0.835 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.198, allocations: 7.938 kB / 0.835 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.198, allocations: 0 / 0.835 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.1982, allocations: 43.95 kB / 0.8351 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.1987, allocations: 235.9 kB / 0.8353 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.199, allocations: 66.42 kB / 0.8354 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.1991, allocations: 28.89 kB / 0.8354 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.1993, allocations: 19.98 kB / 0.8354 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.1993, allocations: 34.56 kB / 0.8354 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1993, allocations: 0 / 0.8354 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004271/0.1997, allocations: 97.52 kB / 0.8355 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/0.1998, allocations: 59.41 kB / 0.8356 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.1999, allocations: 109.8 kB / 0.8357 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.2, allocations: 25.7 kB / 0.8357 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.402e-05/0.2, allocations: 84.14 kB / 0.8358 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.2, allocations: 7.953 kB / 0.8358 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.2001, allocations: 21.7 kB / 0.8358 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.2003, allocations: 314.8 kB / 0.8361 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.183e-05/0.2004, allocations: 19.98 kB / 0.8361 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.06e-05/0.2004, allocations: 19.97 kB / 0.8362 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.2006, allocations: 45.11 kB / 0.8362 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.2006, allocations: 3.984 kB / 0.8362 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002214/0.2008, allocations: 85.53 kB / 0.8363 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2008, allocations: 4 kB / 0.8363 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2009, allocations: 320 / 0.8363 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.2009, allocations: 4 kB / 0.8363 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.528e-05/0.2009, allocations: 11.98 kB / 0.8363 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.201, allocations: 4 kB / 0.8363 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.201, allocations: 15.92 kB / 0.8363 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.201, allocations: 3.984 kB / 0.8363 GB, free: 4.375 MB / 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: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001089/0.2011, allocations: 114.4 kB / 0.8364 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.2012, allocations: 4 kB / 0.8365 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.2014, allocations: 85.58 kB / 0.8365 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2014, allocations: 0 / 0.8365 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2014, allocations: 4 kB / 0.8365 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2014, allocations: 0 / 0.8365 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.2016, allocations: 140.6 kB / 0.8367 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2016, allocations: 0 / 0.8367 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.057e-05/0.2017, allocations: 11.98 kB / 0.8367 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2017, allocations: 3.938 kB / 0.8367 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.2017, allocations: 0 / 0.8367 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.2017, allocations: 0 / 0.8367 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2017, allocations: 3.984 kB / 0.8367 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.202, allocations: 179.4 kB / 0.8369 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.202, allocations: 4 kB / 0.8369 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.202, allocations: 0 / 0.8369 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.477e-05/0.2021, allocations: 7.984 kB / 0.8369 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.2022, allocations: 11.92 kB / 0.8369 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.2022, allocations: 0 / 0.8369 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.781e-05/0.2022, allocations: 87.28 kB / 0.837 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2022, allocations: 0 / 0.837 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002234/0.2024, allocations: 8 kB / 0.837 GB, free: 3.641 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006723/0.2031, allocations: 0.7163 MB / 0.8377 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.2034, allocations: 51.89 kB / 0.8377 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2034, allocations: 0 / 0.8377 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.2035, allocations: 20.27 kB / 0.8377 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.2038, allocations: 7.266 kB / 0.8377 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.2053, allocations: 1.3 MB / 0.839 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.292e-05/0.2054, allocations: 63.34 kB / 0.8391 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.02e-05/0.2054, allocations: 0 / 0.8391 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.063e-05/0.2055, allocations: 19.42 kB / 0.8391 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.2055, allocations: 4 kB / 0.8391 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02882/0.2343, allocations: 2.257 MB / 0.8413 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.37, allocations: 3.984 kB / 0.8413 GB, free: 15.22 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 BuildingSystems_BuildingSystems_Utilities_Math_Examples_FallingFactorial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.817611745093018] Failed to read output from testmodel.py, exit status != 0: 11.478812600951642 11.50419681 11.302845067 Calling exit ...