Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 115.4 kB / 17.09 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 186.8 kB / 18.02 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.678/0.678, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 73.42 kB / 0.5584 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1107, allocations: 76.18 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002347/0.1131, allocations: 1.525 MB / 0.6342 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003079/0.1134, allocations: 132.4 kB / 0.6344 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.1135, allocations: 0 / 0.6344 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.1135, allocations: 0 / 0.6344 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.484e-05/0.1135, allocations: 3.938 kB / 0.6344 GB, free: 2.734 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.1138, allocations: 43.83 kB / 0.6344 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.123e-05/0.1139, allocations: 35.92 kB / 0.6344 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.346e-05/0.114, allocations: 11.98 kB / 0.6345 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.805e-05/0.114, allocations: 23.86 kB / 0.6345 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.115e-05/0.114, allocations: 19.92 kB / 0.6345 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.1141, allocations: 4 kB / 0.6345 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.608e-05/0.1141, allocations: 19.98 kB / 0.6345 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.1142, allocations: 7.984 kB / 0.6345 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.1142, allocations: 11.94 kB / 0.6345 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.1143, allocations: 59.8 kB / 0.6346 GB, free: 2.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1143, allocations: 4 kB / 0.6346 GB, free: 2.496 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1143, allocations: 0 / 0.6346 GB, free: 2.496 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1143, allocations: 0 / 0.6346 GB, free: 2.496 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004264/0.1148, allocations: 343.4 kB / 0.6349 GB, free: 2.109 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1148, allocations: 12.03 kB / 0.6349 GB, free: 2.098 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.1148, allocations: 0.9375 kB / 0.6349 GB, free: 2.098 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.1149, allocations: 176.2 kB / 0.6351 GB, free: 1.887 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.115, allocations: 384 / 0.6351 GB, free: 1.887 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.115, allocations: 12.38 kB / 0.6351 GB, free: 1.875 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.1152, allocations: 58.23 kB / 0.6352 GB, free: 1.812 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1152, allocations: 192 / 0.6352 GB, free: 1.812 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1152, allocations: 3.938 kB / 0.6352 GB, free: 1.809 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.1152, allocations: 0 / 0.6352 GB, free: 1.809 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.1154, allocations: 43.95 kB / 0.6352 GB, free: 1.766 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.1158, allocations: 296.6 kB / 0.6355 GB, free: 1.426 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.1161, allocations: 58.53 kB / 0.6356 GB, free: 1.359 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.434e-05/0.1162, allocations: 20.91 kB / 0.6356 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002442/0.1164, allocations: 401.5 kB / 0.636 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.1164, allocations: 30.56 kB / 0.636 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1165, allocations: 4 kB / 0.636 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003669/0.1168, allocations: 97.56 kB / 0.6361 GB, free: 0.707 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/0.1169, allocations: 51.41 kB / 0.6361 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.117, allocations: 109.8 kB / 0.6362 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.117, allocations: 29.64 kB / 0.6363 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.117, allocations: 84.14 kB / 0.6363 GB, free: 416 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.251e-05/0.1171, allocations: 11.89 kB / 0.6364 GB, free: 404 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.1171, allocations: 17.72 kB / 0.6364 GB, free: 380 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1172, allocations: 314.8 kB / 0.6367 GB, free: 56 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.626e-05/0.1173, allocations: 19.97 kB / 0.6367 GB, free: 36 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.081e-05/0.1174, allocations: 19.98 kB / 0.6367 GB, free: 16 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.1176, allocations: 52.97 kB / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1176, allocations: 4 kB / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002107/0.1178, allocations: 81.55 kB / 0.6368 GB, free: 15.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.1179, allocations: 4 kB / 0.6369 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1179, allocations: 0 / 0.6369 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/0.1179, allocations: 3.938 kB / 0.6369 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.898e-05/0.118, allocations: 11.98 kB / 0.6369 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.118, allocations: 0 / 0.6369 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.798e-05/0.118, allocations: 7.984 kB / 0.6369 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.1181, allocations: 4 kB / 0.6369 GB, free: 15.84 MB / 494.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 (falFac.y,rea2Int.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 7.808e-05/0.1181, allocations: 117.8 kB / 0.637 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.1182, allocations: 0 / 0.637 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.1184, allocations: 85.48 kB / 0.6371 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1184, allocations: 0 / 0.6371 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1184, allocations: 3.984 kB / 0.6371 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.1185, allocations: 89.02 kB / 0.6372 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.1185, allocations: 4 kB / 0.6372 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.1186, allocations: 4 kB / 0.6372 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.1186, allocations: 11.92 kB / 0.6372 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002755/0.1189, allocations: 156.9 kB / 0.6373 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002915/0.1192, allocations: 254.7 kB / 0.6376 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.764e-05/0.1193, allocations: 23.97 kB / 0.6376 GB, free: 15.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.924e-05/0.1194, allocations: 87.28 kB / 0.6377 GB, free: 14.95 MB / 494.1 MB Notification: Performance of Backend: time 3.11e-07/0.1194, allocations: 0 / 0.6377 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004069/0.1198, allocations: 102.4 kB / 0.6378 GB, free: 14.85 MB / 494.1 MB Notification: Performance of SimCode: time 0.0003947/0.1202, allocations: 0.5694 MB / 0.6383 GB, free: 14.23 MB / 494.1 MB Notification: Performance of Templates: time 0.002737/0.1229, allocations: 0.87 MB / 0.6392 GB, free: 13.37 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)