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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004638/0.004638, allocations: 97.56 kB / 15.73 MB, free: 6.039 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.00124/0.00124, allocations: 201.6 kB / 16.68 MB, free: 5.961 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7562/0.7562, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 72.48 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1416, allocations: 80.21 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002484/0.1441, allocations: 1.526 MB / 0.6607 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003486/0.1445, allocations: 136.4 kB / 0.6608 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.1446, allocations: 0 / 0.6608 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.429e-05/0.1446, allocations: 3.938 kB / 0.6608 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.032e-05/0.1446, allocations: 7.875 kB / 0.6608 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.1449, allocations: 39.89 kB / 0.6609 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.871e-05/0.145, allocations: 27.92 kB / 0.6609 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.1451, allocations: 23.98 kB / 0.6609 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.954e-05/0.1451, allocations: 15.92 kB / 0.6609 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.406e-05/0.1451, allocations: 19.91 kB / 0.661 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1452, allocations: 4 kB / 0.661 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.136e-05/0.1452, allocations: 19.98 kB / 0.661 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.1453, allocations: 4 kB / 0.661 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.1453, allocations: 19.86 kB / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.1454, allocations: 48.09 kB / 0.6611 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1454, allocations: 0 / 0.6611 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1454, allocations: 4 kB / 0.6611 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.1455, allocations: 0 / 0.6611 GB, free: 12.09 MB / 0.4981 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.0004589/0.1459, allocations: 351.4 kB / 0.6614 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.146, allocations: 8.031 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.367e-05/0.146, allocations: 34.75 kB / 0.6614 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.146, allocations: 8.891 kB / 0.6614 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.1462, allocations: 168.3 kB / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.1462, allocations: 4.375 kB / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.1462, allocations: 4.375 kB / 0.6616 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.1464, allocations: 70.2 kB / 0.6617 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1464, allocations: 3.938 kB / 0.6617 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.1464, allocations: 0 / 0.6617 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1464, allocations: 0 / 0.6617 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.1466, allocations: 43.95 kB / 0.6617 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.147, allocations: 292.7 kB / 0.662 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.1473, allocations: 54.55 kB / 0.6621 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.894e-05/0.1474, allocations: 28.89 kB / 0.6621 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002934/0.1477, allocations: 393.5 kB / 0.6625 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.1478, allocations: 42.5 kB / 0.6625 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1478, allocations: 4 kB / 0.6625 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000379/0.1482, allocations: 93.56 kB / 0.6626 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.1482, allocations: 51.41 kB / 0.6626 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.884e-05/0.1483, allocations: 109.8 kB / 0.6627 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1483, allocations: 29.7 kB / 0.6628 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.1484, allocations: 84.09 kB / 0.6629 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.1484, allocations: 7.953 kB / 0.6629 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.1484, allocations: 21.7 kB / 0.6629 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1485, allocations: 322.8 kB / 0.6632 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.743e-05/0.1486, allocations: 11.98 kB / 0.6632 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.167e-05/0.1487, allocations: 23.97 kB / 0.6632 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.1489, allocations: 48.75 kB / 0.6633 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1489, allocations: 12 kB / 0.6633 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002099/0.1491, allocations: 73.59 kB / 0.6634 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1492, allocations: 8 kB / 0.6634 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.1492, allocations: 0 / 0.6634 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1492, allocations: 336 / 0.6634 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.1493, allocations: 11.98 kB / 0.6634 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1493, allocations: 0 / 0.6634 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.632e-05/0.1493, allocations: 7.984 kB / 0.6634 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.1493, allocations: 4 kB / 0.6634 GB, free: 9.375 MB / 0.4981 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,rea2Int.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.964e-05/0.1494, allocations: 126.4 kB / 0.6635 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.1495, allocations: 3.953 kB / 0.6635 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.1497, allocations: 85.48 kB / 0.6636 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1497, allocations: 0 / 0.6636 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1497, allocations: 0 / 0.6636 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1498, allocations: 0 / 0.6636 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.1499, allocations: 173.6 kB / 0.6638 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1499, allocations: 0 / 0.6638 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.328e-05/0.15, allocations: 11.98 kB / 0.6638 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.15, allocations: 0 / 0.6638 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.15, allocations: 3.984 kB / 0.6638 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1501, allocations: 4 kB / 0.6638 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1501, allocations: 3.938 kB / 0.6638 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.1503, allocations: 175.4 kB / 0.6639 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.1504, allocations: 81.06 kB / 0.664 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.1504, allocations: 4 kB / 0.664 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.1505, allocations: 7.984 kB / 0.664 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.1505, allocations: 7.984 kB / 0.664 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.1505, allocations: 0 / 0.664 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.304e-05/0.1506, allocations: 87.28 kB / 0.6641 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1506, allocations: 0 / 0.6641 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002119/0.1508, allocations: 12 kB / 0.6641 GB, free: 8.492 MB / 0.4981 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 (rea2Int.y,falFac.y) * 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 (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.0005626/0.1514, allocations: 0.7085 MB / 0.6648 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.1516, allocations: 51.89 kB / 0.6649 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1516, allocations: 4 kB / 0.6649 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.367e-05/0.1517, allocations: 19.98 kB / 0.6649 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.152, allocations: 4 kB / 0.6649 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.1534, allocations: 1.288 MB / 0.6662 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.1537, allocations: 0.681 MB / 0.6668 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.596e-05/0.1538, allocations: 12.12 kB / 0.6668 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.1538, allocations: 23.36 kB / 0.6669 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1538, allocations: 0 / 0.6669 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1681/0.3219, allocations: 1.686 MB / 0.6685 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/8.701, allocations: 8.859 kB / 0.6685 GB, free: 3.984 MB / 0.4981 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/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)