Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9744/0.9744, allocations: 175.7 MB / 480.1 MB, free: 2.812 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 69.75 kB / 0.6678 GB, free: 10.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.155, allocations: 94.53 MB / 0.7601 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001494/0.1564, allocations: 0.5951 MB / 0.7607 GB, free: 176 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002318/0.1567, allocations: 56.17 kB / 0.7607 GB, free: 120 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.583e-05/0.1567, allocations: 0 / 0.7607 GB, free: 120 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.1567, allocations: 0 / 0.7607 GB, free: 120 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.019e-06/0.1567, allocations: 0 / 0.7607 GB, free: 120 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.157, allocations: 27.92 kB / 0.7608 GB, free: 92 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.6e-05/0.157, allocations: 27.98 kB / 0.7608 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.1571, allocations: 7.984 kB / 0.7608 GB, free: 56 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.03e-05/0.1571, allocations: 11.98 kB / 0.7608 GB, free: 44 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.492e-05/0.1571, allocations: 8 kB / 0.7608 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.1571, allocations: 0 / 0.7608 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.741e-05/0.1572, allocations: 19.97 kB / 0.7608 GB, free: 16 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.231e-05/0.1573, allocations: 20 kB / 0.7609 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.1573, allocations: 11.88 kB / 0.7609 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.026e-05/0.1574, allocations: 36.03 kB / 0.7609 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1574, allocations: 0 / 0.7609 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1574, allocations: 4 kB / 0.7609 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.1574, allocations: 0 / 0.7609 GB, free: 15.95 MB / 0.5762 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.0003346/0.1577, allocations: 343.4 kB / 0.7612 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.1578, allocations: 12.03 kB / 0.7613 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.625e-05/0.1578, allocations: 34.75 kB / 0.7613 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.1578, allocations: 4.938 kB / 0.7613 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.158, allocations: 168.3 kB / 0.7615 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.158, allocations: 4.375 kB / 0.7615 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.158, allocations: 384 / 0.7615 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.1581, allocations: 70.17 kB / 0.7615 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1581, allocations: 3.938 kB / 0.7615 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1581, allocations: 4 kB / 0.7615 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1581, allocations: 3.938 kB / 0.7615 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.1583, allocations: 103.9 kB / 0.7616 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.1585, allocations: 173.6 kB / 0.7618 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.1586, allocations: 74.45 kB / 0.7619 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.362e-05/0.1586, allocations: 28.84 kB / 0.7619 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003277/0.1589, allocations: 405.5 kB / 0.7623 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.159, allocations: 38.56 kB / 0.7623 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.159, allocations: 0 / 0.7623 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0002301/0.1592, allocations: 121.8 kB / 0.7624 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.1592, allocations: 51.41 kB / 0.7625 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.908e-05/0.1593, allocations: 97.81 kB / 0.7626 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1593, allocations: 29.7 kB / 0.7626 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.913e-05/0.1593, allocations: 80.14 kB / 0.7627 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.1593, allocations: 19.91 kB / 0.7627 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.1594, allocations: 29.7 kB / 0.7627 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1595, allocations: 318.8 kB / 0.763 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.565e-05/0.1595, allocations: 19.98 kB / 0.7631 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.497e-05/0.1596, allocations: 19.98 kB / 0.7631 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.045e-05/0.1597, allocations: 56.84 kB / 0.7631 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1597, allocations: 0 / 0.7631 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001411/0.1598, allocations: 102.1 kB / 0.7632 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.1598, allocations: 11.94 kB / 0.7632 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.1598, allocations: 0 / 0.7632 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.1598, allocations: 0 / 0.7632 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.869e-05/0.1599, allocations: 23.94 kB / 0.7633 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1599, allocations: 3.984 kB / 0.7633 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.072e-05/0.16, allocations: 7.938 kB / 0.7633 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.16, allocations: 0 / 0.7633 GB, free: 13.2 MB / 0.5762 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.0001091/0.1601, allocations: 117.8 kB / 0.7634 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.1601, allocations: 19.88 kB / 0.7634 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.1603, allocations: 129.5 kB / 0.7635 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1603, allocations: 0 / 0.7635 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1603, allocations: 0 / 0.7635 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1603, allocations: 4 kB / 0.7635 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.1605, allocations: 177.5 kB / 0.7637 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1605, allocations: 0 / 0.7637 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.27e-05/0.1605, allocations: 16 kB / 0.7637 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1605, allocations: 3.938 kB / 0.7637 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1605, allocations: 7.984 kB / 0.7637 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1605, allocations: 4 kB / 0.7637 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1605, allocations: 7.938 kB / 0.7637 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.1607, allocations: 117 kB / 0.7638 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.1607, allocations: 88.98 kB / 0.7639 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.1607, allocations: 4 kB / 0.7639 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.653e-05/0.1608, allocations: 4 kB / 0.7639 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.1608, allocations: 7.984 kB / 0.7639 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.1608, allocations: 4 kB / 0.764 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.925e-05/0.1608, allocations: 81.52 kB / 0.764 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1608, allocations: 0 / 0.764 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001848/0.161, allocations: 16 kB / 0.764 GB, free: 12.3 MB / 0.5762 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 (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.0005035/0.1615, allocations: 0.6631 MB / 0.7647 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.1617, allocations: 63.95 kB / 0.7648 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1617, allocations: 3.938 kB / 0.7648 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.889e-05/0.1617, allocations: 27.98 kB / 0.7648 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.1618, allocations: 10.77 kB / 0.7648 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.1622, allocations: 174.6 kB / 0.765 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.1625, allocations: 0.6845 MB / 0.7656 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.277e-05/0.1626, allocations: 39.95 kB / 0.7657 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.1626, allocations: 15.44 kB / 0.7657 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.1626, allocations: 7.938 kB / 0.7657 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.1835, allocations: 1.547 MB / 0.7672 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.059/7.242, allocations: 8.547 kB / 0.7672 GB, free: 9.055 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.60944397401181]