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.0009358/0.0009358, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001023/0.001023, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9125/0.9125, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7216/0.7216, allocations: 154.6 MB / 413.8 MB, free: 0.7891 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.549e-05, allocations: 4.953 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002316/0.002331, allocations: 1.565 MB / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003382/0.00267, allocations: 139.5 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.002707, allocations: 4 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.563e-05/0.002732, allocations: 0 / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.687e-05/0.002779, allocations: 11.86 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.003083, allocations: 23.92 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.163e-05/0.003155, allocations: 39.89 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.841e-05/0.003253, allocations: 11.94 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.397e-05/0.003297, allocations: 23.92 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.59e-05/0.003333, allocations: 11.98 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.003348, allocations: 8 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.842e-05/0.003427, allocations: 27.95 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.003438, allocations: 4 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.003458, allocations: 11.92 kB / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.003582, allocations: 43.94 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.003587, allocations: 3.984 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.473e-06/0.003588, allocations: 0 / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.003592, allocations: 0 / 0.62 GB, free: 11.69 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003844/0.003977, allocations: 278.2 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.004015, allocations: 12.03 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.00405, allocations: 38.75 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.241e-05/0.004072, allocations: 0.9375 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.817e-05/0.00415, allocations: 117.7 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.004169, allocations: 384 / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.00418, allocations: 8.375 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.004328, allocations: 62.22 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.004334, allocations: 192 / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.004343, allocations: 384 / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.004348, allocations: 8.125 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.004454, allocations: 47.95 kB / 0.6205 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.004782, allocations: 239.9 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.005005, allocations: 58.48 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.572e-05/0.00506, allocations: 28.89 kB / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.005173, allocations: 15.98 kB / 0.6209 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.005192, allocations: 34.56 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.005194, allocations: 0 / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002459/0.005439, allocations: 93.58 kB / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.005469, allocations: 55.39 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.903e-05/0.005538, allocations: 117.7 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.005549, allocations: 29.69 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.005587, allocations: 80.14 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.005603, allocations: 11.95 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.005641, allocations: 13.72 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.005724, allocations: 318.8 kB / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.434e-05/0.005778, allocations: 23.98 kB / 0.6216 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.085e-05/0.005819, allocations: 15.97 kB / 0.6216 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.027e-05/0.005909, allocations: 44.83 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.005911, allocations: 0 / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001315/0.006043, allocations: 93.41 kB / 0.6218 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.006058, allocations: 6.031 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.006064, allocations: 4 kB / 0.6218 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.006078, allocations: 0 / 0.6218 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/0.006138, allocations: 11.98 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.006144, allocations: 0 / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.913e-05/0.006173, allocations: 4.328 kB / 0.6218 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.006179, allocations: 4 kB / 0.6218 GB, free: 9.656 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: 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 7.726e-05/0.006256, allocations: 114.8 kB / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.006274, allocations: 15.88 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.006453, allocations: 93.58 kB / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.006456, allocations: 0 / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.00646, allocations: 0 / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.006464, allocations: 0 / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.006596, allocations: 136.7 kB / 0.6221 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.006598, allocations: 0 / 0.6221 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.00664, allocations: 11.98 kB / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.006643, allocations: 0 / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.00665, allocations: 0 / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.006651, allocations: 0 / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.006653, allocations: 4 kB / 0.6221 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.006812, allocations: 175.4 kB / 0.6223 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.006823, allocations: 7.953 kB / 0.6223 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.006833, allocations: 0 / 0.6223 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.237e-05/0.006876, allocations: 11.92 kB / 0.6223 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.006923, allocations: 11.98 kB / 0.6223 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.006926, allocations: 0 / 0.6223 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.316e-05/0.006959, allocations: 87.28 kB / 0.6224 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.00696, allocations: 4 kB / 0.6224 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001655/0.007125, allocations: 11.94 kB / 0.6224 GB, free: 8.906 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: 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.0003838/0.007509, allocations: 0.7047 MB / 0.6231 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.007658, allocations: 51.89 kB / 0.6232 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007659, allocations: 3.938 kB / 0.6232 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.911e-05/0.007708, allocations: 27.97 kB / 0.6232 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.007937, allocations: 4 kB / 0.6232 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.008938, allocations: 1.288 MB / 0.6245 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.701e-05/0.008985, allocations: 63.34 kB / 0.6245 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.928e-05/0.009014, allocations: 12.31 kB / 0.6245 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.009056, allocations: 20.48 kB / 0.6246 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of SimCode: time 4.51e-07/0.009056, allocations: 0 / 0.6246 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.02492, allocations: 2.382 MB / 0.6269 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.887/6.912, allocations: 11 kB / 0.6269 GB, free: 4.363 MB / 0.5886 GB " [Timeout remaining time 653] (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 sys.exit(0), Time elapsed: 9.616947261616588] Failed to read output from testmodel.py, exit status != 0: 6.990320110693574 6.998726137 6.993496687 Calling exit ...