Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001323/0.001323, allocations: 69.64 kB / 20.51 MB, free: 1.285 MB / 14.72 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.002168/0.002168, allocations: 161 kB / 23.76 MB, free: 4.469 MB / 14.72 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.442/1.442, allocations: 177.2 MB / 204.1 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9/0.9, allocations: 113.9 MB / 374.4 MB, free: 12.89 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 68.83 kB / 0.5551 GB, free: 2.695 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1473, allocations: 89.16 MB / 0.6421 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001614/0.1489, allocations: 0.5758 MB / 0.6427 GB, free: 8.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002547/0.1492, allocations: 48.22 kB / 0.6427 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.402e-05/0.1492, allocations: 0 / 0.6427 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.055e-05/0.1492, allocations: 0 / 0.6427 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.049e-06/0.1492, allocations: 0 / 0.6427 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.1494, allocations: 11.98 kB / 0.6428 GB, free: 8.871 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.574e-05/0.1495, allocations: 0 / 0.6428 GB, free: 8.871 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.1495, allocations: 4 kB / 0.6428 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.969e-06/0.1495, allocations: 0 / 0.6428 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.629e-05/0.1495, allocations: 0 / 0.6428 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/0.1495, allocations: 0 / 0.6428 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.533e-05/0.1496, allocations: 23.92 kB / 0.6428 GB, free: 8.844 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.1496, allocations: 3.984 kB / 0.6428 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.245e-05/0.1496, allocations: 3.938 kB / 0.6428 GB, free: 8.836 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.246e-05/0.1497, allocations: 11.98 kB / 0.6428 GB, free: 8.824 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1497, allocations: 0 / 0.6428 GB, free: 8.824 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1497, allocations: 3.938 kB / 0.6428 GB, free: 8.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.1497, allocations: 0 / 0.6428 GB, free: 8.82 MB / 0.545 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.0002877/0.15, allocations: 246.4 kB / 0.643 GB, free: 8.547 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.15, allocations: 8.031 kB / 0.643 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.15, allocations: 4.922 kB / 0.6431 GB, free: 8.535 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.351e-05/0.1501, allocations: 102.5 kB / 0.6431 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1501, allocations: 8.375 kB / 0.6432 GB, free: 8.402 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.1502, allocations: 384 / 0.6432 GB, free: 8.402 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.213e-05/0.1502, allocations: 30.27 kB / 0.6432 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1502, allocations: 192 / 0.6432 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1503, allocations: 7.922 kB / 0.6432 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.1503, allocations: 0 / 0.6432 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.291e-05/0.1503, allocations: 15.92 kB / 0.6432 GB, free: 8.344 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.1504, allocations: 97.27 kB / 0.6433 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.383e-05/0.1505, allocations: 26.61 kB / 0.6433 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.1505, allocations: 8.859 kB / 0.6433 GB, free: 8.172 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.1506, allocations: 8.047 kB / 0.6433 GB, free: 8.164 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1506, allocations: 30.56 kB / 0.6434 GB, free: 8.125 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1506, allocations: 0 / 0.6434 GB, free: 8.125 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001245/0.1508, allocations: 49.58 kB / 0.6434 GB, free: 8.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.1508, allocations: 51.41 kB / 0.6435 GB, free: 8.008 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.347e-05/0.1508, allocations: 93.84 kB / 0.6436 GB, free: 7.906 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1509, allocations: 25.7 kB / 0.6436 GB, free: 7.875 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.1509, allocations: 80.14 kB / 0.6437 GB, free: 7.793 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.1509, allocations: 3.953 kB / 0.6437 GB, free: 7.789 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.1509, allocations: 21.84 kB / 0.6437 GB, free: 7.762 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1511, allocations: 310.8 kB / 0.644 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.1511, allocations: 8 kB / 0.644 GB, free: 7.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-06/0.1511, allocations: 0 / 0.644 GB, free: 7.441 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.229e-05/0.1511, allocations: 20.84 kB / 0.644 GB, free: 7.418 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1511, allocations: 0 / 0.644 GB, free: 7.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.269e-05/0.1512, allocations: 37.64 kB / 0.644 GB, free: 7.375 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.1512, allocations: 4 kB / 0.644 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.1512, allocations: 0 / 0.644 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.1512, allocations: 96 / 0.644 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.862e-05/0.1513, allocations: 11.94 kB / 0.6441 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1513, allocations: 3.984 kB / 0.6441 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.265e-05/0.1513, allocations: 0 / 0.6441 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.1513, allocations: 4 kB / 0.6441 GB, free: 7.352 MB / 0.545 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 7.771e-05/0.1514, allocations: 109.8 kB / 0.6442 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-06/0.1514, allocations: 0 / 0.6442 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.485e-05/0.1515, allocations: 48.78 kB / 0.6442 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1515, allocations: 7.875 kB / 0.6442 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.1515, allocations: 0 / 0.6442 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1515, allocations: 4.031 kB / 0.6442 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.448e-05/0.1516, allocations: 97.33 kB / 0.6443 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1516, allocations: 0 / 0.6443 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.376e-05/0.1516, allocations: 4 kB / 0.6443 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.1516, allocations: 0 / 0.6443 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1516, allocations: 7.922 kB / 0.6443 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.1516, allocations: 3.984 kB / 0.6443 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1516, allocations: 3.938 kB / 0.6443 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.433e-05/0.1517, allocations: 61.14 kB / 0.6444 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.1517, allocations: 3.953 kB / 0.6444 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.1517, allocations: 8.016 kB / 0.6444 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.061e-05/0.1517, allocations: 0 / 0.6444 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.1517, allocations: 11.94 kB / 0.6444 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.1517, allocations: 0 / 0.6444 GB, free: 6.922 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.432e-05/0.1518, allocations: 79.22 kB / 0.6445 GB, free: 6.844 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1518, allocations: 0 / 0.6445 GB, free: 6.844 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001871/0.152, allocations: 7.938 kB / 0.6445 GB, free: 6.836 MB / 0.545 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 0.0001312/0.1521, allocations: 103.2 kB / 0.6446 GB, free: 6.723 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.18e-05/0.1521, allocations: 8 kB / 0.6446 GB, free: 6.715 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1521, allocations: 4.062 kB / 0.6446 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.867e-05/0.1522, allocations: 8 kB / 0.6446 GB, free: 6.703 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.1523, allocations: 0 / 0.6446 GB, free: 6.703 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001662/0.1525, allocations: 84.86 kB / 0.6447 GB, free: 6.594 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.883e-05/0.1525, allocations: 51.36 kB / 0.6448 GB, free: 6.523 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.177e-05/0.1525, allocations: 11.94 kB / 0.6448 GB, free: 6.512 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.747e-05/0.1525, allocations: 12.5 kB / 0.6448 GB, free: 6.5 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.1525, allocations: 0 / 0.6448 GB, free: 6.5 MB / 0.545 GB Notification: Performance of Templates: time 0.002296/0.1548, allocations: 320.8 kB / 0.6451 GB, free: 6.188 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.192947966046631] Failed to read output from testmodel.py, exit status != 0: 0.16255549399647862 0.17693388300000001 0.024202886 Calling exit ...