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.0007867/0.0007867, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008422/0.0008422, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8593/0.8593, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001508/0.001508, allocations: 229.6 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6525/0.6525, allocations: 138.4 MB / 454.3 MB, free: 30.06 MB / 410.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6463 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.968e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001203/0.001223, allocations: 0.5998 MB / 0.6469 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002307/0.001454, allocations: 48.45 kB / 0.647 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/0.001471, allocations: 0 / 0.647 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.773e-05/0.001499, allocations: 3.938 kB / 0.647 GB, free: 1.195 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.941e-06/0.001505, allocations: 0 / 0.647 GB, free: 1.195 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.001781, allocations: 19.92 kB / 0.647 GB, free: 1.176 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.957e-05/0.001861, allocations: 31.95 kB / 0.647 GB, free: 1.145 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.001898, allocations: 4 kB / 0.647 GB, free: 1.141 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.505e-05/0.001933, allocations: 19.97 kB / 0.6471 GB, free: 1.121 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.3e-05/0.001956, allocations: 11.97 kB / 0.6471 GB, free: 1.109 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.001968, allocations: 4 kB / 0.6471 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-05/0.002046, allocations: 19.92 kB / 0.6471 GB, free: 1.086 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.002073, allocations: 12 kB / 0.6471 GB, free: 1.074 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.002097, allocations: 15.91 kB / 0.6471 GB, free: 1.059 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 9.366e-05/0.00219, allocations: 31.89 kB / 0.6471 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.002193, allocations: 0 / 0.6471 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.41e-07/0.002194, allocations: 0 / 0.6471 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.002198, allocations: 0 / 0.6471 GB, free: 1.027 MB / 0.5573 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.0002419/0.00244, allocations: 270.3 kB / 0.6474 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.002476, allocations: 9.938 kB / 0.6474 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.992e-05/0.002506, allocations: 38.75 kB / 0.6475 GB, free: 0.6758 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.383e-05/0.00253, allocations: 8.828 kB / 0.6475 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.405e-05/0.002584, allocations: 109.7 kB / 0.6476 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.002593, allocations: 384 / 0.6476 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.002603, allocations: 8.375 kB / 0.6476 GB, free: 0.5273 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.002713, allocations: 66.16 kB / 0.6476 GB, free: 468 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.002719, allocations: 192 / 0.6476 GB, free: 468 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.002728, allocations: 4.375 kB / 0.6476 GB, free: 464 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.002735, allocations: 4.125 kB / 0.6476 GB, free: 460 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.00286, allocations: 99.81 kB / 0.6477 GB, free: 360 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.002987, allocations: 140.7 kB / 0.6479 GB, free: 176 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.669e-05/0.003074, allocations: 62.55 kB / 0.6479 GB, free: 104 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.35e-05/0.003107, allocations: 36.83 kB / 0.648 GB, free: 64 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.003278, allocations: 19.97 kB / 0.648 GB, free: 44 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.003297, allocations: 34.56 kB / 0.648 GB, free: 0 / 0.5573 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.003298, allocations: 0 / 0.648 GB, free: 0 / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.2307/0.234, allocations: 112.7 kB / 0.6481 GB, free: 57.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.234, allocations: 57.86 kB / 0.6482 GB, free: 57.04 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.015e-05/0.2341, allocations: 94.31 kB / 0.6483 GB, free: 56.94 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.2341, allocations: 29.42 kB / 0.6483 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.893e-06/0.2341, allocations: 80.7 kB / 0.6484 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.2341, allocations: 26.73 kB / 0.6484 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.2341, allocations: 32.28 kB / 0.6484 GB, free: 56.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.18e-05/0.2342, allocations: 315.2 kB / 0.6487 GB, free: 56.49 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.417e-05/0.2342, allocations: 21.58 kB / 0.6488 GB, free: 56.49 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.2342, allocations: 21.73 kB / 0.6488 GB, free: 56.49 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.288e-05/0.2343, allocations: 62.45 kB / 0.6488 GB, free: 56.48 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2343, allocations: 1 kB / 0.6488 GB, free: 56.48 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001088/0.2344, allocations: 90.86 kB / 0.6489 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2345, allocations: 5.781 kB / 0.6489 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2345, allocations: 0.875 kB / 0.6489 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.2345, allocations: 4.188 kB / 0.6489 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.83e-05/0.2346, allocations: 20.77 kB / 0.649 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.2346, allocations: 1.297 kB / 0.649 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.2346, allocations: 8.609 kB / 0.649 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.2346, allocations: 3.578 kB / 0.649 GB, free: 56.45 MB / 0.5573 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.0001475/0.2348, allocations: 126.7 kB / 0.6491 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.2348, allocations: 6.25 kB / 0.6491 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.2349, allocations: 127.5 kB / 0.6492 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.235, allocations: 2.906 kB / 0.6492 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.235, allocations: 0.6562 kB / 0.6492 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.235, allocations: 2.484 kB / 0.6492 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.748e-05/0.235, allocations: 138.6 kB / 0.6494 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.235, allocations: 0 / 0.6494 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.102e-05/0.2351, allocations: 27.77 kB / 0.6494 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2351, allocations: 2.031 kB / 0.6494 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.2351, allocations: 5.719 kB / 0.6494 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2351, allocations: 5.703 kB / 0.6494 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2351, allocations: 0 / 0.6494 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.2352, allocations: 126.7 kB / 0.6495 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.2352, allocations: 8.047 kB / 0.6495 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.2352, allocations: 4.906 kB / 0.6495 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.146e-05/0.2353, allocations: 4.188 kB / 0.6495 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.2353, allocations: 12.81 kB / 0.6495 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.2353, allocations: 6.156 kB / 0.6495 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.927e-06/0.2353, allocations: 75.28 kB / 0.6496 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2353, allocations: 2.125 kB / 0.6496 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001476/0.2354, allocations: 15.42 kB / 0.6496 GB, free: 55.99 MB / 0.5573 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.0002881/0.2357, allocations: 0.6682 MB / 0.6503 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.2359, allocations: 63.36 kB / 0.6503 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2359, allocations: 0 / 0.6503 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.2359, allocations: 31.28 kB / 0.6504 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/0.236, allocations: 6.031 kB / 0.6504 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.2363, allocations: 183.1 kB / 0.6506 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.332e-05/0.2364, allocations: 72.27 kB / 0.6506 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.808e-05/0.2364, allocations: 38.33 kB / 0.6507 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.2365, allocations: 20.45 kB / 0.6507 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of SimCode: time 8.01e-07/0.2365, allocations: 0 / 0.6507 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.2506, allocations: 2.216 MB / 0.6528 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.406/6.656, allocations: 9.25 kB / 0.6529 GB, free: 54.39 MB / 0.5573 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.225836823694408] Failed to read output from testmodel.py, exit status != 0: 6.733107146807015 6.742342764 6.738120026 Calling exit ...