Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial") translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.683/2.683, allocations: 285 MB / 292.5 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001416/0.001416, allocations: 184.8 kB / 360.7 MB, free: 7.219 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.97/1.97, allocations: 205.3 MB / 0.6192 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001088, allocations: 94.3 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.629e-05/3.627e-05, allocations: 8 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9087/0.9087, allocations: 115.3 MB / 0.9635 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2723/1.181, allocations: 136.4 MB / 1.097 GB, free: 4.055 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000352/1.182, allocations: 75.95 kB / 1.097 GB, free: 3.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001817/1.183, allocations: 0.5196 MB / 1.097 GB, free: 3.465 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/1.183, allocations: 0.5312 kB / 1.097 GB, free: 3.465 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.57e-06/1.183, allocations: 0 / 1.097 GB, free: 3.465 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003325/1.184, allocations: 317.4 kB / 1.098 GB, free: 3.117 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/1.184, allocations: 8.031 kB / 1.098 GB, free: 3.109 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/1.184, allocations: 2.016 kB / 1.098 GB, free: 3.109 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/1.184, allocations: 163 kB / 1.098 GB, free: 2.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/1.184, allocations: 7.094 kB / 1.098 GB, free: 2.906 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/1.184, allocations: 4 kB / 1.098 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.279e-05/1.184, allocations: 1.406 kB / 1.098 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.772e-05/1.184, allocations: 37.62 kB / 1.098 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.184, allocations: 0 / 1.098 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/1.184, allocations: 0 / 1.098 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/1.184, allocations: 0 / 1.098 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/1.185, allocations: 131.8 kB / 1.098 GB, free: 2.695 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.682e-05/1.185, allocations: 26.03 kB / 1.098 GB, free: 2.664 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/1.185, allocations: 4.859 kB / 1.098 GB, free: 2.656 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/1.185, allocations: 85.94 kB / 1.098 GB, free: 2.555 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/1.185, allocations: 38.31 kB / 1.098 GB, free: 2.512 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.944e-06/1.185, allocations: 0 / 1.098 GB, free: 2.512 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001902/1.185, allocations: 39.3 kB / 1.098 GB, free: 2.469 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/1.185, allocations: 51.41 kB / 1.098 GB, free: 2.406 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.407e-05/1.185, allocations: 85 kB / 1.098 GB, free: 2.316 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/1.185, allocations: 30.28 kB / 1.098 GB, free: 2.281 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/1.185, allocations: 83.42 kB / 1.098 GB, free: 2.199 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/1.185, allocations: 7.906 kB / 1.098 GB, free: 2.191 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/1.185, allocations: 0.6875 kB / 1.098 GB, free: 2.191 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.186, allocations: 311.7 kB / 1.099 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.859e-05/1.186, allocations: 4 kB / 1.099 GB, free: 1.875 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.538e-05/1.186, allocations: 4.625 kB / 1.099 GB, free: 1.871 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.547e-05/1.186, allocations: 0.6562 kB / 1.099 GB, free: 1.871 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.186, allocations: 0.7188 kB / 1.099 GB, free: 1.871 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001407/1.186, allocations: 46.2 kB / 1.099 GB, free: 1.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/1.186, allocations: 8 kB / 1.099 GB, free: 1.812 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.186, allocations: 0.7188 kB / 1.099 GB, free: 1.812 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/1.186, allocations: 0 / 1.099 GB, free: 1.812 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.522e-05/1.186, allocations: 4.656 kB / 1.099 GB, free: 1.809 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/1.186, allocations: 0 / 1.099 GB, free: 1.809 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.816e-05/1.186, allocations: 4.594 kB / 1.099 GB, free: 1.805 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/1.186, allocations: 0.7812 kB / 1.099 GB, free: 1.805 MB / 0.698 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,n) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001065/1.186, allocations: 105.4 kB / 1.099 GB, free: 1.695 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/1.186, allocations: 3.953 kB / 1.099 GB, free: 1.691 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/1.186, allocations: 47.03 kB / 1.099 GB, free: 1.641 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.186, allocations: 0 / 1.099 GB, free: 1.641 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.186, allocations: 3.938 kB / 1.099 GB, free: 1.637 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.187, allocations: 4.812 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/1.187, allocations: 126.2 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.187, allocations: 0.5938 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/1.187, allocations: 4 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/1.187, allocations: 1.188 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-06/1.187, allocations: 0 / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/1.187, allocations: 3.953 kB / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.187, allocations: 4.594 kB / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/1.187, allocations: 63.97 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.56e-05/1.187, allocations: 81.11 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/1.187, allocations: 0 / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.128e-05/1.187, allocations: 0 / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/1.187, allocations: 7.938 kB / 1.099 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/1.187, allocations: 4 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.042e-05/1.187, allocations: 76.16 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.91e-07/1.187, allocations: 0 / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004111/1.188, allocations: 10.72 kB / 1.099 GB, free: 1.195 MB / 0.698 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 () * 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 (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.0002345/1.188, allocations: 108.3 kB / 1.099 GB, free: 1.082 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.102e-05/1.188, allocations: 8 kB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.188, allocations: 5.219 kB / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.736e-05/1.188, allocations: 7.984 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/1.188, allocations: 1.625 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002081/1.188, allocations: 52.02 kB / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/1.189, allocations: 0.6768 MB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.858e-05/1.189, allocations: 4 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/1.189, allocations: 7.438 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of SimCode: time 8.82e-07/1.189, allocations: 0 / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of Templates: time 0.003322/1.192, allocations: 305.1 kB / 1.1 GB, free: 8 kB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1)