Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Factorial") translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001044, allocations: 118.5 kB / 16.38 MB, free: 6.02 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.001097/0.001097, allocations: 189.2 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 67.91 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2291, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.002042/0.2312, allocations: 0.6005 MB / 0.7854 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002794/0.2315, allocations: 43.86 kB / 0.7854 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.092e-05/0.2315, allocations: 4 kB / 0.7854 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.527e-05/0.2316, allocations: 0 / 0.7854 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.619e-06/0.2316, allocations: 0 / 0.7854 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.2319, allocations: 11.92 kB / 0.7855 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.325e-05/0.2319, allocations: 3.984 kB / 0.7855 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.104e-05/0.232, allocations: 8 kB / 0.7855 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.454e-05/0.232, allocations: 0 / 0.7855 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.456e-05/0.232, allocations: 3.938 kB / 0.7855 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.2321, allocations: 0 / 0.7855 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.539e-05/0.2321, allocations: 15.98 kB / 0.7855 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.2322, allocations: 4 kB / 0.7855 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.2322, allocations: 4 kB / 0.7855 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.481e-05/0.2323, allocations: 7.984 kB / 0.7855 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2323, allocations: 0 / 0.7855 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2323, allocations: 0 / 0.7855 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2323, allocations: 0 / 0.7855 GB, free: 2.465 MB / 0.6544 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.0003137/0.2326, allocations: 315.6 kB / 0.7858 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.2327, allocations: 8.031 kB / 0.7858 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.2327, allocations: 4.938 kB / 0.7858 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.968e-05/0.2328, allocations: 172.3 kB / 0.786 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.2328, allocations: 4.312 kB / 0.786 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.2329, allocations: 384 / 0.786 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.233, allocations: 34.25 kB / 0.786 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.233, allocations: 192 / 0.786 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.233, allocations: 3.938 kB / 0.786 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.233, allocations: 0 / 0.786 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.138e-05/0.2331, allocations: 8 kB / 0.786 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.2332, allocations: 149.7 kB / 0.7862 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.871e-05/0.2333, allocations: 30.55 kB / 0.7862 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.2333, allocations: 4.859 kB / 0.7862 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001776/0.2335, allocations: 85.16 kB / 0.7863 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.2335, allocations: 30.56 kB / 0.7863 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.2335, allocations: 0 / 0.7863 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001582/0.2337, allocations: 41.73 kB / 0.7864 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.2337, allocations: 59.44 kB / 0.7864 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.775e-05/0.2338, allocations: 93.84 kB / 0.7865 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.2338, allocations: 25.7 kB / 0.7865 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.465e-05/0.2338, allocations: 80.14 kB / 0.7866 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.2338, allocations: 7.906 kB / 0.7866 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.2339, allocations: 13.72 kB / 0.7866 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.234, allocations: 310.8 kB / 0.7869 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.148e-05/0.234, allocations: 3.938 kB / 0.7869 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.887e-06/0.234, allocations: 8 kB / 0.7869 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.779e-05/0.2341, allocations: 16.84 kB / 0.7869 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2341, allocations: 0 / 0.7869 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.324e-05/0.2341, allocations: 37.7 kB / 0.787 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2342, allocations: 10.34 kB / 0.787 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2342, allocations: 0 / 0.787 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2342, allocations: 3.938 kB / 0.787 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.822e-05/0.2342, allocations: 4 kB / 0.787 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.2343, allocations: 8.078 kB / 0.787 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.38e-05/0.2343, allocations: 3.938 kB / 0.787 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.2343, allocations: 0 / 0.787 GB, free: 0.6758 MB / 0.6544 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 6.965e-05/0.2344, allocations: 109.8 kB / 0.7871 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.2344, allocations: 4 kB / 0.7871 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.902e-05/0.2345, allocations: 44.75 kB / 0.7872 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.2345, allocations: 7.938 kB / 0.7872 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2345, allocations: 0 / 0.7872 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.2345, allocations: 81.14 kB / 0.7872 GB, free: 408 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.2345, allocations: 0 / 0.7872 GB, free: 408 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.208e-05/0.2346, allocations: 0 / 0.7872 GB, free: 408 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.2346, allocations: 3.938 kB / 0.7872 GB, free: 404 kB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.394e-05/0.2347, allocations: 120.9 kB / 0.7874 GB, free: 276 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001306/0.2348, allocations: 218.8 kB / 0.7876 GB, free: 40 kB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.103e-05/0.2349, allocations: 8.047 kB / 0.7876 GB, free: 32 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.4113/0.6462, allocations: 75.28 kB / 0.7877 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of Backend: time 9.82e-07/0.6462, allocations: 0 / 0.7877 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004683/0.6467, allocations: 91.06 kB / 0.7877 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0002192/0.6469, allocations: 0.5371 MB / 0.7883 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.002042/0.649, allocations: 338.5 kB / 0.7886 GB, free: 47.82 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Factorial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1)