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.001355/0.001355, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001502/0.001502, allocations: 217.7 kB / 22.26 MB, free: 5.082 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 8.004 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.002495/0.002495, allocations: 282.8 kB / 312.7 MB, free: 2.805 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.345/1.345, allocations: 180.6 MB / 0.5369 GB, free: 12.96 MB / 382.1 MB " [Timeout remaining time 178] 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.002926/0.002926, allocations: 98 kB / 0.7396 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.2014, allocations: 95.38 MB / 0.8327 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.002886/0.2043, allocations: 1.573 MB / 0.8343 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003966/0.2046, allocations: 140.4 kB / 0.8344 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.2047, allocations: 0 / 0.8344 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.815e-05/0.2047, allocations: 11.92 kB / 0.8344 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.792e-05/0.2048, allocations: 3.938 kB / 0.8344 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.2051, allocations: 27.91 kB / 0.8344 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.507e-05/0.2052, allocations: 39.92 kB / 0.8345 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.2053, allocations: 11.98 kB / 0.8345 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.33e-05/0.2053, allocations: 15.92 kB / 0.8345 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.82e-05/0.2053, allocations: 23.92 kB / 0.8345 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.2054, allocations: 4 kB / 0.8345 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.507e-05/0.2054, allocations: 19.92 kB / 0.8346 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.2055, allocations: 15.97 kB / 0.8346 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.2055, allocations: 15.88 kB / 0.8346 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.2056, allocations: 56.08 kB / 0.8346 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2056, allocations: 0 / 0.8346 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2056, allocations: 0 / 0.8346 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.2056, allocations: 0 / 0.8346 GB, free: 6.672 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.0004725/0.2061, allocations: 270.3 kB / 0.8349 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.2062, allocations: 13.34 kB / 0.8349 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/0.2062, allocations: 30.75 kB / 0.8349 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.2062, allocations: 4.938 kB / 0.8349 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.2063, allocations: 114.4 kB / 0.8351 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.2063, allocations: 8.375 kB / 0.8351 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.2064, allocations: 8.312 kB / 0.8351 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.2066, allocations: 67.89 kB / 0.8351 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2066, allocations: 3.938 kB / 0.8351 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.2066, allocations: 0 / 0.8351 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.2066, allocations: 0 / 0.8351 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.2068, allocations: 47.89 kB / 0.8352 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.2072, allocations: 247.9 kB / 0.8354 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.2075, allocations: 54.48 kB / 0.8355 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.685e-05/0.2076, allocations: 28.89 kB / 0.8355 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.2077, allocations: 19.98 kB / 0.8355 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.2078, allocations: 34.56 kB / 0.8356 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2078, allocations: 0 / 0.8356 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004011/0.2082, allocations: 101.5 kB / 0.8357 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.2082, allocations: 51.41 kB / 0.8357 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.792e-05/0.2083, allocations: 109.8 kB / 0.8358 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.2083, allocations: 25.7 kB / 0.8358 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.447e-05/0.2084, allocations: 92.2 kB / 0.8359 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.2084, allocations: 7.953 kB / 0.8359 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.2084, allocations: 17.7 kB / 0.8359 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.2086, allocations: 318.8 kB / 0.8362 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.022e-05/0.2087, allocations: 15.98 kB / 0.8363 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.057e-05/0.2088, allocations: 23.97 kB / 0.8363 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.2089, allocations: 52.81 kB / 0.8363 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2089, allocations: 0 / 0.8363 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002107/0.2091, allocations: 77.55 kB / 0.8364 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2092, allocations: 4 kB / 0.8364 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.2092, allocations: 0 / 0.8364 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2092, allocations: 0 / 0.8364 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.121e-05/0.2093, allocations: 11.98 kB / 0.8364 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2093, allocations: 3.938 kB / 0.8364 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.2093, allocations: 19.92 kB / 0.8364 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.2093, allocations: 0 / 0.8364 GB, free: 4.629 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.0001025/0.2094, allocations: 114.8 kB / 0.8366 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.2095, allocations: 4 kB / 0.8366 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.2097, allocations: 89.56 kB / 0.8366 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2097, allocations: 4 kB / 0.8366 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2098, allocations: 4 kB / 0.8367 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2098, allocations: 4 kB / 0.8367 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.2099, allocations: 144.6 kB / 0.8368 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2099, allocations: 3.938 kB / 0.8368 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.463e-05/0.21, allocations: 11.98 kB / 0.8368 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.21, allocations: 0 / 0.8368 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.21, allocations: 0 / 0.8368 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.21, allocations: 320 / 0.8368 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.21, allocations: 3.984 kB / 0.8368 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.2103, allocations: 171.5 kB / 0.837 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.2103, allocations: 4 kB / 0.837 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.2103, allocations: 0 / 0.837 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.174e-05/0.2104, allocations: 7.984 kB / 0.837 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/0.2105, allocations: 11.92 kB / 0.837 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.2105, allocations: 4 kB / 0.837 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.996e-05/0.2106, allocations: 87.27 kB / 0.8371 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2106, allocations: 4 kB / 0.8371 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002301/0.2108, allocations: 11.95 kB / 0.8371 GB, free: 3.875 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.000642/0.2114, allocations: 0.7085 MB / 0.8378 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.2117, allocations: 47.89 kB / 0.8378 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.2117, allocations: 4 kB / 0.8378 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.123e-05/0.2118, allocations: 19.98 kB / 0.8379 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.2121, allocations: 8 kB / 0.8379 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.2136, allocations: 1.3 MB / 0.8391 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.2139, allocations: 0.6768 MB / 0.8398 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.864e-05/0.214, allocations: 4 kB / 0.8398 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.214, allocations: 19.8 kB / 0.8398 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.214, allocations: 0 / 0.8398 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.2419, allocations: 1.825 MB / 0.8416 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.58, allocations: 10.33 kB / 0.8416 GB, free: 15.26 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.038423571000749] Failed to read output from testmodel.py, exit status != 0: 10.689387498998258 10.716152138 10.505644665 Calling exit ...