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.0006912/0.0006912, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009663/0.001658, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007373/0.0007373, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008954/0.001633, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9649/0.9649, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08325/1.048, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.898/1.898, allocations: 389.9 MB / 0.619 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5181/2.416, allocations: 127.1 MB / 0.7432 GB, free: 4.594 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 2.054e-06/2.054e-06, allocations: 0 / 0.7445 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.405e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.002187/0.002212, allocations: 1.63 MB / 0.7461 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002423/0.002454, allocations: 124.8 kB / 0.7462 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.002489, allocations: 0 / 0.7462 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.002515, allocations: 3.938 kB / 0.7462 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.925e-05/0.002544, allocations: 2.375 kB / 0.7462 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.002699, allocations: 31.83 kB / 0.7462 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.252e-05/0.002772, allocations: 32.91 kB / 0.7463 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.736e-05/0.002849, allocations: 4.906 kB / 0.7463 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.856e-05/0.002918, allocations: 26.06 kB / 0.7463 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.815e-05/0.002966, allocations: 14.28 kB / 0.7463 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.00298, allocations: 0 / 0.7463 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.307e-05/0.003063, allocations: 15.98 kB / 0.7463 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.003077, allocations: 5.641 kB / 0.7463 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.003094, allocations: 11.91 kB / 0.7463 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.003199, allocations: 26.66 kB / 0.7464 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.618e-05/0.003215, allocations: 0 / 0.7464 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003216, allocations: 0 / 0.7464 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.003233, allocations: 0 / 0.7464 GB, free: 1.398 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.0003645/0.003598, allocations: 241.5 kB / 0.7466 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.003627, allocations: 8.031 kB / 0.7466 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.003655, allocations: 9.625 kB / 0.7466 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.19e-05/0.003737, allocations: 117.7 kB / 0.7467 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.003755, allocations: 1 kB / 0.7467 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.003764, allocations: 4.375 kB / 0.7467 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.003888, allocations: 59.75 kB / 0.7468 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.003896, allocations: 0.7812 kB / 0.7468 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.003904, allocations: 0.9219 kB / 0.7468 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.003909, allocations: 1.031 kB / 0.7468 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.934e-05/0.003939, allocations: 15.92 kB / 0.7468 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.004176, allocations: 157.7 kB / 0.747 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.004335, allocations: 30.56 kB / 0.747 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.004354, allocations: 14.62 kB / 0.747 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.339e-05/0.004427, allocations: 4 kB / 0.747 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.004451, allocations: 34.56 kB / 0.747 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.004452, allocations: 0.9062 kB / 0.747 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001271/0.00458, allocations: 53.62 kB / 0.7471 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.004613, allocations: 52.06 kB / 0.7471 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.731e-05/0.00467, allocations: 111.6 kB / 0.7472 GB, free: 392 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.004682, allocations: 26.45 kB / 0.7473 GB, free: 360 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.004716, allocations: 88.14 kB / 0.7473 GB, free: 268 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.00473, allocations: 5.297 kB / 0.7474 GB, free: 264 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.004759, allocations: 21.7 kB / 0.7474 GB, free: 236 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.442e-05/0.004854, allocations: 314.8 kB / 0.7477 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.222e-05/0.004866, allocations: 6.844 kB / 0.7477 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-06/0.004875, allocations: 4.766 kB / 0.7477 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.936e-05/0.004905, allocations: 12.84 kB / 0.7477 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.004907, allocations: 0 / 0.7477 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.58e-05/0.004963, allocations: 45.62 kB / 0.7477 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.004976, allocations: 4 kB / 0.7477 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.004983, allocations: 0.5156 kB / 0.7477 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.004992, allocations: 6.375 kB / 0.7478 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.55e-05/0.005058, allocations: 16.53 kB / 0.7478 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-06/0.005061, allocations: 0 / 0.7478 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.005079, allocations: 4 kB / 0.7478 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.005083, allocations: 0 / 0.7478 GB, free: 15.81 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 5.569e-05/0.005138, allocations: 109.8 kB / 0.7479 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.005153, allocations: 9.781 kB / 0.7479 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.127e-05/0.005224, allocations: 49.31 kB / 0.7479 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.005227, allocations: 4.688 kB / 0.7479 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.005228, allocations: 0 / 0.7479 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.005231, allocations: 6.781 kB / 0.7479 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.669e-05/0.005318, allocations: 69.88 kB / 0.748 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.005319, allocations: 0 / 0.748 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.005354, allocations: 11.98 kB / 0.748 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-06/0.005359, allocations: 4.922 kB / 0.748 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.005361, allocations: 0 / 0.748 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.005367, allocations: 8 kB / 0.748 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.005369, allocations: 2.75 kB / 0.748 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.005371, allocations: 3.938 kB / 0.748 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.099e-05/0.005442, allocations: 131.5 kB / 0.7482 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-06/0.00545, allocations: 0 / 0.7482 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.146e-05/0.005481, allocations: 7.984 kB / 0.7482 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.005518, allocations: 11.92 kB / 0.7482 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.005522, allocations: 4.703 kB / 0.7482 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.056e-05/0.005532, allocations: 8.859 kB / 0.7482 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005532, allocations: 2.188 kB / 0.7482 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001163/0.005649, allocations: 8 kB / 0.7482 GB, free: 15.33 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.000104/0.005752, allocations: 85.17 kB / 0.7483 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.293e-05/0.005815, allocations: 12.86 kB / 0.7483 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.005819, allocations: 0.5312 kB / 0.7483 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.96e-05/0.005838, allocations: 21.78 kB / 0.7483 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.005966, allocations: 4 kB / 0.7483 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.006316, allocations: 121.9 kB / 0.7484 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.216e-05/0.006348, allocations: 56 kB / 0.7485 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.39e-05/0.006372, allocations: 6.031 kB / 0.7485 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.006412, allocations: 51.38 kB / 0.7486 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of SimCode: time 7.01e-07/0.006413, allocations: 0 / 0.7486 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of Templates: time 0.002326/0.008739, allocations: 0.7867 MB / 0.7493 GB, free: 14.17 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.952847162261605]