Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001066/0.001066, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001489/0.002555, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001093/0.001093, allocations: 165.2 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001407/0.0025, allocations: 459.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9989/0.9989, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08486/1.084, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.934/1.934, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5341/2.468, allocations: 127.1 MB / 0.7432 GB, free: 4.629 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.7445 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.584e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001583/0.001609, allocations: 0.664 MB / 0.7452 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001235/0.001733, allocations: 49.11 kB / 0.7452 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.604e-05/0.001749, allocations: 0.9062 kB / 0.7452 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.001766, allocations: 0 / 0.7452 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 1.363e-06/0.001768, allocations: 6.625 kB / 0.7452 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.001932, allocations: 20.62 kB / 0.7452 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.636e-05/0.002018, allocations: 39.95 kB / 0.7453 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.002056, allocations: 4.984 kB / 0.7453 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.577e-05/0.002102, allocations: 16.95 kB / 0.7453 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.976e-05/0.002132, allocations: 15.98 kB / 0.7453 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.002146, allocations: 0 / 0.7453 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.002257, allocations: 24.88 kB / 0.7453 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.002285, allocations: 10.84 kB / 0.7454 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.002306, allocations: 4.984 kB / 0.7454 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.65e-05/0.002402, allocations: 33.77 kB / 0.7454 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.646e-05/0.002419, allocations: 0 / 0.7454 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.31e-07/0.00242, allocations: 0 / 0.7454 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.002437, allocations: 0 / 0.7454 GB, free: 2.434 MB / 0.7136 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.003335/0.005771, allocations: 244.6 kB / 0.7456 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.005809, allocations: 8.031 kB / 0.7456 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.005842, allocations: 4.938 kB / 0.7456 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.19e-05/0.005914, allocations: 113.7 kB / 0.7457 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.005926, allocations: 1.25 kB / 0.7457 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.005936, allocations: 7.688 kB / 0.7458 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.00604, allocations: 58.81 kB / 0.7458 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.006047, allocations: 192 / 0.7458 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.006055, allocations: 4.375 kB / 0.7458 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.006061, allocations: 384 / 0.7458 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.794e-05/0.006149, allocations: 68.7 kB / 0.7459 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000106/0.006255, allocations: 80.56 kB / 0.746 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.877e-05/0.006323, allocations: 42.56 kB / 0.746 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.618e-05/0.00635, allocations: 17.52 kB / 0.746 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/0.006515, allocations: 19.11 kB / 0.746 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.006543, allocations: 43.47 kB / 0.7461 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.006544, allocations: 0 / 0.7461 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0001476/0.006692, allocations: 67.75 kB / 0.7461 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.006723, allocations: 55.41 kB / 0.7462 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.836e-05/0.006762, allocations: 93.84 kB / 0.7463 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.006775, allocations: 29.7 kB / 0.7463 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.189e-05/0.006797, allocations: 80.14 kB / 0.7464 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.006826, allocations: 27.69 kB / 0.7464 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.006867, allocations: 33.69 kB / 0.7464 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.13e-05/0.006959, allocations: 318.8 kB / 0.7467 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.006975, allocations: 4.656 kB / 0.7468 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.606e-05/0.006991, allocations: 12.86 kB / 0.7468 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.689e-05/0.007058, allocations: 48.84 kB / 0.7468 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.00706, allocations: 0 / 0.7468 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.51e-05/0.007145, allocations: 59.42 kB / 0.7469 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.007159, allocations: 6.5 kB / 0.7469 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.007164, allocations: 0 / 0.7469 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.007174, allocations: 0 / 0.7469 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.007275, allocations: 26.2 kB / 0.7469 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.00728, allocations: 4.984 kB / 0.7469 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.035e-05/0.007301, allocations: 7.953 kB / 0.7469 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.007306, allocations: 0 / 0.7469 GB, free: 0.7461 MB / 0.7136 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.0001018/0.007408, allocations: 130.6 kB / 0.747 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.007421, allocations: 4 kB / 0.747 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.007562, allocations: 87.17 kB / 0.7471 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.007565, allocations: 4 kB / 0.7471 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.007568, allocations: 4 kB / 0.7471 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.007571, allocations: 1.156 kB / 0.7471 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.736e-05/0.007668, allocations: 77.84 kB / 0.7472 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.00767, allocations: 0 / 0.7472 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.007733, allocations: 25.69 kB / 0.7472 GB, free: 400 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.007741, allocations: 7.953 kB / 0.7472 GB, free: 392 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.007744, allocations: 3.984 kB / 0.7472 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-06/0.007748, allocations: 0.5938 kB / 0.7472 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.00775, allocations: 0.7188 kB / 0.7472 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.007751, allocations: 0 / 0.7472 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.18e-05/0.007843, allocations: 96.39 kB / 0.7473 GB, free: 276 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.007854, allocations: 4 kB / 0.7473 GB, free: 272 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.125e-05/0.007865, allocations: 0 / 0.7473 GB, free: 272 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.007892, allocations: 11.92 kB / 0.7474 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.007896, allocations: 5.875 kB / 0.7474 GB, free: 256 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.43e-06/0.007902, allocations: 4.859 kB / 0.7474 GB, free: 248 kB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007902, allocations: 0 / 0.7474 GB, free: 248 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001554/0.008057, allocations: 25.11 kB / 0.7474 GB, free: 224 kB / 0.7136 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.0001488/0.008206, allocations: 85.64 kB / 0.7475 GB, free: 132 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003115/0.01132, allocations: 50.45 kB / 0.7475 GB, free: 80 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.01133, allocations: 0 / 0.7475 GB, free: 80 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.928e-05/0.01136, allocations: 30.09 kB / 0.7475 GB, free: 48 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.827e-05/0.01142, allocations: 16.7 kB / 0.7476 GB, free: 32 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.01172, allocations: 128.3 kB / 0.7477 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.699e-05/0.01175, allocations: 61.8 kB / 0.7477 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.585e-05/0.01179, allocations: 15.97 kB / 0.7478 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.185e-05/0.01183, allocations: 59.31 kB / 0.7478 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of SimCode: time 1.253e-06/0.01183, allocations: 0.6562 kB / 0.7478 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of Templates: time 0.005651/0.01748, allocations: 0.6905 MB / 0.7485 GB, free: 15.07 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.022231070324779]