Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007688/0.0007688, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.0009629/0.0009629, allocations: 208.1 kB / 22.25 MB, free: 3.574 MB / 13.93 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 0.9856/0.9856, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7884/0.7884, allocations: 203.8 MB / 0.5042 GB, free: 10.4 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_FallingFactorial",fmuType="me",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.001001/0.001001, allocations: 63.03 kB / 0.7182 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5425/0.5435, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002008/0.5455, allocations: 1.566 MB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000324/0.5458, allocations: 134.3 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.027e-05/0.5458, allocations: 0 / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.5459, allocations: 5.109 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.261e-05/0.5459, allocations: 7.922 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.5462, allocations: 36.81 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.689e-05/0.5463, allocations: 37.08 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.5464, allocations: 16.5 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.031e-05/0.5465, allocations: 11.08 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.636e-05/0.5465, allocations: 24.25 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.5465, allocations: 1.312 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-05/0.5466, allocations: 25.69 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.5466, allocations: 9.906 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.5466, allocations: 13.17 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.5468, allocations: 42.59 kB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5468, allocations: 0 / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5468, allocations: 0 / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.5468, allocations: 0 / 0.8197 GB, free: 15.77 MB / 0.6198 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.0004049/0.5472, allocations: 282.1 kB / 0.8199 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.5472, allocations: 9.406 kB / 0.8199 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.426e-05/0.5473, allocations: 45.86 kB / 0.82 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.425e-05/0.5473, allocations: 3.969 kB / 0.82 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.161e-05/0.5474, allocations: 109.5 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.5474, allocations: 384 / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-06/0.5474, allocations: 3.781 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.5476, allocations: 61.55 kB / 0.8202 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.5476, allocations: 4.5 kB / 0.8202 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.5476, allocations: 5.688 kB / 0.8202 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.5476, allocations: 0 / 0.8202 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.5477, allocations: 44.55 kB / 0.8202 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.548, allocations: 250.4 kB / 0.8205 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.5483, allocations: 62.08 kB / 0.8205 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.157e-05/0.5484, allocations: 23.88 kB / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.5485, allocations: 14.34 kB / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.5485, allocations: 36.16 kB / 0.8206 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.5485, allocations: 0 / 0.8206 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000277/0.5488, allocations: 103 kB / 0.8207 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.5488, allocations: 51.41 kB / 0.8207 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.48e-05/0.5489, allocations: 115.4 kB / 0.8208 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.5489, allocations: 25.7 kB / 0.8209 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.5489, allocations: 83.41 kB / 0.8209 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.5489, allocations: 12.39 kB / 0.821 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.549, allocations: 14.19 kB / 0.821 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.652e-05/0.5491, allocations: 320.6 kB / 0.8213 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.629e-05/0.5491, allocations: 24.12 kB / 0.8213 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.122e-05/0.5492, allocations: 17.34 kB / 0.8213 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.5493, allocations: 49.66 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5493, allocations: 0 / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001415/0.5494, allocations: 81.66 kB / 0.8214 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.5494, allocations: 6.312 kB / 0.8214 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.5494, allocations: 0.6562 kB / 0.8214 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.5495, allocations: 4 kB / 0.8215 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.392e-05/0.5495, allocations: 11.61 kB / 0.8215 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.5495, allocations: 3.938 kB / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.967e-05/0.5495, allocations: 7.719 kB / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.5496, allocations: 1.281 kB / 0.8215 GB, free: 14.15 MB / 0.6198 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 6.461e-05/0.5496, allocations: 117 kB / 0.8216 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.5496, allocations: 2.938 kB / 0.8216 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.5498, allocations: 87.31 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-06/0.5498, allocations: 1.031 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5498, allocations: 1.156 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5498, allocations: 0 / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.5499, allocations: 147.2 kB / 0.8218 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5499, allocations: 0 / 0.8218 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.55, allocations: 10.14 kB / 0.8218 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.55, allocations: 1.562 kB / 0.8218 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.55, allocations: 0.5625 kB / 0.8218 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.55, allocations: 0 / 0.8218 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.55, allocations: 5.641 kB / 0.8218 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.5501, allocations: 173.6 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.5501, allocations: 11.92 kB / 0.822 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-06/0.5502, allocations: 0 / 0.822 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.275e-05/0.5502, allocations: 11.09 kB / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.5502, allocations: 10.34 kB / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.5502, allocations: 2.297 kB / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.286e-05/0.5503, allocations: 88.36 kB / 0.8221 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5503, allocations: 0 / 0.8221 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001505/0.5504, allocations: 12.53 kB / 0.8221 GB, free: 13.56 MB / 0.6198 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.0003679/0.5508, allocations: 0.7106 MB / 0.8228 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001477/0.5509, allocations: 49.62 kB / 0.8229 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.5509, allocations: 2.125 kB / 0.8229 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.372e-05/0.551, allocations: 23.98 kB / 0.8229 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.5512, allocations: 10.89 kB / 0.8229 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.5523, allocations: 1.286 MB / 0.8242 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.604e-05/0.5523, allocations: 62.45 kB / 0.8242 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.473e-05/0.5524, allocations: 16.14 kB / 0.8242 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.5524, allocations: 15.55 kB / 0.8243 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of SimCode: time 3.7e-07/0.5524, allocations: 0 / 0.8243 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01527/0.5677, allocations: 2.236 MB / 0.8264 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.297/6.865, allocations: 9.281 kB / 0.8264 GB, free: 10.71 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 IDEAS_dev_IDEAS_Utilities_Math_Examples_FallingFactorial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.000662548001856] Failed to read output from testmodel.py, exit status != 0: 6.945160864852369 6.957062261 6.408233448 Calling exit ...