Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Factorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.755/1.755, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001303/0.001303, allocations: 180.8 kB / 361.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.3 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008872/0.0008865, allocations: 98.12 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.698e-05/1.7e-05, allocations: 4 kB / 0.8517 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7365/0.7365, allocations: 115.3 MB / 0.9643 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.203/0.9396, allocations: 137.5 MB / 1.099 GB, free: 2.332 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.9399, allocations: 75.09 kB / 1.099 GB, free: 2.262 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002578/0.9425, allocations: 0.9254 MB / 1.1 GB, free: 1.352 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9425, allocations: 0 / 1.1 GB, free: 1.352 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.9425, allocations: 0 / 1.1 GB, free: 1.352 MB / 0.698 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.0003527/0.9429, allocations: 346.5 kB / 1.1 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.9429, allocations: 11.86 kB / 1.1 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.943, allocations: 10.62 kB / 1.1 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.9431, allocations: 171 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.9431, allocations: 0 / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.9432, allocations: 4 kB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.834e-05/0.9432, allocations: 16 kB / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.86e-05/0.9433, allocations: 44.23 kB / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.9434, allocations: 0.5312 kB / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.9434, allocations: 0.5938 kB / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.9434, allocations: 0 / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.9439, allocations: 264.2 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.9442, allocations: 39.25 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.9442, allocations: 17.45 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/0.9444, allocations: 81.91 kB / 1.101 GB, free: 228 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.9444, allocations: 35.19 kB / 1.101 GB, free: 184 kB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.9445, allocations: 0.6875 kB / 1.101 GB, free: 184 kB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002393/0.9447, allocations: 46.38 kB / 1.101 GB, free: 132 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.9447, allocations: 59.34 kB / 1.101 GB, free: 60 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.132e-05/0.9448, allocations: 97.36 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.9449, allocations: 26.42 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.9449, allocations: 85.45 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.9449, allocations: 11.89 kB / 1.101 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.945, allocations: 0.6562 kB / 1.101 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.9451, allocations: 319.5 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.9451, allocations: 8 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.605e-05/0.9452, allocations: 8.656 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.852e-05/0.9452, allocations: 4.594 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.9452, allocations: 3.469 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.289e-05/0.9453, allocations: 49.97 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.9453, allocations: 8 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.9453, allocations: 4.859 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.9454, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.985e-05/0.9455, allocations: 11.53 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.9455, allocations: 7.984 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/0.9455, allocations: 11.94 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.9456, allocations: 0 / 1.101 GB, free: 15.4 MB / 0.7136 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 (fac.y,fac.u) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.015e-05/0.9456, allocations: 110.7 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.9457, allocations: 0 / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.9458, allocations: 54.39 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.9458, allocations: 2.219 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9458, allocations: 0 / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.9458, allocations: 4 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.946, allocations: 146.1 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.946, allocations: 0 / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-05/0.9461, allocations: 19.94 kB / 1.102 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.9461, allocations: 4 kB / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.9461, allocations: 0 / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.9461, allocations: 0 / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.9461, allocations: 0 / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.9463, allocations: 150 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.9463, allocations: 81.09 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.9463, allocations: 3.953 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.9464, allocations: 12 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.9465, allocations: 7.922 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.9465, allocations: 6.062 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.082e-05/0.9466, allocations: 75.28 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9466, allocations: 0 / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002235/0.9468, allocations: 19.92 kB / 1.102 GB, free: 14.64 MB / 0.7136 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,fac.u) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001711/0.947, allocations: 112.2 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.215e-05/0.9471, allocations: 25.34 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9471, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.013e-05/0.9471, allocations: 15.98 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.9473, allocations: 2.062 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.9475, allocations: 62.41 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.9478, allocations: 0.6807 MB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.399e-05/0.9478, allocations: 8 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.9478, allocations: 11.42 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.9478, allocations: 0 / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of Templates: time 0.002483/0.9503, allocations: 0.5651 MB / 1.103 GB, free: 13.14 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Factorial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Factorial.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1)