Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001004/0.001004, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007227/0.007227, allocations: 169.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.825/2.825, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003612, allocations: 11.89 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.396, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002029/0.3981, allocations: 1.257 MB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004921/0.3986, allocations: 135.6 kB / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.3987, allocations: 4 kB / 1.075 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.3987, allocations: 4 kB / 1.075 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.689e-05/0.3988, allocations: 3.938 kB / 1.075 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.3991, allocations: 19.97 kB / 1.076 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.164e-05/0.3992, allocations: 35.91 kB / 1.076 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3993, allocations: 8 kB / 1.076 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.352e-05/0.3994, allocations: 19.92 kB / 1.076 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.425e-05/0.3994, allocations: 11.92 kB / 1.076 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.3995, allocations: 0 / 1.076 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.487e-05/0.3996, allocations: 19.98 kB / 1.076 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.3996, allocations: 15.92 kB / 1.076 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.3996, allocations: 29.64 kB / 1.076 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.3998, allocations: 47.86 kB / 1.076 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3998, allocations: 0 / 1.076 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3998, allocations: 0 / 1.076 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.3998, allocations: 0 / 1.076 GB, free: 5.922 MB / 0.8262 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.0005659/0.4004, allocations: 355.7 kB / 1.076 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.4005, allocations: 12.03 kB / 1.076 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.4005, allocations: 0.9375 kB / 1.076 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.4006, allocations: 172.2 kB / 1.076 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.4007, allocations: 384 / 1.076 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.4007, allocations: 8.375 kB / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.4009, allocations: 66.22 kB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4009, allocations: 192 / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.4009, allocations: 11.94 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.401, allocations: 7.938 kB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.4012, allocations: 51.94 kB / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.4016, allocations: 284.7 kB / 1.077 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.402, allocations: 66.47 kB / 1.077 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.4021, allocations: 28.91 kB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002938/0.4024, allocations: 409.5 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.4024, allocations: 30.56 kB / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.4024, allocations: 0 / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0004758/0.4029, allocations: 113.5 kB / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.403, allocations: 55.39 kB / 1.077 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.4031, allocations: 113.8 kB / 1.077 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.4031, allocations: 25.7 kB / 1.077 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.4032, allocations: 84.14 kB / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.4032, allocations: 7.969 kB / 1.078 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.4032, allocations: 13.72 kB / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.4033, allocations: 322.8 kB / 1.078 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.4035, allocations: 23.97 kB / 1.078 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.73e-05/0.4036, allocations: 23.98 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.4038, allocations: 60.81 kB / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4038, allocations: 0 / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002626/0.4041, allocations: 89.59 kB / 1.078 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.4041, allocations: 8 kB / 1.078 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4041, allocations: 0 / 1.078 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.4041, allocations: 3.984 kB / 1.078 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.083e-05/0.4042, allocations: 8 kB / 1.078 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4042, allocations: 0 / 1.078 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.129e-05/0.4043, allocations: 15.89 kB / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.4043, allocations: 0 / 1.078 GB, free: 3.18 MB / 0.8262 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 0.0001099/0.4045, allocations: 121.8 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.4045, allocations: 0 / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.4048, allocations: 101.8 kB / 1.078 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4049, allocations: 4 kB / 1.078 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4049, allocations: 4 kB / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4049, allocations: 0 / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.4051, allocations: 173.5 kB / 1.078 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4051, allocations: 0 / 1.078 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.663e-05/0.4052, allocations: 11.98 kB / 1.078 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4052, allocations: 0 / 1.078 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.4052, allocations: 4 kB / 1.078 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4052, allocations: 0 / 1.078 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4052, allocations: 384 / 1.078 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.4055, allocations: 195.3 kB / 1.079 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.4055, allocations: 81.11 kB / 1.079 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.4056, allocations: 0 / 1.079 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.439e-05/0.4057, allocations: 15.98 kB / 1.079 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.4057, allocations: 7.938 kB / 1.079 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.4057, allocations: 0 / 1.079 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001118/0.4058, allocations: 91.27 kB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4058, allocations: 0 / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002345/0.4061, allocations: 12 kB / 1.079 GB, free: 2.266 MB / 0.8262 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.0001825/0.4063, allocations: 99.25 kB / 1.079 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002515/0.4065, allocations: 59.95 kB / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4065, allocations: 0 / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.4067, allocations: 35.91 kB / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.407, allocations: 15.88 kB / 1.079 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.4073, allocations: 132.6 kB / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.4076, allocations: 0.677 MB / 1.08 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.586e-05/0.4076, allocations: 7.984 kB / 1.08 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.4077, allocations: 15.44 kB / 1.08 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.4077, allocations: 3.938 kB / 1.08 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of Templates: time 0.003201/0.4109, allocations: 0.6701 MB / 1.081 GB, free: 0.4961 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)