Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.343/1.343, allocations: 251.5 MB / 266.7 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009212/0.0009211, allocations: 179.2 kB / 325.8 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205 MB / 0.576 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006884/0.0006885, allocations: 88 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003663, allocations: 11.81 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2357, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007023/0.2364, allocations: 343 kB / 0.8965 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002743/0.2367, allocations: 51.84 kB / 0.8966 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.428e-05/0.2368, allocations: 3.938 kB / 0.8966 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/0.2368, allocations: 4 kB / 0.8966 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.07e-06/0.2368, allocations: 0 / 0.8966 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.237, allocations: 11.98 kB / 0.8966 GB, free: 67.69 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.751e-05/0.2371, allocations: 27.97 kB / 0.8966 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.2372, allocations: 4 kB / 0.8966 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.047e-05/0.2372, allocations: 15.92 kB / 0.8967 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.57e-05/0.2372, allocations: 11.98 kB / 0.8967 GB, free: 67.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.2373, allocations: 0 / 0.8967 GB, free: 67.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.73e-05/0.2373, allocations: 19.98 kB / 0.8967 GB, free: 67.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.2374, allocations: 11.98 kB / 0.8967 GB, free: 67.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.2374, allocations: 11.94 kB / 0.8967 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.346e-05/0.2375, allocations: 35.88 kB / 0.8967 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2375, allocations: 7.938 kB / 0.8967 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2375, allocations: 0 / 0.8967 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2375, allocations: 0 / 0.8967 GB, free: 67.54 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002303/0.2378, allocations: 331.8 kB / 0.8971 GB, free: 67.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.2378, allocations: 8.031 kB / 0.8971 GB, free: 67.16 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.2378, allocations: 34.75 kB / 0.8971 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.2379, allocations: 4.938 kB / 0.8971 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.454e-05/0.238, allocations: 164.3 kB / 0.8973 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.238, allocations: 8.375 kB / 0.8973 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.238, allocations: 8.375 kB / 0.8973 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.2381, allocations: 62.22 kB / 0.8973 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.2381, allocations: 3.938 kB / 0.8973 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.2382, allocations: 0 / 0.8973 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2382, allocations: 0 / 0.8973 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.2383, allocations: 103.9 kB / 0.8974 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.2384, allocations: 173.5 kB / 0.8976 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.681e-05/0.2385, allocations: 82.58 kB / 0.8977 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/0.2386, allocations: 37 kB / 0.8977 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/0.2388, allocations: 401.5 kB / 0.8981 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.2388, allocations: 31.38 kB / 0.8981 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.2388, allocations: 0 / 0.8981 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0002102/0.239, allocations: 117.5 kB / 0.8983 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.2391, allocations: 59.39 kB / 0.8983 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.305e-05/0.2391, allocations: 93.77 kB / 0.8984 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.2391, allocations: 33.7 kB / 0.8984 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.313e-05/0.2391, allocations: 80.14 kB / 0.8985 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.2392, allocations: 15.81 kB / 0.8985 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.2392, allocations: 25.7 kB / 0.8985 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.561e-05/0.2393, allocations: 314.8 kB / 0.8988 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.968e-05/0.2393, allocations: 19.98 kB / 0.8989 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.735e-05/0.2393, allocations: 19.98 kB / 0.8989 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.847e-05/0.2394, allocations: 65.42 kB / 0.8989 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2394, allocations: 0 / 0.8989 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001043/0.2395, allocations: 101.5 kB / 0.899 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.2395, allocations: 7.938 kB / 0.899 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2396, allocations: 0 / 0.899 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2396, allocations: 0 / 0.899 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.93e-05/0.2397, allocations: 23.98 kB / 0.8991 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.2397, allocations: 0 / 0.8991 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.2397, allocations: 11.88 kB / 0.8991 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.2397, allocations: 0 / 0.8991 GB, free: 64.82 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001078/0.2398, allocations: 125.8 kB / 0.8992 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.2398, allocations: 15.83 kB / 0.8992 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.24, allocations: 121.5 kB / 0.8993 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.24, allocations: 4 kB / 0.8993 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.24, allocations: 0 / 0.8993 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.24, allocations: 0 / 0.8993 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.234e-05/0.2401, allocations: 177.5 kB / 0.8995 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2401, allocations: 3.938 kB / 0.8995 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.662e-05/0.2402, allocations: 27.98 kB / 0.8995 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2402, allocations: 3.938 kB / 0.8995 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.2402, allocations: 4 kB / 0.8995 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2402, allocations: 4 kB / 0.8995 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2402, allocations: 0 / 0.8995 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.2404, allocations: 117 kB / 0.8997 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.2404, allocations: 85.05 kB / 0.8997 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.2404, allocations: 0 / 0.8997 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.514e-05/0.2404, allocations: 8 kB / 0.8998 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.2405, allocations: 7.984 kB / 0.8998 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.2405, allocations: 4 kB / 0.8998 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.377e-05/0.2405, allocations: 75.28 kB / 0.8998 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2405, allocations: 0 / 0.8998 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001724/0.2407, allocations: 20 kB / 0.8999 GB, free: 63.93 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0003518/0.241, allocations: 0.6786 MB / 0.9005 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.2411, allocations: 55.91 kB / 0.9006 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2412, allocations: 0 / 0.9006 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.77e-05/0.2412, allocations: 40.58 kB / 0.9006 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.2413, allocations: 7.984 kB / 0.9006 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.2416, allocations: 186 kB / 0.9008 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.2418, allocations: 0.6809 MB / 0.9015 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.207e-05/0.2418, allocations: 35.81 kB / 0.9015 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.2419, allocations: 19.42 kB / 0.9015 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2419, allocations: 4 kB / 0.9015 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01122/0.2531, allocations: 1.369 MB / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/0.2533, allocations: 222.7 kB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/1.845, allocations: 0 / 0.9031 GB, free: 60.68 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)