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.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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 113 kB / 17.09 MB, free: 5.961 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.001019/0.001019, allocations: 194.9 kB / 18.02 MB, free: 5.047 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.227/1.227, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.664/0.664, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 70.27 kB / 0.5584 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1096, allocations: 76.18 MB / 0.6328 GB, free: 4.469 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001461/0.1111, allocations: 0.5571 MB / 0.6333 GB, free: 3.914 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002119/0.1114, allocations: 51.83 kB / 0.6334 GB, free: 3.863 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.465e-05/0.1114, allocations: 0 / 0.6334 GB, free: 3.863 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.1114, allocations: 7.938 kB / 0.6334 GB, free: 3.855 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.17e-06/0.1114, allocations: 0 / 0.6334 GB, free: 3.855 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.1116, allocations: 12 kB / 0.6334 GB, free: 3.844 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.549e-05/0.1116, allocations: 4 kB / 0.6334 GB, free: 3.84 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.1117, allocations: 3.984 kB / 0.6334 GB, free: 3.836 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.088e-05/0.1117, allocations: 3.938 kB / 0.6334 GB, free: 3.832 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.723e-05/0.1117, allocations: 3.938 kB / 0.6334 GB, free: 3.828 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.887e-06/0.1117, allocations: 7.984 kB / 0.6334 GB, free: 3.82 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.491e-05/0.1118, allocations: 8 kB / 0.6334 GB, free: 3.812 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.683e-06/0.1118, allocations: 0 / 0.6334 GB, free: 3.812 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.253e-05/0.1118, allocations: 4 kB / 0.6334 GB, free: 3.809 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 6.515e-05/0.1119, allocations: 11.98 kB / 0.6334 GB, free: 3.797 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1119, allocations: 0 / 0.6334 GB, free: 3.797 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1119, allocations: 0 / 0.6334 GB, free: 3.797 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.1119, allocations: 0 / 0.6334 GB, free: 3.797 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002536/0.1122, allocations: 315.5 kB / 0.6337 GB, free: 3.438 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.1122, allocations: 12.03 kB / 0.6338 GB, free: 3.426 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.553e-05/0.1122, allocations: 8.938 kB / 0.6338 GB, free: 3.418 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.311e-05/0.1123, allocations: 164.3 kB / 0.6339 GB, free: 3.219 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.59e-06/0.1123, allocations: 384 / 0.6339 GB, free: 3.219 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.1124, allocations: 4.375 kB / 0.6339 GB, free: 3.215 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.327e-05/0.1124, allocations: 34.25 kB / 0.634 GB, free: 3.176 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.1125, allocations: 192 / 0.634 GB, free: 3.176 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.1125, allocations: 7.922 kB / 0.634 GB, free: 3.168 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.1125, allocations: 0 / 0.634 GB, free: 3.168 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.565e-05/0.1125, allocations: 4 kB / 0.634 GB, free: 3.164 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.1126, allocations: 153.7 kB / 0.6341 GB, free: 2.965 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.739e-05/0.1127, allocations: 26.55 kB / 0.6341 GB, free: 2.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.1127, allocations: 13.27 kB / 0.6342 GB, free: 2.914 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.1128, allocations: 77.11 kB / 0.6342 GB, free: 2.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.1129, allocations: 38.55 kB / 0.6343 GB, free: 2.773 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.1129, allocations: 0 / 0.6343 GB, free: 2.773 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001164/0.113, allocations: 41.64 kB / 0.6343 GB, free: 2.727 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.113, allocations: 55.34 kB / 0.6344 GB, free: 2.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.342e-05/0.1131, allocations: 89.98 kB / 0.6344 GB, free: 2.562 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.1131, allocations: 29.7 kB / 0.6345 GB, free: 2.527 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.1131, allocations: 80.14 kB / 0.6345 GB, free: 2.445 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.1131, allocations: 3.906 kB / 0.6346 GB, free: 2.441 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.1132, allocations: 21.7 kB / 0.6346 GB, free: 2.414 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.1133, allocations: 310.8 kB / 0.6349 GB, free: 2.102 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.1133, allocations: 4 kB / 0.6349 GB, free: 2.098 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.956e-06/0.1133, allocations: 4 kB / 0.6349 GB, free: 2.094 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.989e-05/0.1133, allocations: 20.92 kB / 0.6349 GB, free: 2.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1133, allocations: 0 / 0.6349 GB, free: 2.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.103e-05/0.1134, allocations: 37.69 kB / 0.6349 GB, free: 2.027 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.1134, allocations: 9.656 kB / 0.6349 GB, free: 2.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1134, allocations: 0 / 0.6349 GB, free: 2.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1134, allocations: 7.875 kB / 0.6349 GB, free: 2.012 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.26e-05/0.1135, allocations: 4 kB / 0.635 GB, free: 2.008 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.1135, allocations: 0 / 0.635 GB, free: 2.008 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.417e-05/0.1135, allocations: 3.938 kB / 0.635 GB, free: 2.004 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.1135, allocations: 0 / 0.635 GB, free: 2.004 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 (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 5.803e-05/0.1136, allocations: 121.9 kB / 0.6351 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.1136, allocations: 0 / 0.6351 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.158e-05/0.1137, allocations: 44.77 kB / 0.6351 GB, free: 1.824 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1137, allocations: 3.938 kB / 0.6351 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1137, allocations: 0 / 0.6351 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.1137, allocations: 81.09 kB / 0.6352 GB, free: 1.723 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-06/0.1137, allocations: 0 / 0.6352 GB, free: 1.723 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.052e-05/0.1138, allocations: 0 / 0.6352 GB, free: 1.723 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.1138, allocations: 11.97 kB / 0.6352 GB, free: 1.711 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.562e-05/0.1139, allocations: 121 kB / 0.6353 GB, free: 1.586 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001178/0.114, allocations: 210.8 kB / 0.6355 GB, free: 1.363 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.832e-05/0.114, allocations: 7.938 kB / 0.6355 GB, free: 1.355 MB / 478.1 MB Notification: Performance of sorting global known variables: time 2.848e-05/0.1141, allocations: 75.28 kB / 0.6356 GB, free: 1.281 MB / 478.1 MB Notification: Performance of Backend: time 2e-07/0.1141, allocations: 4.062 kB / 0.6356 GB, free: 1.277 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003222/0.1144, allocations: 86.39 kB / 0.6357 GB, free: 1.184 MB / 478.1 MB Notification: Performance of SimCode: time 0.0002737/0.1147, allocations: 0.5331 MB / 0.6362 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of Templates: time 0.001812/0.1165, allocations: 355.5 kB / 0.6366 GB, free: 264 kB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile (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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1)