Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001268/0.001268, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.00146/0.00146, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.539/1.539, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.016/3.016, allocations: 0.49 GB / 0.7923 GB, free: 1.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002304/0.002304, allocations: 67.89 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136/1.138, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002523/1.141, allocations: 1.554 MB / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003895/1.141, allocations: 133.5 kB / 1.323 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/1.141, allocations: 2.875 kB / 1.323 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/1.141, allocations: 3.938 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.149e-05/1.141, allocations: 3.938 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/1.141, allocations: 35.77 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.387e-05/1.142, allocations: 41.92 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/1.142, allocations: 13.44 kB / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.056e-05/1.142, allocations: 11.22 kB / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/1.142, allocations: 20.25 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/1.142, allocations: 2.75 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.053e-05/1.142, allocations: 17.39 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/1.142, allocations: 17.83 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/1.142, allocations: 14.88 kB / 1.323 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/1.142, allocations: 45.8 kB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.142, allocations: 4 kB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.683e-06/1.142, allocations: 0 / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.651e-06/1.142, allocations: 2.219 kB / 1.323 GB, free: 23.45 MB / 1.061 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.0004694/1.142, allocations: 355.4 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/1.142, allocations: 11.89 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.943e-05/1.143, allocations: 2.688 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.483e-05/1.143, allocations: 37.83 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/1.143, allocations: 7.172 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/1.143, allocations: 175 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/1.143, allocations: 7.219 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/1.143, allocations: 384 / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/1.143, allocations: 66.92 kB / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.143, allocations: 0 / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/1.143, allocations: 0 / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.143, allocations: 0 / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/1.143, allocations: 46.06 kB / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/1.143, allocations: 289.2 kB / 1.324 GB, free: 22.47 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/1.144, allocations: 59.09 kB / 1.324 GB, free: 22.44 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.274e-05/1.144, allocations: 21.05 kB / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/1.144, allocations: 401 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/1.144, allocations: 34.56 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/1.144, allocations: 0 / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.000393/1.145, allocations: 98.64 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/1.145, allocations: 51.41 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.503e-05/1.145, allocations: 112.3 kB / 1.325 GB, free: 21.7 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/1.145, allocations: 25.7 kB / 1.325 GB, free: 21.67 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/1.145, allocations: 94.88 kB / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/1.145, allocations: 3.953 kB / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/1.145, allocations: 20.06 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.917e-05/1.145, allocations: 317.6 kB / 1.325 GB, free: 21.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.102e-05/1.145, allocations: 21.12 kB / 1.326 GB, free: 21.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.994e-05/1.145, allocations: 21.19 kB / 1.326 GB, free: 21.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/1.145, allocations: 49.92 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.145, allocations: 0 / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001979/1.145, allocations: 76.8 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/1.145, allocations: 9.875 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/1.145, allocations: 0 / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/1.145, allocations: 0 / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/1.145, allocations: 11 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/1.145, allocations: 0 / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.61e-05/1.145, allocations: 17.12 kB / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/1.145, allocations: 0 / 1.326 GB, free: 21.15 MB / 1.061 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 5.128e-05/1.146, allocations: 120 kB / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/1.146, allocations: 3 kB / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/1.146, allocations: 84.69 kB / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/1.146, allocations: 0 / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.146, allocations: 7.234 kB / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/1.146, allocations: 0 / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/1.146, allocations: 168.1 kB / 1.326 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.146, allocations: 0 / 1.326 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.261e-05/1.146, allocations: 11.09 kB / 1.326 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.146, allocations: 0 / 1.326 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/1.146, allocations: 5.797 kB / 1.326 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.146, allocations: 0 / 1.326 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.146, allocations: 4 kB / 1.326 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/1.146, allocations: 186.1 kB / 1.326 GB, free: 20.61 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/1.146, allocations: 77.11 kB / 1.326 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/1.146, allocations: 0 / 1.326 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/1.146, allocations: 9.031 kB / 1.326 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/1.146, allocations: 10.22 kB / 1.326 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/1.146, allocations: 0 / 1.326 GB, free: 20.51 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.828e-05/1.146, allocations: 88.16 kB / 1.326 GB, free: 20.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.146, allocations: 4 kB / 1.326 GB, free: 20.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002285/1.147, allocations: 14 kB / 1.326 GB, free: 20.43 MB / 1.061 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.0004603/1.147, allocations: 0.707 MB / 1.327 GB, free: 19.76 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002347/1.147, allocations: 51.42 kB / 1.327 GB, free: 19.74 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.147, allocations: 0 / 1.327 GB, free: 19.74 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.599e-05/1.147, allocations: 24.47 kB / 1.327 GB, free: 19.74 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/1.148, allocations: 2.781 kB / 1.327 GB, free: 19.74 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/1.149, allocations: 1.297 MB / 1.328 GB, free: 18.54 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/1.149, allocations: 0.6818 MB / 1.329 GB, free: 17.84 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.088e-05/1.149, allocations: 7.125 kB / 1.329 GB, free: 17.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/1.149, allocations: 14.28 kB / 1.329 GB, free: 17.82 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/1.149, allocations: 3.938 kB / 1.329 GB, free: 17.82 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/1.167, allocations: 1.741 MB / 1.331 GB, free: 17.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/9.539, allocations: 6.969 kB / 1.331 GB, free: 17.4 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.402220219024457] Failed to read output from testmodel.py, exit status != 0: 9.667348311981186 9.691602405 8.544728995 Calling exit ...