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.0008147/0.0008147, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.00099/0.00099, allocations: 209.8 kB / 22.26 MB, free: 3.852 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.9406/0.9406, allocations: 230.6 MB / 256 MB, free: 3.43 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.798/0.798, allocations: 203.8 MB / 0.5042 GB, free: 0.6992 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.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: 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.0009176/0.0009176, allocations: 63.91 kB / 0.7183 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5434/0.5443, allocations: 102 MB / 0.8179 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001431/0.5457, allocations: 0.5919 MB / 0.8185 GB, free: 24.53 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002765/0.546, allocations: 60.31 kB / 0.8185 GB, free: 24.49 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.093e-05/0.546, allocations: 0 / 0.8185 GB, free: 24.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.5461, allocations: 0 / 0.8185 GB, free: 24.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.344e-06/0.5461, allocations: 1.312 kB / 0.8185 GB, free: 24.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.5464, allocations: 18.38 kB / 0.8186 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.837e-05/0.5465, allocations: 30.56 kB / 0.8186 GB, free: 24.47 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.5465, allocations: 6.109 kB / 0.8186 GB, free: 24.47 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 2.483e-05/0.5466, allocations: 12.19 kB / 0.8186 GB, free: 24.46 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.05e-05/0.5466, allocations: 15.88 kB / 0.8186 GB, free: 24.46 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.5466, allocations: 1.688 kB / 0.8186 GB, free: 24.46 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.816e-05/0.5467, allocations: 28.98 kB / 0.8186 GB, free: 24.45 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.995e-05/0.5467, allocations: 11.19 kB / 0.8187 GB, free: 24.44 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.5468, allocations: 13.8 kB / 0.8187 GB, free: 24.43 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.5469, allocations: 35.88 kB / 0.8187 GB, free: 24.42 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5469, allocations: 1.781 kB / 0.8187 GB, free: 24.42 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5469, allocations: 0 / 0.8187 GB, free: 24.42 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.5469, allocations: 0.75 kB / 0.8187 GB, free: 24.42 MB / 0.6355 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.0002548/0.5472, allocations: 265.8 kB / 0.819 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.5472, allocations: 10.41 kB / 0.819 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.5472, allocations: 35.73 kB / 0.819 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.5473, allocations: 7.406 kB / 0.819 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.18e-05/0.5473, allocations: 113.2 kB / 0.8191 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.5473, allocations: 2.75 kB / 0.8191 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.5473, allocations: 4.062 kB / 0.8191 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.5475, allocations: 67.88 kB / 0.8192 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.5475, allocations: 3.938 kB / 0.8192 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.5475, allocations: 4.5 kB / 0.8192 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5475, allocations: 1.438 kB / 0.8192 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.5476, allocations: 101.8 kB / 0.8193 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.5477, allocations: 144.4 kB / 0.8194 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.627e-05/0.5478, allocations: 69.5 kB / 0.8195 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.5479, allocations: 29.84 kB / 0.8195 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001754/0.548, allocations: 22.89 kB / 0.8195 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.5481, allocations: 33.88 kB / 0.8196 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/0.5481, allocations: 0 / 0.8196 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002247/0.5483, allocations: 118.4 kB / 0.8197 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.5483, allocations: 58.06 kB / 0.8197 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.874e-05/0.5483, allocations: 100.7 kB / 0.8198 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.702e-06/0.5483, allocations: 26.89 kB / 0.8199 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.274e-06/0.5483, allocations: 84.88 kB / 0.82 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.5484, allocations: 24.98 kB / 0.82 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.5484, allocations: 33.84 kB / 0.82 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.392e-05/0.5484, allocations: 317.9 kB / 0.8203 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-05/0.5485, allocations: 20.02 kB / 0.8203 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.967e-05/0.5485, allocations: 20.88 kB / 0.8203 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.665e-05/0.5486, allocations: 65.66 kB / 0.8204 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5486, allocations: 0 / 0.8204 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001023/0.5487, allocations: 90.67 kB / 0.8205 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.5487, allocations: 12.31 kB / 0.8205 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5487, allocations: 1.828 kB / 0.8205 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.5487, allocations: 3.156 kB / 0.8205 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.533e-05/0.5488, allocations: 17.86 kB / 0.8205 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.5488, allocations: 1.859 kB / 0.8205 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.179e-05/0.5488, allocations: 5.828 kB / 0.8205 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.5488, allocations: 2.906 kB / 0.8205 GB, free: 22.86 MB / 0.6355 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 7.993e-05/0.5489, allocations: 125.1 kB / 0.8207 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-06/0.5489, allocations: 9.094 kB / 0.8207 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.5491, allocations: 134.9 kB / 0.8208 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.5491, allocations: 0.625 kB / 0.8208 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.5491, allocations: 0 / 0.8208 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5491, allocations: 1.641 kB / 0.8208 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.395e-05/0.5492, allocations: 140.6 kB / 0.8209 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5492, allocations: 4 kB / 0.8209 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.5492, allocations: 19.31 kB / 0.821 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5492, allocations: 5 kB / 0.821 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.5492, allocations: 1.422 kB / 0.821 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.5492, allocations: 4.719 kB / 0.821 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5492, allocations: 9.031 kB / 0.821 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.5493, allocations: 125.3 kB / 0.8211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-06/0.5493, allocations: 9.969 kB / 0.8211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.5494, allocations: 10.3 kB / 0.8211 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-06/0.5494, allocations: 0.5938 kB / 0.8211 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.5494, allocations: 8.062 kB / 0.8211 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.5494, allocations: 7.266 kB / 0.8211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.004e-05/0.5494, allocations: 76.03 kB / 0.8212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5494, allocations: 0.875 kB / 0.8212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001375/0.5496, allocations: 10.28 kB / 0.8212 GB, free: 22.29 MB / 0.6355 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.0002746/0.5498, allocations: 0.6754 MB / 0.8219 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.5499, allocations: 59.92 kB / 0.8219 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.55, allocations: 0 / 0.8219 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.218e-05/0.55, allocations: 35.77 kB / 0.822 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.5501, allocations: 5.828 kB / 0.822 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.5504, allocations: 187.8 kB / 0.8221 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.764e-05/0.5505, allocations: 0.6898 MB / 0.8228 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.031e-05/0.5505, allocations: 41.86 kB / 0.8229 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.5506, allocations: 19.3 kB / 0.8229 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of SimCode: time 4.21e-07/0.5506, allocations: 0 / 0.8229 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.5658, allocations: 1.7 MB / 0.8245 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.406/6.971, allocations: 10.22 kB / 0.8246 GB, free: 20.33 MB / 0.6355 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.909678539959714] Failed to read output from testmodel.py, exit status != 0: 7.047742940951139 7.057231156 6.508580357 Calling exit ...