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.001113/0.001113, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001156/0.001156, allocations: 192.1 kB / 16.13 MB, free: 6.668 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.27/1.27, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7095/0.7095, allocations: 132.2 MB / 422.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 67.75 kB / 0.5012 GB, free: 9.121 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1394, allocations: 80.2 MB / 0.5795 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002354/0.1417, allocations: 1.592 MB / 0.5811 GB, free: 7.539 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003343/0.1421, allocations: 136.4 kB / 0.5812 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.288e-05/0.1421, allocations: 0 / 0.5812 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/0.1422, allocations: 0 / 0.5812 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.949e-05/0.1422, allocations: 3.938 kB / 0.5812 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.1424, allocations: 27.97 kB / 0.5812 GB, free: 7.371 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.9e-05/0.1425, allocations: 39.86 kB / 0.5813 GB, free: 7.332 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.707e-05/0.1426, allocations: 19.92 kB / 0.5813 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.483e-05/0.1426, allocations: 8 kB / 0.5813 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.821e-05/0.1426, allocations: 19.92 kB / 0.5813 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.1427, allocations: 0 / 0.5813 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.1427, allocations: 27.91 kB / 0.5813 GB, free: 7.258 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.1428, allocations: 3.984 kB / 0.5813 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.1428, allocations: 11.94 kB / 0.5813 GB, free: 7.242 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.486e-05/0.1429, allocations: 47.86 kB / 0.5814 GB, free: 7.195 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1429, allocations: 4 kB / 0.5814 GB, free: 7.191 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1429, allocations: 0 / 0.5814 GB, free: 7.191 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.1429, allocations: 0 / 0.5814 GB, free: 7.191 MB / 494.1 MB 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.0003933/0.1433, allocations: 353.2 kB / 0.5817 GB, free: 6.797 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1433, allocations: 12.03 kB / 0.5817 GB, free: 6.785 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.1434, allocations: 34.75 kB / 0.5818 GB, free: 6.742 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.1434, allocations: 4.844 kB / 0.5818 GB, free: 6.738 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.626e-05/0.1435, allocations: 168.4 kB / 0.5819 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1435, allocations: 4.312 kB / 0.5819 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.1435, allocations: 8.375 kB / 0.5819 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.1437, allocations: 62.22 kB / 0.582 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1437, allocations: 3.938 kB / 0.582 GB, free: 6.453 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.1438, allocations: 0 / 0.582 GB, free: 6.453 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1438, allocations: 4 kB / 0.582 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.144, allocations: 43.95 kB / 0.5821 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.1443, allocations: 284.6 kB / 0.5823 GB, free: 6.078 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.1446, allocations: 58.53 kB / 0.5824 GB, free: 6.012 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.85e-05/0.1447, allocations: 24.91 kB / 0.5824 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/0.1449, allocations: 401.5 kB / 0.5828 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.145, allocations: 38.56 kB / 0.5828 GB, free: 5.453 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.145, allocations: 0 / 0.5828 GB, free: 5.453 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003387/0.1453, allocations: 89.58 kB / 0.5829 GB, free: 5.359 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.1453, allocations: 55.41 kB / 0.583 GB, free: 5.293 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.702e-05/0.1454, allocations: 113.9 kB / 0.5831 GB, free: 5.172 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.1454, allocations: 25.7 kB / 0.5831 GB, free: 5.141 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.1455, allocations: 96.03 kB / 0.5832 GB, free: 5.043 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.1455, allocations: 7.906 kB / 0.5832 GB, free: 5.035 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.1455, allocations: 13.72 kB / 0.5832 GB, free: 5.016 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.1456, allocations: 322.8 kB / 0.5835 GB, free: 4.691 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-05/0.1457, allocations: 15.98 kB / 0.5835 GB, free: 4.676 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.528e-05/0.1458, allocations: 19.98 kB / 0.5836 GB, free: 4.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.1459, allocations: 52.81 kB / 0.5836 GB, free: 4.602 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.146, allocations: 0 / 0.5836 GB, free: 4.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000194/0.1462, allocations: 77.59 kB / 0.5837 GB, free: 4.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1462, allocations: 11.92 kB / 0.5837 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1462, allocations: 3.938 kB / 0.5837 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.1462, allocations: 0 / 0.5837 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.1463, allocations: 8.328 kB / 0.5837 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1463, allocations: 3.984 kB / 0.5837 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.464e-05/0.1464, allocations: 8 kB / 0.5837 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.1464, allocations: 4 kB / 0.5837 GB, free: 4.48 MB / 494.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: 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 6.425e-05/0.1464, allocations: 114.4 kB / 0.5838 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.1465, allocations: 15.88 kB / 0.5838 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.1467, allocations: 81.48 kB / 0.5839 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1467, allocations: 4 kB / 0.5839 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.1467, allocations: 4 kB / 0.5839 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.1467, allocations: 0 / 0.5839 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.1469, allocations: 169.6 kB / 0.5841 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1469, allocations: 0 / 0.5841 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.323e-05/0.147, allocations: 11.98 kB / 0.5841 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.147, allocations: 0 / 0.5841 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.147, allocations: 0 / 0.5841 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.147, allocations: 0 / 0.5841 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.147, allocations: 0 / 0.5841 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.1472, allocations: 175.4 kB / 0.5843 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.1473, allocations: 85.02 kB / 0.5843 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.1473, allocations: 0 / 0.5843 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.36e-05/0.1474, allocations: 15.92 kB / 0.5844 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.1474, allocations: 0 / 0.5844 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.1474, allocations: 4 kB / 0.5844 GB, free: 3.715 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.639e-05/0.1475, allocations: 87.27 kB / 0.5844 GB, free: 3.629 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1475, allocations: 4 kB / 0.5845 GB, free: 3.625 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.1477, allocations: 11.94 kB / 0.5845 GB, free: 3.613 MB / 494.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: 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.0005007/0.1482, allocations: 0.7085 MB / 0.5852 GB, free: 2.875 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.1484, allocations: 47.89 kB / 0.5852 GB, free: 2.828 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1484, allocations: 0 / 0.5852 GB, free: 2.828 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.091e-05/0.1485, allocations: 27.97 kB / 0.5852 GB, free: 2.801 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.1488, allocations: 4 kB / 0.5852 GB, free: 2.797 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.15, allocations: 1.297 MB / 0.5865 GB, free: 1.422 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.1502, allocations: 0.677 MB / 0.5872 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.331e-05/0.1503, allocations: 12.48 kB / 0.5872 GB, free: 0.707 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.1503, allocations: 15.44 kB / 0.5872 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of SimCode: time 1.493e-06/0.1503, allocations: 0 / 0.5872 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.988/2.138, allocations: 1.472 MB / 0.5886 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/2.138, allocations: 189.8 kB / 0.5888 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.54/3.679, allocations: 64 / 0.5888 GB, free: 15.07 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)