Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.8/2.8, allocations: 287.5 MB / 302.4 MB, free: 8.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001301/0.0013, allocations: 174.1 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.186/2.186, allocations: 205.4 MB / 0.6297 GB, free: 10.49 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 89.97 kB / 0.743 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000734/0.0007343, allocations: 12.19 kB / 0.8659 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2577, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001776/0.2595, allocations: 1.247 MB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003853/0.26, allocations: 124.5 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.26, allocations: 0 / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.2601, allocations: 0 / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.974e-05/0.2601, allocations: 0 / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.2604, allocations: 27.92 kB / 0.9798 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.072e-05/0.2605, allocations: 31.92 kB / 0.9798 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.2606, allocations: 11.97 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.084e-05/0.2607, allocations: 11.94 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.383e-05/0.2607, allocations: 15.98 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.2607, allocations: 0 / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.537e-05/0.2608, allocations: 11.98 kB / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.2609, allocations: 11.92 kB / 0.9799 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.2609, allocations: 33.64 kB / 0.9799 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.642e-05/0.261, allocations: 35.94 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.261, allocations: 0 / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.063e-06/0.261, allocations: 0 / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.261, allocations: 0 / 0.98 GB, free: 26.64 MB / 0.6198 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.0004772/0.2615, allocations: 347.5 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.2616, allocations: 12.02 kB / 0.9803 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.677e-05/0.2616, allocations: 34.56 kB / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.2617, allocations: 4 kB / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.4e-05/0.2618, allocations: 178.9 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.2618, allocations: 4 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.2618, allocations: 4 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.2621, allocations: 65.66 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2621, allocations: 0 / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.2621, allocations: 0 / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2622, allocations: 4 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.2625, allocations: 55.95 kB / 0.9807 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.2629, allocations: 284.7 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/0.2634, allocations: 70.47 kB / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.2636, allocations: 29.78 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002455/0.2639, allocations: 401.5 kB / 0.9814 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.2639, allocations: 34.56 kB / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.685e-06/0.2639, allocations: 0 / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005986/0.2645, allocations: 117.5 kB / 0.9815 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.2646, allocations: 55.36 kB / 0.9816 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.932e-05/0.2647, allocations: 105.8 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.2647, allocations: 25.7 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.2648, allocations: 96.06 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.2648, allocations: 3.906 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.2648, allocations: 0 / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.732e-05/0.2649, allocations: 318.8 kB / 0.9821 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.265, allocations: 27.97 kB / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.2652, allocations: 19.98 kB / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.2653, allocations: 24.27 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2654, allocations: 0 / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003612/0.2657, allocations: 101.6 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2658, allocations: 4 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2658, allocations: 0 / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.2658, allocations: 0 / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.266, allocations: 19.98 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.266, allocations: 3.953 kB / 0.9823 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-05/0.2661, allocations: 7.906 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.2661, allocations: 7.984 kB / 0.9823 GB, free: 23.91 MB / 0.6198 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 (rea2Int.y,falFac.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.252e-05/0.2662, allocations: 111.2 kB / 0.9824 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.2662, allocations: 4 kB / 0.9824 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004008/0.2666, allocations: 97.48 kB / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2667, allocations: 0 / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2667, allocations: 0 / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2667, allocations: 3.953 kB / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.2669, allocations: 165.7 kB / 0.9827 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2669, allocations: 0 / 0.9827 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.267, allocations: 19.98 kB / 0.9827 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.2671, allocations: 0 / 0.9827 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2671, allocations: 4 kB / 0.9827 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2671, allocations: 0 / 0.9827 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2671, allocations: 0 / 0.9827 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.2675, allocations: 195.4 kB / 0.9829 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.2675, allocations: 81.05 kB / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.2676, allocations: 0 / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.2677, allocations: 15.92 kB / 0.983 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/0.2678, allocations: 7.922 kB / 0.983 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.2678, allocations: 4 kB / 0.983 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.2679, allocations: 91.58 kB / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2679, allocations: 3.938 kB / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003109/0.2682, allocations: 8 kB / 0.9831 GB, free: 23.01 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007091/0.2689, allocations: 0.7252 MB / 0.9838 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003777/0.2693, allocations: 59.89 kB / 0.9839 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2693, allocations: 0 / 0.9839 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.2695, allocations: 35.97 kB / 0.9839 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.2699, allocations: 0 / 0.9839 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.2711, allocations: 458.8 kB / 0.9843 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.2712, allocations: 0.6848 MB / 0.985 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.608e-05/0.2713, allocations: 4 kB / 0.985 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.2714, allocations: 15.42 kB / 0.985 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of SimCode: time 1.403e-06/0.2714, allocations: 0 / 0.985 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.2916, allocations: 1.394 MB / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/0.2919, allocations: 191.9 kB / 0.9866 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.634/2.926, allocations: 0 / 0.9866 GB, free: 19.43 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)