Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006815/0.006815, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7396/0.7396, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.2 MB / 406.8 MB, free: 3.215 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009529/0.000953, allocations: 92.7 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003671, allocations: 8 kB / 0.5692 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3817, allocations: 82.31 MB / 0.6495 GB, free: 36.07 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.5188, allocations: 110.6 MB / 0.7576 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.5191, allocations: 75.95 kB / 0.7576 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001962/0.5211, allocations: 0.8299 MB / 0.7585 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5211, allocations: 0 / 0.7585 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.5211, allocations: 4 kB / 0.7585 GB, free: 4.391 MB / 0.5261 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.0002676/0.5214, allocations: 331.3 kB / 0.7588 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.5214, allocations: 8.031 kB / 0.7588 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/0.5215, allocations: 38.56 kB / 0.7588 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.066e-05/0.5215, allocations: 4 kB / 0.7588 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.129e-05/0.5216, allocations: 178.9 kB / 0.759 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.5216, allocations: 4 kB / 0.759 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.5216, allocations: 4 kB / 0.759 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.5218, allocations: 57.67 kB / 0.7591 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.5218, allocations: 3.938 kB / 0.7591 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.5218, allocations: 0 / 0.7591 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.5218, allocations: 4 kB / 0.7591 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.522, allocations: 99.86 kB / 0.7592 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.5221, allocations: 181.5 kB / 0.7593 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.5223, allocations: 74.53 kB / 0.7594 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003296/0.5226, allocations: 405.5 kB / 0.7598 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.5226, allocations: 30.56 kB / 0.7598 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.5226, allocations: 0 / 0.7598 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0002384/0.5229, allocations: 113.8 kB / 0.7599 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.5229, allocations: 63.39 kB / 0.76 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.417e-05/0.523, allocations: 92.94 kB / 0.7601 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.523, allocations: 25.7 kB / 0.7601 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.523, allocations: 84.33 kB / 0.7602 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.5231, allocations: 15.72 kB / 0.7602 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.5231, allocations: 4 kB / 0.7602 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.5232, allocations: 318.8 kB / 0.7605 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.402e-05/0.5232, allocations: 19.98 kB / 0.7605 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.106e-05/0.5233, allocations: 20.42 kB / 0.7605 GB, free: 1.945 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.966e-05/0.5233, allocations: 32.08 kB / 0.7606 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5233, allocations: 4 kB / 0.7606 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001262/0.5235, allocations: 89.62 kB / 0.7607 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.5235, allocations: 4 kB / 0.7607 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.5235, allocations: 3.938 kB / 0.7607 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.5235, allocations: 4 kB / 0.7607 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.5236, allocations: 15.98 kB / 0.7607 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.5236, allocations: 7.984 kB / 0.7607 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.31e-05/0.5237, allocations: 11.84 kB / 0.7607 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.5237, allocations: 4 kB / 0.7607 GB, free: 1.766 MB / 0.5261 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 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.224e-05/0.5238, allocations: 126.9 kB / 0.7608 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.5238, allocations: 3.953 kB / 0.7608 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.524, allocations: 121.6 kB / 0.761 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.524, allocations: 4 kB / 0.761 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.524, allocations: 4 kB / 0.761 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.524, allocations: 0 / 0.761 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.5242, allocations: 177.6 kB / 0.7611 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.5242, allocations: 4 kB / 0.7611 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.814e-05/0.5242, allocations: 19.98 kB / 0.7612 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.5243, allocations: 3.953 kB / 0.7612 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.5243, allocations: 11.94 kB / 0.7612 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5243, allocations: 0 / 0.7612 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5243, allocations: 0 / 0.7612 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.5244, allocations: 121.3 kB / 0.7613 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.5245, allocations: 81.05 kB / 0.7614 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.5245, allocations: 11.95 kB / 0.7614 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.592e-05/0.5245, allocations: 4 kB / 0.7614 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.5246, allocations: 7.984 kB / 0.7614 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.5246, allocations: 4 kB / 0.7614 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.744e-05/0.5246, allocations: 75.28 kB / 0.7615 GB, free: 0.8945 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.5246, allocations: 0 / 0.7615 GB, free: 0.8945 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001924/0.5248, allocations: 23.94 kB / 0.7615 GB, free: 0.8711 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004654/0.5253, allocations: 0.6747 MB / 0.7621 GB, free: 172 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.5254, allocations: 51.97 kB / 0.7622 GB, free: 120 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5254, allocations: 0 / 0.7622 GB, free: 120 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.321e-05/0.5255, allocations: 44.52 kB / 0.7622 GB, free: 76 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.316e-05/0.5256, allocations: 5.422 kB / 0.7622 GB, free: 72 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.526, allocations: 196.3 kB / 0.7624 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.5262, allocations: 0.6809 MB / 0.7631 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.458e-05/0.5263, allocations: 35.94 kB / 0.7631 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.5264, allocations: 19.44 kB / 0.7631 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.5264, allocations: 0 / 0.7631 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01169/0.5381, allocations: 1.303 MB / 0.7644 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/0.5384, allocations: 173.3 kB / 0.7646 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/1.987, allocations: 0 / 0.7646 GB, free: 13.66 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)