Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001279/0.001279, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001466/0.001466, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.58/1.58, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.971/2.971, allocations: 476.8 MB / 0.7715 GB, free: 3.91 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_11_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.002043/0.002043, allocations: 66.66 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3546, allocations: 170 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003547/0.3581, allocations: 1.552 MB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004701/0.3586, allocations: 131.5 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.3587, allocations: 0 / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.915e-05/0.3587, allocations: 3.984 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.417e-05/0.3588, allocations: 3.938 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.3592, allocations: 39.91 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.679e-05/0.3592, allocations: 27.92 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.3594, allocations: 15.98 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.611e-05/0.3594, allocations: 23.92 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.3595, allocations: 15.92 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.3595, allocations: 4 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.3596, allocations: 19.98 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.3597, allocations: 11.97 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.3597, allocations: 11.94 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.3599, allocations: 51.8 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.3599, allocations: 0 / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.715e-06/0.3599, allocations: 0 / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.3599, allocations: 0 / 1.286 GB, free: 8.809 MB / 0.9825 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.0008449/0.3608, allocations: 275.7 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 7.677e-05/0.3609, allocations: 11.97 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.935e-05/0.3609, allocations: 4.188 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.361, allocations: 38.69 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.198e-05/0.361, allocations: 8.891 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.3612, allocations: 110.5 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.3613, allocations: 4.375 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.3613, allocations: 4.375 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.3616, allocations: 61.98 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.3616, allocations: 7.984 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.3616, allocations: 8 kB / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.3616, allocations: 0 / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.3619, allocations: 47.89 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006689/0.3625, allocations: 239.9 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004195/0.363, allocations: 54.61 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.3631, allocations: 28.83 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/0.3633, allocations: 19.98 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/0.3633, allocations: 34.5 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 2.164e-06/0.3633, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004967/0.3638, allocations: 93.8 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.3639, allocations: 55.41 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.364, allocations: 109.8 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.364, allocations: 25.7 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.554e-05/0.3641, allocations: 100 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.3642, allocations: 8.016 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.859e-05/0.3642, allocations: 13.72 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002297/0.3645, allocations: 322.8 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.384e-05/0.3646, allocations: 19.98 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.219e-05/0.3647, allocations: 23.91 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.3648, allocations: 40.83 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3648, allocations: 4 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002413/0.3651, allocations: 77.64 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.3651, allocations: 8 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3651, allocations: 0 / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.3651, allocations: 0 / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.3652, allocations: 11.98 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3652, allocations: 320 / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/0.3653, allocations: 7.938 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.3653, allocations: 3.984 kB / 1.288 GB, free: 6.766 MB / 0.9825 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.0001421/0.3654, allocations: 125.7 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.3655, allocations: 3.953 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.3658, allocations: 85.62 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3658, allocations: 0 / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3658, allocations: 3.938 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3658, allocations: 0 / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.3661, allocations: 140.7 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.3661, allocations: 0 / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.8e-05/0.3662, allocations: 15.98 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.3662, allocations: 0 / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3662, allocations: 4 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3662, allocations: 0 / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3662, allocations: 0 / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.3665, allocations: 175.4 kB / 1.288 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.3665, allocations: 7.953 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.3666, allocations: 0 / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.87e-05/0.3667, allocations: 19.98 kB / 1.288 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/0.3667, allocations: 3.984 kB / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.3667, allocations: 4 kB / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001151/0.3669, allocations: 83.28 kB / 1.288 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3669, allocations: 3.938 kB / 1.288 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002753/0.3671, allocations: 8 kB / 1.288 GB, free: 6.016 MB / 0.9825 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.000814/0.3679, allocations: 0.7182 MB / 1.289 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.3682, allocations: 51.94 kB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3682, allocations: 0 / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.3683, allocations: 23.98 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.3688, allocations: 2.188 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.3709, allocations: 1.303 MB / 1.29 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.952e-05/0.371, allocations: 63.34 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.844e-05/0.371, allocations: 4.094 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.494e-05/0.3711, allocations: 23.36 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of SimCode: time 1.072e-06/0.3711, allocations: 0 / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.3965, allocations: 1.883 MB / 1.292 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.78, allocations: 12.34 kB / 1.292 GB, free: 1.969 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.0035819549812] Failed to read output from testmodel.py, exit status != 0: 12.600748563068919 11.958372524 11.59472407 Calling exit ...