Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 83.69 kB / 21.74 MB, free: 2.512 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 172.9 kB / 25.18 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9856/0.9856, allocations: 177.1 MB / 205.6 MB, free: 5.402 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.891/1.891, allocations: 389.6 MB / 0.6364 GB, free: 12.21 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial") translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.7756 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.664e-05, allocations: 5 kB / 0.7756 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.001121/0.001138, allocations: 0.6619 MB / 0.7762 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002176/0.001355, allocations: 53.39 kB / 0.7763 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.648e-05/0.001372, allocations: 0 / 0.7763 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.001384, allocations: 4 kB / 0.7763 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.731e-06/0.00139, allocations: 0 / 0.7763 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.00159, allocations: 8.812 kB / 0.7763 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.567e-05/0.001636, allocations: 8.516 kB / 0.7763 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.455e-05/0.00167, allocations: 1.531 kB / 0.7763 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.027e-05/0.0017, allocations: 7.984 kB / 0.7763 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 1.783e-05/0.001718, allocations: 0.9844 kB / 0.7763 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.00173, allocations: 0 / 0.7763 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-05/0.00182, allocations: 12.98 kB / 0.7763 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.00183, allocations: 4 kB / 0.7763 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.424e-05/0.001844, allocations: 0.5469 kB / 0.7763 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.197e-05/0.001916, allocations: 17.12 kB / 0.7763 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.001918, allocations: 0.75 kB / 0.7763 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.11e-07/0.001919, allocations: 0 / 0.7763 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.001922, allocations: 0 / 0.7763 GB, free: 5.211 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001889/0.002111, allocations: 215.8 kB / 0.7765 GB, free: 4.977 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.002149, allocations: 13.33 kB / 0.7766 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.871e-05/0.002168, allocations: 0.9375 kB / 0.7766 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.686e-05/0.002225, allocations: 105.8 kB / 0.7767 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.002235, allocations: 4.312 kB / 0.7767 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.485e-06/0.002242, allocations: 3.125 kB / 0.7767 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.241e-05/0.002305, allocations: 30.27 kB / 0.7767 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.00231, allocations: 1.062 kB / 0.7767 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-06/0.002316, allocations: 384 / 0.7767 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.00232, allocations: 384 / 0.7767 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.99e-05/0.00234, allocations: 15.92 kB / 0.7767 GB, free: 4.781 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.116e-05/0.002411, allocations: 57.05 kB / 0.7768 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.016e-05/0.002451, allocations: 25.45 kB / 0.7768 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.863e-05/0.00249, allocations: 4.859 kB / 0.7768 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-05/0.002586, allocations: 8.047 kB / 0.7768 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.002606, allocations: 39.42 kB / 0.7768 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.002607, allocations: 0 / 0.7768 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 8.237e-05/0.002689, allocations: 29.7 kB / 0.7769 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.00272, allocations: 60.06 kB / 0.7769 GB, free: 4.512 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.973e-05/0.00275, allocations: 89.86 kB / 0.777 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.00276, allocations: 30.81 kB / 0.777 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.831e-05/0.002778, allocations: 80.14 kB / 0.7771 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.002794, allocations: 4.297 kB / 0.7771 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-05/0.002815, allocations: 15.2 kB / 0.7771 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.217e-05/0.002887, allocations: 318.7 kB / 0.7774 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-06/0.002893, allocations: 4.5 kB / 0.7774 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.002898, allocations: 1.672 kB / 0.7775 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.002922, allocations: 13.47 kB / 0.7775 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.002923, allocations: 0 / 0.7775 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.175e-05/0.002955, allocations: 34.61 kB / 0.7775 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.002965, allocations: 6.375 kB / 0.7775 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.002969, allocations: 0 / 0.7775 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/0.002975, allocations: 0 / 0.7775 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.84e-05/0.003014, allocations: 7.984 kB / 0.7775 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.003016, allocations: 4.75 kB / 0.7775 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-06/0.003025, allocations: 0 / 0.7775 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.00303, allocations: 5.656 kB / 0.7775 GB, free: 3.875 MB / 0.7292 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 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.274e-05/0.003082, allocations: 117.8 kB / 0.7776 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-06/0.003085, allocations: 0 / 0.7776 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.193e-05/0.003137, allocations: 41.75 kB / 0.7777 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.003139, allocations: 1.094 kB / 0.7777 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.00314, allocations: 0 / 0.7777 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.003142, allocations: 1.25 kB / 0.7777 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.668e-05/0.003189, allocations: 73.84 kB / 0.7777 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.00319, allocations: 0 / 0.7777 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-06/0.003199, allocations: 5.75 kB / 0.7778 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.003201, allocations: 3.984 kB / 0.7778 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-06/0.003205, allocations: 0 / 0.7778 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.3e-07/0.003205, allocations: 0 / 0.7778 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.003206, allocations: 0 / 0.7778 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.338e-05/0.003249, allocations: 66.89 kB / 0.7778 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-06/0.003256, allocations: 11.97 kB / 0.7778 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-06/0.003262, allocations: 0 / 0.7778 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.198e-06/0.003266, allocations: 0.9375 kB / 0.7778 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.003284, allocations: 0 / 0.7778 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.003286, allocations: 0.5312 kB / 0.7778 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.733e-06/0.003293, allocations: 9.844 kB / 0.7778 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.003293, allocations: 1.75 kB / 0.7778 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of remove unused functions: time 9.572e-05/0.003389, allocations: 7.938 kB / 0.7778 GB, free: 3.496 MB / 0.7292 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 (fac,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 8.823e-05/0.003477, allocations: 80.41 kB / 0.7779 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.795e-05/0.003525, allocations: 18.3 kB / 0.7779 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.003529, allocations: 0 / 0.7779 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.045e-05/0.003539, allocations: 13.73 kB / 0.778 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.267e-05/0.003582, allocations: 7.156 kB / 0.778 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001525/0.003734, allocations: 109.5 kB / 0.7781 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.592e-05/0.00377, allocations: 56.3 kB / 0.7781 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.003797, allocations: 55.36 kB / 0.7782 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of SimCode: time 3.3e-07/0.003798, allocations: 1.219 kB / 0.7782 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of Templates: time 0.001083/0.004881, allocations: 460.7 kB / 0.7786 GB, free: 2.664 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.784239714965224]