Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.01019/0.01019, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9087/0.9087, allocations: 135.2 MB / 151 MB, free: 13.82 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.495/1.495, allocations: 223.1 MB / 406.8 MB, free: 3.152 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.000922/0.000922, allocations: 97.16 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.374, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.5189, allocations: 111.7 MB / 0.7586 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.5191, allocations: 75.97 kB / 0.7587 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003093/0.5223, allocations: 1.056 MB / 0.7597 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.625e-06/0.5223, allocations: 0 / 0.7597 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.5223, allocations: 0 / 0.7597 GB, free: 3.16 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004315/0.5227, allocations: 363.2 kB / 0.7601 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.5228, allocations: 8.031 kB / 0.7601 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.886e-05/0.5228, allocations: 34.56 kB / 0.7601 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.5229, allocations: 4 kB / 0.7601 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.523, allocations: 170.9 kB / 0.7603 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.523, allocations: 4 kB / 0.7603 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.523, allocations: 7.938 kB / 0.7603 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.5233, allocations: 77.59 kB / 0.7604 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.5233, allocations: 0 / 0.7604 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.5233, allocations: 0 / 0.7604 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.5233, allocations: 3.984 kB / 0.7604 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.5235, allocations: 59.95 kB / 0.7604 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.5239, allocations: 272.8 kB / 0.7607 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.5242, allocations: 70.47 kB / 0.7608 GB, free: 1.945 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000282/0.5245, allocations: 397.7 kB / 0.7611 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.5246, allocations: 34.56 kB / 0.7612 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.5246, allocations: 3.938 kB / 0.7612 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0004225/0.525, allocations: 117.5 kB / 0.7613 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.5251, allocations: 55.41 kB / 0.7613 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/0.5251, allocations: 104.9 kB / 0.7614 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.5252, allocations: 25.7 kB / 0.7615 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.5252, allocations: 84.14 kB / 0.7615 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.5253, allocations: 7.906 kB / 0.7615 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.5253, allocations: 0 / 0.7615 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5254, allocations: 314.8 kB / 0.7618 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.726e-05/0.5255, allocations: 27.97 kB / 0.7619 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.632e-05/0.5256, allocations: 23.98 kB / 0.7619 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.967e-05/0.5257, allocations: 31.97 kB / 0.7619 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5257, allocations: 0 / 0.7619 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002371/0.5259, allocations: 85.56 kB / 0.762 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.526, allocations: 5.094 kB / 0.762 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.526, allocations: 0 / 0.762 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.526, allocations: 7.938 kB / 0.762 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.586e-05/0.5261, allocations: 19.98 kB / 0.762 GB, free: 488 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.5261, allocations: 320 / 0.762 GB, free: 488 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.742e-05/0.5262, allocations: 11.98 kB / 0.762 GB, free: 476 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.5262, allocations: 3.953 kB / 0.7621 GB, free: 472 kB / 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: 2 (falFac.y,falFac.k) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.588e-05/0.5263, allocations: 109.8 kB / 0.7622 GB, free: 352 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.5263, allocations: 4 kB / 0.7622 GB, free: 348 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.5266, allocations: 97.53 kB / 0.7623 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5267, allocations: 0 / 0.7623 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.5267, allocations: 0 / 0.7623 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.5267, allocations: 3.938 kB / 0.7623 GB, free: 236 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.5269, allocations: 177.5 kB / 0.7624 GB, free: 8 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5269, allocations: 0 / 0.7624 GB, free: 8 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.527, allocations: 19.97 kB / 0.7624 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.527, allocations: 0 / 0.7624 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.527, allocations: 0 / 0.7624 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.527, allocations: 7.875 kB / 0.7625 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.527, allocations: 0 / 0.7625 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.5273, allocations: 187.8 kB / 0.7626 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.5274, allocations: 81.14 kB / 0.7627 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.5274, allocations: 0 / 0.7627 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.166e-05/0.5275, allocations: 11.98 kB / 0.7627 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.5276, allocations: 15.98 kB / 0.7627 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.5276, allocations: 0 / 0.7627 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.837e-05/0.5276, allocations: 91.33 kB / 0.7628 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5277, allocations: 0 / 0.7628 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002287/0.5279, allocations: 16 kB / 0.7628 GB, free: 15.55 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,falFac.k) * 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 (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.0007193/0.5286, allocations: 0.7318 MB / 0.7636 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000242/0.5289, allocations: 55.95 kB / 0.7636 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5289, allocations: 0 / 0.7636 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.529, allocations: 35.91 kB / 0.7636 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.5292, allocations: 8 kB / 0.7636 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009643/0.5302, allocations: 459.4 kB / 0.7641 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.5305, allocations: 0.6809 MB / 0.7648 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.574e-05/0.5306, allocations: 4 kB / 0.7648 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.5306, allocations: 15.42 kB / 0.7648 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of SimCode: time 4.01e-07/0.5306, allocations: 0 / 0.7648 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01256/0.5432, allocations: 1.358 MB / 0.7661 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002829/0.5435, allocations: 161.3 kB / 0.7663 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.089, allocations: 3.938 kB / 0.7663 GB, free: 11.98 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)