Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.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.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 109.2 kB / 17.09 MB, free: 5.828 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.001107/0.001107, allocations: 194.7 kB / 18.02 MB, free: 4.961 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.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.762/0.762, allocations: 122.9 MB / 414.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 65.62 kB / 0.5691 GB, free: 28.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1298, allocations: 77.94 MB / 0.6452 GB, free: 9.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.002343/0.1321, allocations: 1.501 MB / 0.6467 GB, free: 7.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003189/0.1325, allocations: 112.5 kB / 0.6468 GB, free: 7.512 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.1325, allocations: 0 / 0.6468 GB, free: 7.512 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.337e-05/0.1325, allocations: 11.86 kB / 0.6468 GB, free: 7.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.02e-05/0.1326, allocations: 11.92 kB / 0.6468 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.1328, allocations: 23.98 kB / 0.6468 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.752e-05/0.1329, allocations: 27.92 kB / 0.6469 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.428e-05/0.133, allocations: 11.98 kB / 0.6469 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.913e-05/0.133, allocations: 8 kB / 0.6469 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.707e-05/0.1331, allocations: 19.91 kB / 0.6469 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.1331, allocations: 4 kB / 0.6469 GB, free: 7.395 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.675e-05/0.1332, allocations: 15.92 kB / 0.6469 GB, free: 7.379 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.1332, allocations: 11.94 kB / 0.6469 GB, free: 7.367 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.1332, allocations: 7.938 kB / 0.6469 GB, free: 7.359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.1333, allocations: 39.88 kB / 0.647 GB, free: 7.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1333, allocations: 3.938 kB / 0.647 GB, free: 7.316 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1333, allocations: 0 / 0.647 GB, free: 7.316 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1333, allocations: 0 / 0.647 GB, free: 7.316 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004313/0.1338, allocations: 351.4 kB / 0.6473 GB, free: 6.922 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1338, allocations: 8.625 kB / 0.6473 GB, free: 6.914 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.1339, allocations: 0.9375 kB / 0.6473 GB, free: 6.914 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.134, allocations: 176.3 kB / 0.6475 GB, free: 6.703 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.134, allocations: 384 / 0.6475 GB, free: 6.703 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.134, allocations: 4.375 kB / 0.6475 GB, free: 6.699 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.1342, allocations: 58.23 kB / 0.6476 GB, free: 6.637 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1342, allocations: 192 / 0.6476 GB, free: 6.637 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1342, allocations: 7.922 kB / 0.6476 GB, free: 6.629 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1342, allocations: 4 kB / 0.6476 GB, free: 6.625 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.1344, allocations: 39.89 kB / 0.6476 GB, free: 6.586 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.1348, allocations: 269 kB / 0.6479 GB, free: 6.273 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.1351, allocations: 54.47 kB / 0.6479 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1352, allocations: 24.91 kB / 0.6479 GB, free: 6.184 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.1353, allocations: 81.11 kB / 0.648 GB, free: 6.086 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.1354, allocations: 42.55 kB / 0.6481 GB, free: 6.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 3.326e-06/0.1354, allocations: 0 / 0.6481 GB, free: 6.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003687/0.1358, allocations: 89.58 kB / 0.6481 GB, free: 5.941 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.1358, allocations: 55.41 kB / 0.6482 GB, free: 5.875 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.393e-05/0.1359, allocations: 105.8 kB / 0.6483 GB, free: 5.762 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.1359, allocations: 25.7 kB / 0.6483 GB, free: 5.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.1359, allocations: 84.14 kB / 0.6484 GB, free: 5.645 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.136, allocations: 15.84 kB / 0.6484 GB, free: 5.629 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.136, allocations: 13.7 kB / 0.6484 GB, free: 5.609 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.384e-05/0.1361, allocations: 318.8 kB / 0.6487 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.116e-05/0.1362, allocations: 11.98 kB / 0.6487 GB, free: 5.277 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.569e-05/0.1363, allocations: 23.97 kB / 0.6488 GB, free: 5.254 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.1365, allocations: 56.75 kB / 0.6488 GB, free: 5.195 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1365, allocations: 3.938 kB / 0.6488 GB, free: 5.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000222/0.1367, allocations: 69.59 kB / 0.6489 GB, free: 5.117 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1367, allocations: 4 kB / 0.6489 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1367, allocations: 4 kB / 0.6489 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1367, allocations: 0 / 0.6489 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/0.1368, allocations: 15.98 kB / 0.6489 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1369, allocations: 4 kB / 0.6489 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.06e-05/0.1369, allocations: 11.92 kB / 0.6489 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1369, allocations: 0 / 0.6489 GB, free: 5.078 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 (rea2Int.y,fac.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 6.825e-05/0.137, allocations: 113.8 kB / 0.649 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.137, allocations: 0 / 0.649 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.1373, allocations: 85.59 kB / 0.6491 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1373, allocations: 4 kB / 0.6491 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1373, allocations: 0 / 0.6491 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.1374, allocations: 85.02 kB / 0.6492 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1374, allocations: 0 / 0.6492 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.269e-05/0.1375, allocations: 8.031 kB / 0.6492 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.1375, allocations: 15.91 kB / 0.6492 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002918/0.1378, allocations: 156.9 kB / 0.6494 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002765/0.1381, allocations: 246.8 kB / 0.6496 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.736e-05/0.1382, allocations: 23.97 kB / 0.6496 GB, free: 4.293 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.943e-05/0.1383, allocations: 83.27 kB / 0.6497 GB, free: 4.211 MB / 494.1 MB Notification: Performance of Backend: time 2.1e-07/0.1383, allocations: 0 / 0.6497 GB, free: 4.211 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004312/0.1387, allocations: 111.8 kB / 0.6498 GB, free: 4.094 MB / 494.1 MB Notification: Performance of SimCode: time 0.0003946/0.1391, allocations: 0.5532 MB / 0.6504 GB, free: 3.492 MB / 494.1 MB Notification: Performance of Templates: time 0.00278/0.1419, allocations: 0.8064 MB / 0.6511 GB, free: 2.688 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1)