Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.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.0008509/0.0008509, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.001938, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006974/0.0006974, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00107/0.001767, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 1.048/1.048, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0921/1.14, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.881/1.881, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4767/2.358, allocations: 127.1 MB / 0.7435 GB, free: 4.547 MB / 0.7136 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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Factorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7448 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.602e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.005523/0.005549, allocations: 1.634 MB / 0.7464 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002531/0.005803, allocations: 123.6 kB / 0.7465 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.916e-05/0.005832, allocations: 4.656 kB / 0.7465 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.266e-05/0.005854, allocations: 1.531 kB / 0.7465 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.574e-05/0.00588, allocations: 4.922 kB / 0.7465 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.006022, allocations: 20.56 kB / 0.7466 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.658e-05/0.006098, allocations: 40.84 kB / 0.7466 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.761e-05/0.006176, allocations: 9.328 kB / 0.7466 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.877e-05/0.006245, allocations: 22.17 kB / 0.7466 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.728e-05/0.006302, allocations: 13.06 kB / 0.7466 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.006319, allocations: 4 kB / 0.7466 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.938e-05/0.006398, allocations: 12.59 kB / 0.7467 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.006414, allocations: 6.594 kB / 0.7467 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.006429, allocations: 5.094 kB / 0.7467 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.00655, allocations: 34.42 kB / 0.7467 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.436e-05/0.006565, allocations: 0 / 0.7467 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.203e-06/0.006566, allocations: 1.125 kB / 0.7467 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.00658, allocations: 0.875 kB / 0.7467 GB, free: 1.328 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003876/0.006967, allocations: 236.6 kB / 0.7469 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.007002, allocations: 12.77 kB / 0.7469 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.007034, allocations: 8.938 kB / 0.747 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.007175, allocations: 106.4 kB / 0.7471 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.007195, allocations: 4.375 kB / 0.7471 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.007207, allocations: 6.016 kB / 0.7471 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.007326, allocations: 64.47 kB / 0.7471 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.007332, allocations: 192 / 0.7471 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.007339, allocations: 384 / 0.7471 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.007344, allocations: 384 / 0.7471 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.62e-05/0.007371, allocations: 14.3 kB / 0.7471 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.007601, allocations: 152.3 kB / 0.7473 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.007758, allocations: 38.48 kB / 0.7473 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.731e-05/0.007775, allocations: 8.859 kB / 0.7473 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.664e-05/0.007842, allocations: 9.516 kB / 0.7473 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.007868, allocations: 37.06 kB / 0.7474 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.924e-06/0.00787, allocations: 0 / 0.7474 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001267/0.007996, allocations: 49.62 kB / 0.7474 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.008022, allocations: 51.41 kB / 0.7475 GB, free: 452 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.334e-05/0.008076, allocations: 110.6 kB / 0.7476 GB, free: 328 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.008088, allocations: 29.69 kB / 0.7476 GB, free: 292 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/0.008119, allocations: 85.53 kB / 0.7477 GB, free: 204 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.008136, allocations: 7.953 kB / 0.7477 GB, free: 196 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.008167, allocations: 13.72 kB / 0.7477 GB, free: 176 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.855e-05/0.008265, allocations: 322.8 kB / 0.748 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.008279, allocations: 2.406 kB / 0.748 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.338e-06/0.008288, allocations: 4.656 kB / 0.748 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.137e-05/0.00832, allocations: 16.84 kB / 0.748 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.008321, allocations: 0 / 0.748 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001858/0.01018, allocations: 38.16 kB / 0.7481 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.0102, allocations: 8 kB / 0.7481 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.01021, allocations: 6.688 kB / 0.7481 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.01022, allocations: 4.594 kB / 0.7481 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.408e-05/0.01031, allocations: 11.98 kB / 0.7481 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.01031, allocations: 0 / 0.7481 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.773e-05/0.01034, allocations: 4.047 kB / 0.7481 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.01035, allocations: 3.984 kB / 0.7481 GB, free: 15.75 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 (rea2Int.y,fac.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 6.57e-05/0.01041, allocations: 108.5 kB / 0.7482 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.01044, allocations: 8.875 kB / 0.7482 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.01054, allocations: 45.36 kB / 0.7483 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.01054, allocations: 3.938 kB / 0.7483 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01054, allocations: 4 kB / 0.7483 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.01055, allocations: 0 / 0.7483 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.01066, allocations: 69.89 kB / 0.7483 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.01066, allocations: 0.625 kB / 0.7483 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.156e-05/0.01071, allocations: 8.625 kB / 0.7484 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.01072, allocations: 12.91 kB / 0.7484 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.01072, allocations: 0.5312 kB / 0.7484 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.01073, allocations: 4.625 kB / 0.7484 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01073, allocations: 0 / 0.7484 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.01073, allocations: 4.719 kB / 0.7484 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.384e-05/0.01083, allocations: 135.5 kB / 0.7485 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.01084, allocations: 4.625 kB / 0.7485 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.362e-05/0.01089, allocations: 0 / 0.7485 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.01094, allocations: 12.89 kB / 0.7485 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-06/0.01094, allocations: 4.812 kB / 0.7485 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.536e-05/0.01096, allocations: 14.28 kB / 0.7485 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01096, allocations: 0 / 0.7485 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001869/0.01115, allocations: 8 kB / 0.7485 GB, free: 15.26 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.y,rea2Int.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.0001539/0.0113, allocations: 81.02 kB / 0.7486 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.0115, allocations: 22.25 kB / 0.7486 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.0115, allocations: 5.719 kB / 0.7486 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.349e-05/0.01153, allocations: 14.06 kB / 0.7487 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.0117, allocations: 33.69 kB / 0.7487 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.01209, allocations: 117.4 kB / 0.7488 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.403e-05/0.01212, allocations: 59.34 kB / 0.7489 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.215e-05/0.01214, allocations: 1.797 kB / 0.7489 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.0122, allocations: 57.06 kB / 0.7489 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of SimCode: time 8.62e-07/0.0122, allocations: 0 / 0.7489 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of Templates: time 0.002499/0.0147, allocations: 0.8041 MB / 0.7497 GB, free: 14.05 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.Factorial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.Factorial.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.92977262660861]