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.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.0007686/0.0007686, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008614/0.0008614, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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.9084/0.9084, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7281/0.7281, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.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 1.843e-06/1.843e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.274e-05, allocations: 3.625 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002007/0.00203, allocations: 0.599 MB / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002836/0.002314, allocations: 51.8 kB / 0.6187 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.069e-05/0.002334, allocations: 0 / 0.6187 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.002368, allocations: 3.938 kB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.204e-06/0.002376, allocations: 0 / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.002749, allocations: 23.91 kB / 0.6188 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.403e-05/0.002843, allocations: 27.97 kB / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.002894, allocations: 3.984 kB / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.079e-05/0.002935, allocations: 12 kB / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.033e-05/0.002965, allocations: 11.97 kB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.002984, allocations: 4 kB / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.003087, allocations: 19.98 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.003121, allocations: 19.91 kB / 0.6189 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.003151, allocations: 8 kB / 0.6189 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.003274, allocations: 35.88 kB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.003278, allocations: 3.938 kB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.228e-06/0.003282, allocations: 3.984 kB / 0.6189 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.003288, allocations: 0 / 0.6189 GB, free: 12.88 MB / 0.5886 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.0003301/0.003618, allocations: 262.3 kB / 0.6192 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.003663, allocations: 9.469 kB / 0.6192 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.068e-05/0.003703, allocations: 34.75 kB / 0.6192 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.003736, allocations: 12.83 kB / 0.6192 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.156e-05/0.003818, allocations: 113.8 kB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.003831, allocations: 384 / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.003843, allocations: 4.375 kB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.00399, allocations: 58.23 kB / 0.6194 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.004001, allocations: 192 / 0.6194 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.004015, allocations: 8.375 kB / 0.6194 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.004023, allocations: 8.109 kB / 0.6194 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.004164, allocations: 99.8 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.00435, allocations: 136.8 kB / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.004466, allocations: 66.48 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.769e-05/0.004514, allocations: 36.84 kB / 0.6197 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002171/0.004731, allocations: 12.31 kB / 0.6197 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.004768, allocations: 38.56 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.004769, allocations: 3.938 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0002832/0.005052, allocations: 117.5 kB / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.005096, allocations: 55.34 kB / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.801e-05/0.005144, allocations: 97.86 kB / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.005159, allocations: 25.7 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.00519, allocations: 80.14 kB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.005229, allocations: 23.8 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.005279, allocations: 37.7 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.005386, allocations: 314.8 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.156e-05/0.005428, allocations: 19.98 kB / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.538e-05/0.005463, allocations: 25.23 kB / 0.6205 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.005572, allocations: 63.95 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.005575, allocations: 0 / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001534/0.005728, allocations: 89.66 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.005747, allocations: 4 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.005753, allocations: 3.938 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.00577, allocations: 4 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.005888, allocations: 23.92 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.005896, allocations: 8 kB / 0.6207 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.005919, allocations: 7.891 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.005928, allocations: 4 kB / 0.6207 GB, free: 10.82 MB / 0.5886 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.0001657/0.006094, allocations: 126.8 kB / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.00611, allocations: 0 / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.006384, allocations: 125.6 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.00639, allocations: 3.938 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.006396, allocations: 0 / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.0064, allocations: 4 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.006538, allocations: 140.7 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.00654, allocations: 0 / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.217e-05/0.006623, allocations: 23.92 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.006629, allocations: 4 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.006639, allocations: 0 / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.006643, allocations: 7.875 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006644, allocations: 0 / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.006811, allocations: 121 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.006822, allocations: 7.875 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.006843, allocations: 7.938 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.163e-05/0.006864, allocations: 12 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.006908, allocations: 7.984 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.006917, allocations: 7.984 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.006948, allocations: 75.28 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006948, allocations: 0 / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002708/0.007219, allocations: 12 kB / 0.6214 GB, free: 10.06 MB / 0.5886 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.0006513/0.00787, allocations: 0.6694 MB / 0.622 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001792/0.00805, allocations: 63.84 kB / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.008051, allocations: 4 kB / 0.6221 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.418e-05/0.008106, allocations: 35.91 kB / 0.6221 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.008296, allocations: 10.41 kB / 0.6222 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/0.008835, allocations: 178.5 kB / 0.6223 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.537e-05/0.008911, allocations: 63.34 kB / 0.6224 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.262e-05/0.008993, allocations: 35.95 kB / 0.6224 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.009043, allocations: 20.5 kB / 0.6224 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of SimCode: time 1.092e-06/0.009044, allocations: 4 kB / 0.6224 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.03065, allocations: 2.205 MB / 0.6246 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.054/7.084, allocations: 3.562 kB / 0.6246 GB, free: 6.836 MB / 0.5886 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 --stepSize=0.00556 --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: 9.809135657735169] Failed to read output from testmodel.py, exit status != 0: 7.166589797474444 7.174295062 7.169310381 Calling exit ...