Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 113.9 kB / 17.08 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 197.8 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6897/0.6897, allocations: 115.3 MB / 407.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 65.25 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1317, allocations: 76.19 MB / 0.6327 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002549/0.1342, allocations: 1.52 MB / 0.6342 GB, free: 2.891 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003375/0.1346, allocations: 132.4 kB / 0.6343 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.1346, allocations: 0 / 0.6343 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.1347, allocations: 3.938 kB / 0.6344 GB, free: 2.754 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.736e-05/0.1347, allocations: 4 kB / 0.6344 GB, free: 2.75 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.135, allocations: 35.89 kB / 0.6344 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.989e-05/0.1351, allocations: 39.86 kB / 0.6344 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.468e-05/0.1352, allocations: 15.98 kB / 0.6344 GB, free: 2.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.799e-05/0.1352, allocations: 15.92 kB / 0.6345 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.485e-05/0.1353, allocations: 19.91 kB / 0.6345 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.1353, allocations: 4 kB / 0.6345 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.126e-05/0.1354, allocations: 19.98 kB / 0.6345 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.1354, allocations: 8 kB / 0.6345 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.1354, allocations: 19.92 kB / 0.6345 GB, free: 2.574 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.1355, allocations: 47.81 kB / 0.6346 GB, free: 2.527 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1355, allocations: 3.938 kB / 0.6346 GB, free: 2.523 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1355, allocations: 0 / 0.6346 GB, free: 2.523 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1356, allocations: 0 / 0.6346 GB, free: 2.523 MB / 478.1 MB 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.0004581/0.136, allocations: 351.4 kB / 0.6349 GB, free: 2.129 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.1361, allocations: 12.03 kB / 0.6349 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.1361, allocations: 0.9375 kB / 0.6349 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.1362, allocations: 172.3 kB / 0.6351 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1362, allocations: 4.312 kB / 0.6351 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.1363, allocations: 4.375 kB / 0.6351 GB, free: 1.902 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.1364, allocations: 62.22 kB / 0.6352 GB, free: 1.836 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1365, allocations: 192 / 0.6352 GB, free: 1.836 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1365, allocations: 3.938 kB / 0.6352 GB, free: 1.832 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1365, allocations: 4 kB / 0.6352 GB, free: 1.828 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.1367, allocations: 47.89 kB / 0.6352 GB, free: 1.781 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.137, allocations: 284.7 kB / 0.6355 GB, free: 1.453 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.1373, allocations: 58.53 kB / 0.6355 GB, free: 1.387 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.08e-05/0.1374, allocations: 24.91 kB / 0.6356 GB, free: 1.359 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/0.1377, allocations: 401.5 kB / 0.6359 GB, free: 0.875 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.1377, allocations: 42.5 kB / 0.636 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1377, allocations: 0 / 0.636 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003512/0.1381, allocations: 89.62 kB / 0.6361 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.1381, allocations: 51.41 kB / 0.6361 GB, free: 0.668 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.217e-05/0.1382, allocations: 117.8 kB / 0.6362 GB, free: 0.543 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1382, allocations: 25.7 kB / 0.6363 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.1383, allocations: 88.08 kB / 0.6363 GB, free: 432 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.1383, allocations: 11.91 kB / 0.6364 GB, free: 420 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.1383, allocations: 13.72 kB / 0.6364 GB, free: 400 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.1384, allocations: 322.8 kB / 0.6367 GB, free: 68 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.336e-05/0.1385, allocations: 19.98 kB / 0.6367 GB, free: 48 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.49e-05/0.1386, allocations: 19.91 kB / 0.6367 GB, free: 28 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.1388, allocations: 49.11 kB / 0.6368 GB, free: 15.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1388, allocations: 4 kB / 0.6368 GB, free: 15.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002035/0.139, allocations: 85.53 kB / 0.6368 GB, free: 15.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.139, allocations: 4 kB / 0.6368 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.139, allocations: 0 / 0.6368 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1391, allocations: 0 / 0.6368 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.906e-05/0.1391, allocations: 11.98 kB / 0.6369 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.1392, allocations: 4 kB / 0.6369 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.51e-05/0.1392, allocations: 4 kB / 0.6369 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.1392, allocations: 7.984 kB / 0.6369 GB, free: 15.85 MB / 494.1 MB 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 7.572e-05/0.1393, allocations: 117.7 kB / 0.637 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.1393, allocations: 4 kB / 0.637 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.1396, allocations: 77.55 kB / 0.6371 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1396, allocations: 4 kB / 0.6371 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1396, allocations: 4 kB / 0.6371 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1396, allocations: 0 / 0.6371 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.1398, allocations: 169.6 kB / 0.6372 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1398, allocations: 0 / 0.6372 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.338e-05/0.1399, allocations: 11.98 kB / 0.6372 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1399, allocations: 3.938 kB / 0.6372 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1399, allocations: 0 / 0.6372 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1399, allocations: 0 / 0.6372 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1399, allocations: 0 / 0.6372 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.1401, allocations: 183.3 kB / 0.6374 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.1402, allocations: 81.05 kB / 0.6375 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.1402, allocations: 8 kB / 0.6375 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.1403, allocations: 7.984 kB / 0.6375 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.1403, allocations: 0 / 0.6375 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1404, allocations: 7.984 kB / 0.6375 GB, free: 15.08 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.883e-05/0.1404, allocations: 87.28 kB / 0.6376 GB, free: 14.99 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1404, allocations: 3.938 kB / 0.6376 GB, free: 14.99 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.1406, allocations: 8 kB / 0.6376 GB, free: 14.98 MB / 494.1 MB 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.0001393/0.1408, allocations: 111.2 kB / 0.6377 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.141, allocations: 47.89 kB / 0.6378 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.141, allocations: 0 / 0.6378 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.057e-05/0.1411, allocations: 23.98 kB / 0.6378 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.1414, allocations: 13.81 kB / 0.6378 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.1417, allocations: 143.2 kB / 0.6379 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.1419, allocations: 0.6807 MB / 0.6386 GB, free: 13.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.1419, allocations: 7.438 kB / 0.6386 GB, free: 13.89 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1419, allocations: 0 / 0.6386 GB, free: 13.89 MB / 494.1 MB Notification: Performance of Templates: time 0.0021/0.144, allocations: 0.8087 MB / 0.6394 GB, free: 13.08 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)