Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001175/0.001175, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.224/1.224, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 291.8 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8894/0.8894, allocations: 169.2 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 99.84 kB / 0.6822 GB, free: 6.902 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.355, allocations: 86.97 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001453/0.3565, allocations: 0.5824 MB / 0.7677 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002401/0.3568, allocations: 55.78 kB / 0.7677 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.3568, allocations: 0 / 0.7677 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.608e-05/0.3569, allocations: 0 / 0.7677 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.3569, allocations: 0 / 0.7677 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.3571, allocations: 23.92 kB / 0.7677 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.452e-05/0.3572, allocations: 31.95 kB / 0.7678 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.602e-05/0.3573, allocations: 4 kB / 0.7678 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.623e-05/0.3573, allocations: 4 kB / 0.7678 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.835e-05/0.3573, allocations: 15.98 kB / 0.7678 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.3573, allocations: 11.92 kB / 0.7678 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.167e-05/0.3574, allocations: 15.98 kB / 0.7678 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.3574, allocations: 12 kB / 0.7678 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.3575, allocations: 11.92 kB / 0.7678 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.405e-05/0.3576, allocations: 39.83 kB / 0.7679 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.3576, allocations: 0 / 0.7679 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3576, allocations: 0 / 0.7679 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.3576, allocations: 0 / 0.7679 GB, free: 3.082 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002944/0.3579, allocations: 335.2 kB / 0.7682 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.3579, allocations: 8.031 kB / 0.7682 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.358, allocations: 16.84 kB / 0.7682 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.362e-05/0.358, allocations: 168.3 kB / 0.7684 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3581, allocations: 4.375 kB / 0.7684 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.3581, allocations: 8.375 kB / 0.7684 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.3582, allocations: 62.17 kB / 0.7684 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3582, allocations: 192 / 0.7684 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.3582, allocations: 3.938 kB / 0.7685 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3582, allocations: 0 / 0.7685 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.3584, allocations: 103.9 kB / 0.7686 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.3585, allocations: 177.6 kB / 0.7687 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.3586, allocations: 74.48 kB / 0.7688 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.3587, allocations: 28.84 kB / 0.7688 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002856/0.359, allocations: 401.5 kB / 0.7692 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.359, allocations: 30.56 kB / 0.7692 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.359, allocations: 0 / 0.7692 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.000216/0.3592, allocations: 125.8 kB / 0.7694 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.3593, allocations: 63.34 kB / 0.7694 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.942e-05/0.3593, allocations: 89.86 kB / 0.7695 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.3593, allocations: 29.7 kB / 0.7695 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.201e-05/0.3594, allocations: 80.14 kB / 0.7696 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.3594, allocations: 26.19 kB / 0.7696 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.3594, allocations: 29.7 kB / 0.7697 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.3595, allocations: 318.8 kB / 0.77 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.614e-05/0.3596, allocations: 19.98 kB / 0.77 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/0.3596, allocations: 23.98 kB / 0.77 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.025e-05/0.3597, allocations: 61.44 kB / 0.7701 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3597, allocations: 0 / 0.7701 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001231/0.3598, allocations: 93.59 kB / 0.7701 GB, free: 448 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3599, allocations: 6.344 kB / 0.7702 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3599, allocations: 11.92 kB / 0.7702 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3599, allocations: 3.938 kB / 0.7702 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.013e-05/0.36, allocations: 19.98 kB / 0.7702 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.36, allocations: 3.938 kB / 0.7702 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.36, allocations: 7.906 kB / 0.7702 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.36, allocations: 8 kB / 0.7702 GB, free: 388 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001012/0.3601, allocations: 127.2 kB / 0.7703 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.3602, allocations: 3.938 kB / 0.7703 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.3604, allocations: 125.5 kB / 0.7705 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3604, allocations: 0 / 0.7705 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3604, allocations: 0 / 0.7705 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.3604, allocations: 84.95 kB / 0.7705 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.3604, allocations: 8 kB / 0.7705 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.583e-05/0.3605, allocations: 4 kB / 0.7705 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.3605, allocations: 8.047 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001572/0.3607, allocations: 180.8 kB / 0.7707 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001818/0.3609, allocations: 274.7 kB / 0.771 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.139e-05/0.3609, allocations: 27.92 kB / 0.771 GB, free: 15.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.094e-05/0.3609, allocations: 75.28 kB / 0.7711 GB, free: 15.42 MB / 0.545 GB Notification: Performance of Backend: time 2.8e-07/0.3609, allocations: 4 kB / 0.7711 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003717/0.3613, allocations: 123.1 kB / 0.7712 GB, free: 15.29 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003164/0.3617, allocations: 0.5683 MB / 0.7718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of Templates: time 0.00259/0.3643, allocations: 0.838 MB / 0.7726 GB, free: 13.84 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)