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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 209.6 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8456/0.8456, allocations: 133.9 MB / 443.5 MB, free: 13.89 MB / 350.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/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 64.83 kB / 0.6141 GB, free: 38.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1533, allocations: 85.86 MB / 0.698 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.003806/0.1571, allocations: 1.541 MB / 0.6995 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004612/0.1576, allocations: 146.7 kB / 0.6996 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.83e-05/0.1576, allocations: 1.375 kB / 0.6996 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.328e-05/0.1577, allocations: 3.938 kB / 0.6996 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-05/0.1577, allocations: 7.922 kB / 0.6996 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.1581, allocations: 33.53 kB / 0.6996 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.1582, allocations: 33.67 kB / 0.6997 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1583, allocations: 16.05 kB / 0.6997 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.215e-05/0.1583, allocations: 14.86 kB / 0.6997 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.1584, allocations: 21.42 kB / 0.6997 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1584, allocations: 2.75 kB / 0.6997 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.388e-05/0.1585, allocations: 18.98 kB / 0.6997 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.1585, allocations: 17.3 kB / 0.6998 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.1585, allocations: 14.67 kB / 0.6998 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1587, allocations: 42.36 kB / 0.6998 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1587, allocations: 0 / 0.6998 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1587, allocations: 0 / 0.6998 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.1587, allocations: 0 / 0.6998 GB, free: 12.22 MB / 0.5137 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.0006244/0.1593, allocations: 357.1 kB / 0.7002 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.1594, allocations: 11.3 kB / 0.7002 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.706e-05/0.1594, allocations: 5.562 kB / 0.7002 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.1595, allocations: 40.11 kB / 0.7002 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.1595, allocations: 3.688 kB / 0.7002 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.1597, allocations: 173.7 kB / 0.7004 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.1597, allocations: 1.75 kB / 0.7004 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.1597, allocations: 7.062 kB / 0.7004 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.1599, allocations: 70.45 kB / 0.7005 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.16, allocations: 1.375 kB / 0.7005 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.16, allocations: 0 / 0.7005 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.16, allocations: 5.375 kB / 0.7005 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002209/0.1602, allocations: 43.33 kB / 0.7005 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.1606, allocations: 270.7 kB / 0.7008 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.161, allocations: 61.84 kB / 0.7008 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.1611, allocations: 27.72 kB / 0.7008 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003863/0.1615, allocations: 401.5 kB / 0.7012 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.1615, allocations: 30.56 kB / 0.7013 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1615, allocations: 0 / 0.7013 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004539/0.162, allocations: 106.7 kB / 0.7014 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.1621, allocations: 56.56 kB / 0.7014 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.1622, allocations: 111.2 kB / 0.7015 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1622, allocations: 27.2 kB / 0.7015 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.884e-05/0.1623, allocations: 88.95 kB / 0.7016 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.1623, allocations: 4.984 kB / 0.7016 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.1624, allocations: 17.69 kB / 0.7017 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1625, allocations: 319.6 kB / 0.702 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.1626, allocations: 23.11 kB / 0.702 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.641e-05/0.1627, allocations: 22.38 kB / 0.702 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.1629, allocations: 43.45 kB / 0.702 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1629, allocations: 3.938 kB / 0.702 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002791/0.1632, allocations: 81.31 kB / 0.7021 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.1632, allocations: 4.781 kB / 0.7021 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1632, allocations: 5.281 kB / 0.7021 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.1633, allocations: 0 / 0.7021 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.809e-05/0.1634, allocations: 15.95 kB / 0.7022 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1634, allocations: 0 / 0.7022 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.265e-05/0.1634, allocations: 7.938 kB / 0.7022 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.1635, allocations: 1.062 kB / 0.7022 GB, free: 9.773 MB / 0.5137 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 0.000142/0.1636, allocations: 116.9 kB / 0.7023 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.1636, allocations: 1.375 kB / 0.7023 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.164, allocations: 93.33 kB / 0.7024 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.164, allocations: 0 / 0.7024 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.164, allocations: 0 / 0.7024 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.164, allocations: 0 / 0.7024 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.1643, allocations: 170.2 kB / 0.7025 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1643, allocations: 4 kB / 0.7025 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-05/0.1643, allocations: 11.23 kB / 0.7025 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.1643, allocations: 1.844 kB / 0.7025 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1644, allocations: 4 kB / 0.7025 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1644, allocations: 0 / 0.7025 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1644, allocations: 0 / 0.7025 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.1647, allocations: 176.2 kB / 0.7027 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.1648, allocations: 78.55 kB / 0.7028 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.1648, allocations: 0 / 0.7028 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.366e-05/0.1649, allocations: 12.89 kB / 0.7028 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.845e-05/0.165, allocations: 10.83 kB / 0.7028 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.165, allocations: 5.141 kB / 0.7028 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.573e-05/0.165, allocations: 88.81 kB / 0.7029 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.165, allocations: 1.406 kB / 0.7029 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002495/0.1653, allocations: 7.531 kB / 0.7029 GB, free: 8.992 MB / 0.5137 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.000833/0.1661, allocations: 0.7176 MB / 0.7036 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002969/0.1664, allocations: 44.27 kB / 0.7036 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1664, allocations: 5.344 kB / 0.7037 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.1665, allocations: 26.16 kB / 0.7037 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.1669, allocations: 13.44 kB / 0.7037 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.1686, allocations: 1.28 MB / 0.7049 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.169, allocations: 0.682 MB / 0.7056 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.443e-05/0.1691, allocations: 8.125 kB / 0.7056 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.1691, allocations: 18.19 kB / 0.7056 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of SimCode: time 1.152e-06/0.1691, allocations: 0 / 0.7056 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.1882, allocations: 1.732 MB / 0.7073 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/8.377, allocations: 11.86 kB / 0.7073 GB, free: 4.84 MB / 0.5137 GB " [Timeout remaining time 651] (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 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.164042786986101] Failed to read output from testmodel.py, exit status != 0: 8.805801268026698 8.515668024 8.353868214 Calling exit ...