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.0007397/0.0007397, 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.000754/0.000754, allocations: 170.3 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.8296/0.8296, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.001356/0.001356, allocations: 236.1 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.6505/0.6505, allocations: 138.4 MB / 454.3 MB, free: 1.605 MB / 362.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.983e-06/1.983e-06, allocations: 0 / 0.6464 GB, free: 29 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.83e-05, allocations: 4.25 kB / 0.6464 GB, free: 29 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0013/0.001328, allocations: 0.5768 MB / 0.6469 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002191/0.001547, allocations: 58.39 kB / 0.647 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.712e-05/0.001565, allocations: 0 / 0.647 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.732e-05/0.001592, allocations: 4 kB / 0.647 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.001598, allocations: 0 / 0.647 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.001887, allocations: 26.84 kB / 0.647 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.39e-05/0.001961, allocations: 35.67 kB / 0.647 GB, free: 28.48 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.001999, allocations: 1.188 kB / 0.647 GB, free: 28.48 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.602e-05/0.002035, allocations: 15.64 kB / 0.6471 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.224e-05/0.002057, allocations: 10.14 kB / 0.6471 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.002071, allocations: 1.281 kB / 0.6471 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 8.705e-05/0.002158, allocations: 21.12 kB / 0.6471 GB, free: 28.46 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.002185, allocations: 12.92 kB / 0.6471 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.335e-05/0.002209, allocations: 9.25 kB / 0.6471 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.002311, allocations: 41.86 kB / 0.6472 GB, free: 28.42 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.002314, allocations: 0 / 0.6472 GB, free: 28.42 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.393e-06/0.002316, allocations: 0 / 0.6472 GB, free: 28.42 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.00232, allocations: 1.094 kB / 0.6472 GB, free: 28.42 MB / 0.5105 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.00021/0.00253, allocations: 260.1 kB / 0.6474 GB, free: 28.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.002569, allocations: 10.81 kB / 0.6474 GB, free: 28.14 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.304e-05/0.002592, allocations: 36.11 kB / 0.6474 GB, free: 28.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.00262, allocations: 5.984 kB / 0.6475 GB, free: 28.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.307e-05/0.002653, allocations: 112.4 kB / 0.6476 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.002663, allocations: 1.875 kB / 0.6476 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.002673, allocations: 12.5 kB / 0.6476 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.002776, allocations: 58.33 kB / 0.6476 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.002782, allocations: 9.5 kB / 0.6476 GB, free: 27.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.002792, allocations: 12.3 kB / 0.6477 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.002798, allocations: 5.5 kB / 0.6477 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.407e-05/0.002892, allocations: 92.84 kB / 0.6477 GB, free: 27.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001002/0.002992, allocations: 137.6 kB / 0.6479 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.711e-05/0.003079, allocations: 66.95 kB / 0.6479 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.003113, allocations: 29.78 kB / 0.648 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.00328, allocations: 18.44 kB / 0.648 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.003294, allocations: 36.75 kB / 0.648 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/0.003296, allocations: 4 kB / 0.648 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0001919/0.003488, allocations: 110.6 kB / 0.6481 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.84e-05/0.003506, allocations: 56.66 kB / 0.6482 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.463e-05/0.003521, allocations: 99.19 kB / 0.6483 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.54e-06/0.003526, allocations: 25.7 kB / 0.6483 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.799e-06/0.003531, allocations: 81.45 kB / 0.6484 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.003554, allocations: 27.59 kB / 0.6484 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.003585, allocations: 32.7 kB / 0.6484 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.458e-05/0.00361, allocations: 316.2 kB / 0.6487 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-05/0.003637, allocations: 21.58 kB / 0.6488 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.229e-05/0.003659, allocations: 27.59 kB / 0.6488 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.793e-05/0.003727, allocations: 64.48 kB / 0.6488 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.003729, allocations: 0 / 0.6488 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.616e-05/0.003815, allocations: 88.36 kB / 0.6489 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.003828, allocations: 5.625 kB / 0.6489 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.003833, allocations: 0 / 0.6489 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.003846, allocations: 1.594 kB / 0.6489 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/0.003927, allocations: 27.05 kB / 0.649 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.003932, allocations: 3.984 kB / 0.649 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.523e-05/0.003948, allocations: 6.828 kB / 0.649 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.003958, allocations: 1.438 kB / 0.649 GB, free: 26.71 MB / 0.5105 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 9.938e-05/0.004057, allocations: 126.4 kB / 0.6491 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.495e-06/0.004065, allocations: 6.078 kB / 0.6491 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.004203, allocations: 134.6 kB / 0.6492 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.004207, allocations: 6.219 kB / 0.6492 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.004211, allocations: 0 / 0.6492 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.004213, allocations: 0 / 0.6492 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.852e-05/0.004272, allocations: 139.1 kB / 0.6494 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.004274, allocations: 3.984 kB / 0.6494 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.004315, allocations: 19.09 kB / 0.6494 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.004318, allocations: 5.062 kB / 0.6494 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.004325, allocations: 5.156 kB / 0.6494 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.004328, allocations: 9.078 kB / 0.6494 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.004329, allocations: 0 / 0.6494 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.248e-05/0.004421, allocations: 123.3 kB / 0.6495 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-06/0.004427, allocations: 6.281 kB / 0.6495 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.00444, allocations: 9.047 kB / 0.6495 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.447e-06/0.004449, allocations: 9.062 kB / 0.6496 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.004489, allocations: 7.203 kB / 0.6496 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.004495, allocations: 3.688 kB / 0.6496 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.351e-05/0.004508, allocations: 79.28 kB / 0.6496 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.004508, allocations: 0 / 0.6496 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001645/0.004673, allocations: 15.47 kB / 0.6497 GB, free: 26.1 MB / 0.5105 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.0003117/0.004984, allocations: 0.6658 MB / 0.6503 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.005104, allocations: 65.66 kB / 0.6504 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.005105, allocations: 0 / 0.6504 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.435e-05/0.00514, allocations: 32.77 kB / 0.6504 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001104/0.00525, allocations: 11.09 kB / 0.6504 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.005563, allocations: 179.1 kB / 0.6506 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.277e-05/0.005606, allocations: 66.97 kB / 0.6506 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.364e-05/0.00566, allocations: 38.69 kB / 0.6507 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.005694, allocations: 22.48 kB / 0.6507 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of SimCode: time 5.11e-07/0.005694, allocations: 3.938 kB / 0.6507 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.01957, allocations: 2.216 MB / 0.6529 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.337/6.356, allocations: 3.219 kB / 0.6529 GB, free: 23.74 MB / 0.5105 GB " [Timeout remaining time 654] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=50 --tolerance=1e-06 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: 8.92938568815589] Failed to read output from testmodel.py, exit status != 0: 6.434281890280545 6.442641434 6.438888138 Calling exit ...