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/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7631/0.7631, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002234, allocations: 59.91 kB / 0.5019 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4246, allocations: 80.2 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001673/0.4263, allocations: 0.5854 MB / 0.5808 GB, free: 4.223 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002397/0.4265, allocations: 59.09 kB / 0.5808 GB, free: 4.184 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.4266, allocations: 1.375 kB / 0.5808 GB, free: 4.184 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.4266, allocations: 0 / 0.5808 GB, free: 4.184 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.568e-06/0.4266, allocations: 0 / 0.5808 GB, free: 4.184 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.4269, allocations: 18.61 kB / 0.5808 GB, free: 4.176 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.529e-05/0.427, allocations: 29.45 kB / 0.5809 GB, free: 4.168 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.427, allocations: 6.469 kB / 0.5809 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.903e-05/0.427, allocations: 10.7 kB / 0.5809 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.765e-05/0.4271, allocations: 8.141 kB / 0.5809 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.4271, allocations: 1.062 kB / 0.5809 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.974e-05/0.4272, allocations: 23.88 kB / 0.5809 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.628e-05/0.4272, allocations: 15.48 kB / 0.5809 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.4272, allocations: 13.53 kB / 0.581 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.155e-05/0.4273, allocations: 32.36 kB / 0.581 GB, free: 4.121 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4273, allocations: 0 / 0.581 GB, free: 4.121 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4273, allocations: 4 kB / 0.581 GB, free: 4.117 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.4273, allocations: 0.6875 kB / 0.581 GB, free: 4.117 MB / 430.1 MB 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.0002333/0.4276, allocations: 334.8 kB / 0.5813 GB, free: 3.758 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.4276, allocations: 9.062 kB / 0.5813 GB, free: 3.758 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.797e-05/0.4277, allocations: 37.92 kB / 0.5813 GB, free: 3.715 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/0.4277, allocations: 2.875 kB / 0.5814 GB, free: 3.715 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.655e-05/0.4277, allocations: 169.6 kB / 0.5815 GB, free: 3.516 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.4278, allocations: 2.094 kB / 0.5815 GB, free: 3.516 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.4278, allocations: 11.03 kB / 0.5815 GB, free: 3.508 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.4279, allocations: 74.19 kB / 0.5816 GB, free: 3.457 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.4279, allocations: 5.312 kB / 0.5816 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.4279, allocations: 0 / 0.5816 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.428, allocations: 5.312 kB / 0.5816 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.4281, allocations: 100.6 kB / 0.5817 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.4282, allocations: 177 kB / 0.5819 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.4283, allocations: 75.52 kB / 0.5819 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.425e-05/0.4284, allocations: 31.77 kB / 0.582 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/0.4286, allocations: 406.8 kB / 0.5824 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.4286, allocations: 33.45 kB / 0.5824 GB, free: 2.664 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.4287, allocations: 0 / 0.5824 GB, free: 2.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002253/0.4289, allocations: 117.9 kB / 0.5825 GB, free: 2.605 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.908e-05/0.4289, allocations: 53.23 kB / 0.5826 GB, free: 2.543 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.222e-05/0.4289, allocations: 97.36 kB / 0.5827 GB, free: 2.441 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.4289, allocations: 29.64 kB / 0.5827 GB, free: 2.406 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.808e-06/0.429, allocations: 80.14 kB / 0.5828 GB, free: 2.324 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.429, allocations: 26.02 kB / 0.5828 GB, free: 2.305 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.429, allocations: 31.11 kB / 0.5828 GB, free: 2.281 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.083e-05/0.4291, allocations: 314.6 kB / 0.5831 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.909e-05/0.4291, allocations: 19.62 kB / 0.5831 GB, free: 1.965 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.581e-05/0.4292, allocations: 23.95 kB / 0.5832 GB, free: 1.961 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.193e-05/0.4293, allocations: 63.69 kB / 0.5832 GB, free: 1.934 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4293, allocations: 0 / 0.5832 GB, free: 1.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001326/0.4294, allocations: 86.02 kB / 0.5833 GB, free: 1.891 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.4294, allocations: 15.41 kB / 0.5833 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.4294, allocations: 0 / 0.5833 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.4295, allocations: 1.922 kB / 0.5833 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.4296, allocations: 21.92 kB / 0.5833 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4296, allocations: 0.9062 kB / 0.5833 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.016e-05/0.4296, allocations: 13.44 kB / 0.5833 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.4296, allocations: 4.25 kB / 0.5833 GB, free: 1.867 MB / 430.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: 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 9.062e-05/0.4297, allocations: 119.3 kB / 0.5835 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.4297, allocations: 10.16 kB / 0.5835 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.4299, allocations: 127.6 kB / 0.5836 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.43, allocations: 1.719 kB / 0.5836 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.43, allocations: 0 / 0.5836 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.43, allocations: 2.266 kB / 0.5836 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.213e-05/0.4301, allocations: 176.7 kB / 0.5838 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4301, allocations: 0 / 0.5838 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.025e-05/0.4301, allocations: 18.59 kB / 0.5838 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4302, allocations: 9 kB / 0.5838 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.4302, allocations: 6.625 kB / 0.5838 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4302, allocations: 3.938 kB / 0.5838 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4302, allocations: 0.9375 kB / 0.5838 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.4303, allocations: 125 kB / 0.5839 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.4303, allocations: 83.55 kB / 0.584 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.4304, allocations: 2.609 kB / 0.584 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.576e-05/0.4304, allocations: 4 kB / 0.584 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.4304, allocations: 11.69 kB / 0.584 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.4304, allocations: 3.016 kB / 0.584 GB, free: 1.258 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.067e-05/0.4305, allocations: 75.97 kB / 0.5841 GB, free: 1.184 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4305, allocations: 0 / 0.5841 GB, free: 1.184 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000205/0.4307, allocations: 19.7 kB / 0.5841 GB, free: 1.176 MB / 430.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003703/0.431, allocations: 0.6814 MB / 0.5848 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00015/0.4312, allocations: 67.36 kB / 0.5848 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4312, allocations: 0.6875 kB / 0.5848 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.354e-05/0.4313, allocations: 36.41 kB / 0.5849 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.4314, allocations: 6 kB / 0.5849 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.4318, allocations: 184.4 kB / 0.5851 GB, free: 368 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.4319, allocations: 0.6822 MB / 0.5857 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.536e-05/0.432, allocations: 34.03 kB / 0.5858 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.4321, allocations: 20.02 kB / 0.5858 GB, free: 15.65 MB / 446.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4321, allocations: 0 / 0.5858 GB, free: 15.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.4494, allocations: 1.517 MB / 0.5873 GB, free: 15.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.088/7.537, allocations: 5.812 kB / 0.5873 GB, free: 15.28 MB / 446.1 MB (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/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)