Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001359/0.001359, allocations: 84.12 kB / 19.94 MB, free: 1.781 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.001309/0.001309, allocations: 163.1 kB / 23.21 MB, free: 4.902 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.391/1.391, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 179] 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.892/0.892, allocations: 114 MB / 373.9 MB, free: 13.25 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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 3.938 kB / 0.5547 GB, free: 2.621 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.072e-05, allocations: 5.094 kB / 0.5547 GB, free: 2.617 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.002551/0.002572, allocations: 1.535 MB / 0.5562 GB, free: 1.07 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003531/0.002925, allocations: 123.4 kB / 0.5563 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.078e-05/0.002966, allocations: 4 kB / 0.5563 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.002993, allocations: 0 / 0.5563 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.647e-05/0.00303, allocations: 7.938 kB / 0.5563 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.003267, allocations: 23.95 kB / 0.5563 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 7.313e-05/0.00334, allocations: 27.92 kB / 0.5564 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.996e-05/0.00343, allocations: 11.94 kB / 0.5564 GB, free: 0.875 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.132e-05/0.003482, allocations: 15.98 kB / 0.5564 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.651e-05/0.003528, allocations: 19.91 kB / 0.5564 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.003548, allocations: 4 kB / 0.5564 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.83e-05/0.003606, allocations: 8 kB / 0.5564 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.003624, allocations: 7.984 kB / 0.5564 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.003643, allocations: 4 kB / 0.5564 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.003769, allocations: 51.81 kB / 0.5565 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003771, allocations: 0 / 0.5565 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003772, allocations: 0 / 0.5565 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.00378, allocations: 0 / 0.5565 GB, free: 0.7656 MB / 462.1 MB 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.0004763/0.004256, allocations: 262.3 kB / 0.5567 GB, free: 488 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.004296, allocations: 12.62 kB / 0.5567 GB, free: 476 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.004325, allocations: 4.891 kB / 0.5567 GB, free: 472 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.004458, allocations: 109.8 kB / 0.5568 GB, free: 336 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.004474, allocations: 384 / 0.5568 GB, free: 336 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.00449, allocations: 4.375 kB / 0.5569 GB, free: 332 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.004703, allocations: 58.23 kB / 0.5569 GB, free: 268 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.004713, allocations: 192 / 0.5569 GB, free: 268 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.004722, allocations: 384 / 0.5569 GB, free: 268 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.004727, allocations: 384 / 0.5569 GB, free: 268 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.004936, allocations: 51.83 kB / 0.557 GB, free: 216 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.005308, allocations: 208.6 kB / 0.5572 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.005631, allocations: 50.55 kB / 0.5572 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.005737, allocations: 32.89 kB / 0.5572 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-05/0.005813, allocations: 7.984 kB / 0.5572 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.005842, allocations: 38.5 kB / 0.5573 GB, free: 15.83 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.005843, allocations: 3.938 kB / 0.5573 GB, free: 15.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004089/0.006252, allocations: 93.56 kB / 0.5574 GB, free: 15.73 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.006292, allocations: 55.34 kB / 0.5574 GB, free: 15.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.583e-05/0.006378, allocations: 105.8 kB / 0.5575 GB, free: 15.55 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.006408, allocations: 29.7 kB / 0.5576 GB, free: 15.51 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.006462, allocations: 80.14 kB / 0.5576 GB, free: 15.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.006484, allocations: 11.89 kB / 0.5576 GB, free: 15.42 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.006518, allocations: 13.72 kB / 0.5577 GB, free: 15.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.006677, allocations: 326.8 kB / 0.558 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-05/0.006768, allocations: 11.98 kB / 0.558 GB, free: 15.06 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-05/0.006856, allocations: 19.98 kB / 0.558 GB, free: 15.04 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.007039, allocations: 56.75 kB / 0.5581 GB, free: 14.98 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.007041, allocations: 0 / 0.5581 GB, free: 14.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002285/0.007269, allocations: 73.61 kB / 0.5581 GB, free: 14.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.007288, allocations: 15.92 kB / 0.5581 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.007292, allocations: 0 / 0.5581 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.007311, allocations: 0 / 0.5581 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.521e-05/0.007396, allocations: 11.98 kB / 0.5581 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.007403, allocations: 4 kB / 0.5582 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.624e-05/0.00746, allocations: 4 kB / 0.5582 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.007466, allocations: 4 kB / 0.5582 GB, free: 14.86 MB / 478.1 MB 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 9.692e-05/0.007563, allocations: 117.7 kB / 0.5583 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.007589, allocations: 3.984 kB / 0.5583 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.007864, allocations: 85.27 kB / 0.5584 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.007866, allocations: 4 kB / 0.5584 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.00787, allocations: 0 / 0.5584 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.007873, allocations: 0 / 0.5584 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.008023, allocations: 109.3 kB / 0.5585 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.008024, allocations: 4 kB / 0.5585 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.432e-05/0.008099, allocations: 8 kB / 0.5585 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.008103, allocations: 3.984 kB / 0.5585 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.008112, allocations: 4 kB / 0.5585 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.008116, allocations: 3.938 kB / 0.5585 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.008117, allocations: 0 / 0.5585 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.008415, allocations: 168 kB / 0.5586 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.944e-06/0.008423, allocations: 3.953 kB / 0.5587 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.008439, allocations: 15.97 kB / 0.5587 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.529e-05/0.008524, allocations: 7.922 kB / 0.5587 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.008578, allocations: 11.98 kB / 0.5587 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.008582, allocations: 0 / 0.5587 GB, free: 14.26 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.542e-05/0.008627, allocations: 79.28 kB / 0.5588 GB, free: 14.18 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008627, allocations: 0 / 0.5588 GB, free: 14.18 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.008852, allocations: 15.94 kB / 0.5588 GB, free: 14.17 MB / 478.1 MB 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.0001569/0.009009, allocations: 99.23 kB / 0.5589 GB, free: 14.06 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.009253, allocations: 47.95 kB / 0.5589 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.009254, allocations: 7.938 kB / 0.5589 GB, free: 14.01 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.009361, allocations: 23.97 kB / 0.5589 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.009618, allocations: 4 kB / 0.559 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.01001, allocations: 108.9 kB / 0.5591 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.774e-05/0.01009, allocations: 63.34 kB / 0.5591 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 3.177e-05/0.01012, allocations: 8 kB / 0.5591 GB, free: 13.76 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.01016, allocations: 8.5 kB / 0.5591 GB, free: 13.75 MB / 478.1 MB Notification: Performance of SimCode: time 6.22e-07/0.01016, allocations: 0 / 0.5591 GB, free: 13.75 MB / 478.1 MB Notification: Performance of Templates: time 0.003755/0.01391, allocations: 0.7514 MB / 0.5599 GB, free: 13.02 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.155986327677965] Failed to read output from testmodel.py, exit status != 0: 0.0216648168861866 0.036287092 0.029554854000000002 Calling exit ...