Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_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.393/1.393, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0008861/0.0008863, allocations: 183.1 kB / 325.8 MB, free: 2.676 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.729/1.729, 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.0009095/0.0009096, allocations: 84.69 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003349, allocations: 9.062 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.235, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.00174/0.2368, allocations: 1.276 MB / 0.8974 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003798/0.2372, allocations: 136.4 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.2373, allocations: 4 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.812e-05/0.2373, allocations: 0 / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.521e-05/0.2374, allocations: 3.938 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.2377, allocations: 27.97 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.202e-05/0.2377, allocations: 31.91 kB / 0.8976 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.557e-05/0.2378, allocations: 16 kB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.979e-05/0.2379, allocations: 15.92 kB / 0.8977 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.701e-05/0.2379, allocations: 11.92 kB / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.2379, allocations: 0 / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.859e-05/0.238, allocations: 15.98 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.238, allocations: 15.92 kB / 0.8977 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.2381, allocations: 15.88 kB / 0.8977 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.734e-05/0.2382, allocations: 31.88 kB / 0.8978 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2382, allocations: 0 / 0.8978 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2382, allocations: 8 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2382, allocations: 0 / 0.8978 GB, free: 66.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004007/0.2386, allocations: 343.6 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.2387, allocations: 12.03 kB / 0.8981 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.2387, allocations: 34.69 kB / 0.8981 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.762e-05/0.2387, allocations: 8.844 kB / 0.8981 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.494e-05/0.2388, allocations: 172.3 kB / 0.8983 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.2388, allocations: 8.375 kB / 0.8983 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.2389, allocations: 384 / 0.8983 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.239, allocations: 70.22 kB / 0.8984 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2391, allocations: 3.938 kB / 0.8984 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.2391, allocations: 0 / 0.8984 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.2391, allocations: 0 / 0.8984 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.2393, allocations: 63.89 kB / 0.8985 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.2396, allocations: 276.7 kB / 0.8987 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.2399, allocations: 62.55 kB / 0.8988 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.232e-05/0.24, allocations: 32.89 kB / 0.8988 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002076/0.2402, allocations: 397.5 kB / 0.8992 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.2402, allocations: 38.5 kB / 0.8992 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.2403, allocations: 4 kB / 0.8992 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003657/0.2406, allocations: 109.6 kB / 0.8993 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.2407, allocations: 51.41 kB / 0.8994 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.043e-05/0.2407, allocations: 113.8 kB / 0.8995 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.2407, allocations: 29.7 kB / 0.8995 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.907e-05/0.2408, allocations: 88.08 kB / 0.8996 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.2408, allocations: 3.906 kB / 0.8996 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.2408, allocations: 13.72 kB / 0.8996 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.377e-05/0.2409, allocations: 322.8 kB / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.493e-05/0.241, allocations: 27.98 kB / 0.9 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.573e-05/0.2411, allocations: 23.97 kB / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.2412, allocations: 56.77 kB / 0.9 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2412, allocations: 4 kB / 0.9 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001886/0.2414, allocations: 85.92 kB / 0.9001 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2414, allocations: 4 kB / 0.9001 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2414, allocations: 0 / 0.9001 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2415, allocations: 0 / 0.9001 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.491e-05/0.2416, allocations: 20.03 kB / 0.9001 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2416, allocations: 0 / 0.9001 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.559e-05/0.2416, allocations: 19.86 kB / 0.9002 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.2417, allocations: 4 kB / 0.9002 GB, free: 63.65 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: 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.996e-05/0.2417, allocations: 117.7 kB / 0.9003 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.2418, allocations: 7.906 kB / 0.9003 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.242, allocations: 97.86 kB / 0.9004 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.242, allocations: 0 / 0.9004 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.242, allocations: 0 / 0.9004 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.242, allocations: 0 / 0.9004 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.2421, allocations: 169.7 kB / 0.9005 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2422, allocations: 0 / 0.9005 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.639e-05/0.2422, allocations: 19.98 kB / 0.9006 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2422, allocations: 0 / 0.9006 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.2422, allocations: 4 kB / 0.9006 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2423, allocations: 0 / 0.9006 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2423, allocations: 7.984 kB / 0.9006 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.2425, allocations: 191.4 kB / 0.9007 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.2425, allocations: 81.02 kB / 0.9008 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.2425, allocations: 0 / 0.9008 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.2426, allocations: 11.98 kB / 0.9008 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.2427, allocations: 11.98 kB / 0.9008 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-06/0.2427, allocations: 3.938 kB / 0.9009 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.833e-05/0.2427, allocations: 83.28 kB / 0.9009 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2427, allocations: 0 / 0.9009 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002016/0.2429, allocations: 16 kB / 0.9009 GB, free: 62.74 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: 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.0004476/0.2434, allocations: 0.7219 MB / 0.9017 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.2436, allocations: 51.95 kB / 0.9017 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2436, allocations: 4 kB / 0.9017 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.716e-05/0.2437, allocations: 31.97 kB / 0.9017 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.244, allocations: 5.031 kB / 0.9017 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.2452, allocations: 1.318 MB / 0.903 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.2453, allocations: 0.6887 MB / 0.9037 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.2453, allocations: 4.047 kB / 0.9037 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.2454, allocations: 11.44 kB / 0.9037 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.2454, allocations: 0 / 0.9037 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01051/0.2559, allocations: 1.414 MB / 0.9051 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/0.2561, allocations: 215.4 kB / 0.9053 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/1.786, allocations: 0 / 0.9053 GB, free: 58.23 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)