Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001613/0.001613, allocations: 105.3 kB / 16.36 MB, free: 6.305 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.001843/0.001843, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.379/1.379, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.869/1.869, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001443/0.001443, allocations: 71.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2644, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002963/0.2674, allocations: 1.529 MB / 0.7863 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003817/0.2678, allocations: 128.4 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.2678, allocations: 4 kB / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.73e-05/0.2679, allocations: 3.938 kB / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.276e-05/0.2679, allocations: 3.938 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.2682, allocations: 31.95 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.129e-05/0.2683, allocations: 35.92 kB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.2684, allocations: 19.92 kB / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.527e-05/0.2685, allocations: 19.97 kB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.219e-05/0.2685, allocations: 15.92 kB / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.2685, allocations: 4 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.952e-05/0.2686, allocations: 15.98 kB / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.2687, allocations: 11.94 kB / 0.7866 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.2687, allocations: 15.92 kB / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.2688, allocations: 43.81 kB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2688, allocations: 4 kB / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2689, allocations: 0 / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2689, allocations: 4 kB / 0.7866 GB, free: 1.254 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005182/0.2694, allocations: 355.3 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2694, allocations: 12.03 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.2695, allocations: 0.9375 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.2696, allocations: 176.3 kB / 0.7871 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.2696, allocations: 384 / 0.7871 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.2697, allocations: 8.359 kB / 0.7871 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.2699, allocations: 62.22 kB / 0.7872 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2699, allocations: 4.188 kB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.2699, allocations: 3.938 kB / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.2699, allocations: 0 / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.2701, allocations: 51.88 kB / 0.7873 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.2706, allocations: 284.7 kB / 0.7875 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.2709, allocations: 66.47 kB / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.98e-05/0.271, allocations: 28.89 kB / 0.7876 GB, free: 68 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.44/0.711, allocations: 393.5 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.7111, allocations: 30.56 kB / 0.788 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 3.175e-06/0.7111, allocations: 0 / 0.788 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005028/0.7116, allocations: 95.08 kB / 0.7881 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.7117, allocations: 51.92 kB / 0.7882 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.338e-05/0.7118, allocations: 110.2 kB / 0.7883 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.988e-06/0.7118, allocations: 29.67 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.7118, allocations: 87.59 kB / 0.7884 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.7119, allocations: 7.125 kB / 0.7884 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.7119, allocations: 23.02 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.712, allocations: 319.3 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.207e-05/0.7121, allocations: 16.5 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.986e-05/0.7122, allocations: 21.11 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.7124, allocations: 46.86 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7124, allocations: 0 / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001996/0.7126, allocations: 77.28 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.7126, allocations: 5.531 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7126, allocations: 1.625 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.7126, allocations: 8.5 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.231e-05/0.7127, allocations: 13.64 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.7127, allocations: 1 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.859e-05/0.7128, allocations: 6.562 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.7128, allocations: 4.5 kB / 0.7889 GB, free: 47.8 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 (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 5.957e-05/0.7129, allocations: 113.7 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.7129, allocations: 5.281 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.7132, allocations: 87.11 kB / 0.7891 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.7132, allocations: 0 / 0.7891 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.7132, allocations: 1.719 kB / 0.7891 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.7132, allocations: 0 / 0.7891 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.7134, allocations: 170.6 kB / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7134, allocations: 0 / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.028e-05/0.7135, allocations: 12.55 kB / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.7135, allocations: 3.219 kB / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.7135, allocations: 0 / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.7135, allocations: 5.891 kB / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7135, allocations: 0.75 kB / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.7137, allocations: 172.9 kB / 0.7895 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.7138, allocations: 81.7 kB / 0.7895 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.7138, allocations: 6.156 kB / 0.7895 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.996e-05/0.7139, allocations: 2.688 kB / 0.7895 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.7139, allocations: 12.62 kB / 0.7896 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.7139, allocations: 4.969 kB / 0.7896 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.8e-05/0.714, allocations: 86.91 kB / 0.7896 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.714, allocations: 3.438 kB / 0.7896 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002309/0.7142, allocations: 12.34 kB / 0.7897 GB, free: 47.16 MB / 0.6544 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 (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.000171/0.7144, allocations: 102.1 kB / 0.7898 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.7146, allocations: 45.97 kB / 0.7898 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7147, allocations: 0.5 kB / 0.7898 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.377e-05/0.7148, allocations: 32.14 kB / 0.7898 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.715, allocations: 7.344 kB / 0.7898 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.7154, allocations: 153 kB / 0.79 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.7156, allocations: 0.6801 MB / 0.7907 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.7156, allocations: 12.59 kB / 0.7907 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.7156, allocations: 0.875 kB / 0.7907 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.002654/0.7183, allocations: 0.7929 MB / 0.7914 GB, free: 46.24 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)