Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.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.001444/0.001444, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002057/0.002057, allocations: 216.5 kB / 22.99 MB, free: 4.977 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.616/1.616, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.057/1.057, allocations: 149.9 MB / 463 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: translateModel(IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: IBPSA 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.002069/0.002069, allocations: 66.39 kB / 0.6416 GB, free: 9.57 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2031, allocations: 89.17 MB / 0.7287 GB, free: 476 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001854/0.205, allocations: 0.587 MB / 0.7292 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003004/0.2053, allocations: 43.88 kB / 0.7293 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.051e-05/0.2053, allocations: 0 / 0.7293 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.262e-05/0.2053, allocations: 0 / 0.7293 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.693e-06/0.2053, allocations: 0 / 0.7293 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.2056, allocations: 19.92 kB / 0.7293 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.901e-05/0.2056, allocations: 3.984 kB / 0.7293 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.35e-05/0.2057, allocations: 4 kB / 0.7293 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.265e-05/0.2057, allocations: 0 / 0.7293 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.07e-05/0.2057, allocations: 3.938 kB / 0.7293 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.2057, allocations: 0 / 0.7293 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.735e-05/0.2058, allocations: 15.98 kB / 0.7293 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.2058, allocations: 4 kB / 0.7293 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.669e-05/0.2058, allocations: 0 / 0.7293 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.406e-05/0.2059, allocations: 11.97 kB / 0.7293 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2059, allocations: 4 kB / 0.7294 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2059, allocations: 0 / 0.7294 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2059, allocations: 3.938 kB / 0.7294 GB, free: 15.77 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003308/0.2063, allocations: 234.4 kB / 0.7296 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.2063, allocations: 12.03 kB / 0.7296 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.2063, allocations: 0.9375 kB / 0.7296 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.365e-05/0.2064, allocations: 110.5 kB / 0.7297 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.2065, allocations: 384 / 0.7297 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.2065, allocations: 8.312 kB / 0.7297 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.2066, allocations: 38.2 kB / 0.7297 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2066, allocations: 192 / 0.7297 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.2066, allocations: 3.938 kB / 0.7297 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2066, allocations: 0 / 0.7297 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.988e-05/0.2066, allocations: 7.984 kB / 0.7298 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.2068, allocations: 97.33 kB / 0.7298 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.293e-05/0.2068, allocations: 18.61 kB / 0.7299 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/0.2069, allocations: 12.92 kB / 0.7299 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.207, allocations: 7.984 kB / 0.7299 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.207, allocations: 38.5 kB / 0.7299 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.207, allocations: 0 / 0.7299 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001496/0.2072, allocations: 41.64 kB / 0.73 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.2073, allocations: 51.41 kB / 0.73 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.658e-05/0.2073, allocations: 97.84 kB / 0.7301 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.2073, allocations: 25.7 kB / 0.7301 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.2074, allocations: 80.14 kB / 0.7302 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.2074, allocations: 3.953 kB / 0.7302 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.2074, allocations: 17.84 kB / 0.7302 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2076, allocations: 310.8 kB / 0.7305 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.91e-05/0.2076, allocations: 12 kB / 0.7305 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-06/0.2076, allocations: 0 / 0.7305 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/0.2076, allocations: 20.78 kB / 0.7306 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2076, allocations: 0 / 0.7306 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.788e-05/0.2077, allocations: 37.7 kB / 0.7306 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2077, allocations: 4 kB / 0.7306 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2077, allocations: 0 / 0.7306 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2077, allocations: 4.094 kB / 0.7306 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.917e-05/0.2078, allocations: 7.938 kB / 0.7306 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.2078, allocations: 0 / 0.7306 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.499e-05/0.2078, allocations: 3.984 kB / 0.7306 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-06/0.2078, allocations: 0 / 0.7306 GB, free: 14.31 MB / 0.5606 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 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.933e-05/0.2079, allocations: 109.8 kB / 0.7307 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-06/0.2079, allocations: 3.984 kB / 0.7307 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.069e-05/0.208, allocations: 48.78 kB / 0.7308 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.208, allocations: 3.938 kB / 0.7308 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.208, allocations: 7.875 kB / 0.7308 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.208, allocations: 4.031 kB / 0.7308 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.695e-05/0.2081, allocations: 101.3 kB / 0.7309 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2081, allocations: 0 / 0.7309 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.2081, allocations: 4 kB / 0.7309 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.2081, allocations: 0 / 0.7309 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.2081, allocations: 0 / 0.7309 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2081, allocations: 3.984 kB / 0.7309 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2081, allocations: 3.938 kB / 0.7309 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.304e-05/0.2082, allocations: 65.08 kB / 0.7309 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-06/0.2082, allocations: 3.953 kB / 0.7309 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.2082, allocations: 8.016 kB / 0.731 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.016e-05/0.2082, allocations: 0 / 0.731 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.2083, allocations: 7.938 kB / 0.731 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.2083, allocations: 0 / 0.731 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.343e-05/0.2083, allocations: 75.28 kB / 0.731 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2083, allocations: 0 / 0.731 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002014/0.2085, allocations: 4 kB / 0.731 GB, free: 13.8 MB / 0.5606 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 (fac,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001735/0.2087, allocations: 99.19 kB / 0.7311 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.495e-05/0.2088, allocations: 15.98 kB / 0.7312 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2088, allocations: 4.062 kB / 0.7312 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-05/0.2088, allocations: 7.938 kB / 0.7312 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.2089, allocations: 2.031 kB / 0.7312 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.2092, allocations: 88.86 kB / 0.7312 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.575e-05/0.2092, allocations: 55.36 kB / 0.7313 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.692e-05/0.2092, allocations: 8 kB / 0.7313 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.813e-05/0.2093, allocations: 7.438 kB / 0.7313 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.2093, allocations: 0 / 0.7313 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of Templates: time 0.002766/0.212, allocations: 306 kB / 0.7316 GB, free: 13.16 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.179118260741234] Failed to read output from testmodel.py, exit status != 0: 0.22062897495925426 0.23562267399999995 0.026631061 Calling exit ...