Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008771/0.0008771, 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.001063/0.001063, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.9145/0.9145, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7275/0.7275, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.825e-05, allocations: 6.219 kB / 0.6182 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001187/0.001205, allocations: 0.5992 MB / 0.6187 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002109/0.001416, allocations: 47.81 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.679e-05/0.001433, allocations: 0 / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.001459, allocations: 0 / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-06/0.001466, allocations: 0 / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.00174, allocations: 19.86 kB / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.035e-05/0.001811, allocations: 39.89 kB / 0.6188 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.423e-05/0.001845, allocations: 4 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.339e-05/0.001878, allocations: 19.97 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.21e-05/0.0019, allocations: 7.984 kB / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.001913, allocations: 0 / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.016e-05/0.001994, allocations: 27.91 kB / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.002018, allocations: 8 kB / 0.6189 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.002042, allocations: 11.97 kB / 0.6189 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.27e-05/0.002135, allocations: 39.83 kB / 0.619 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.002136, allocations: 0 / 0.619 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002137, allocations: 4 kB / 0.619 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.002141, allocations: 0 / 0.619 GB, free: 12.74 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.0002282/0.002369, allocations: 262.3 kB / 0.6192 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.002406, allocations: 12.03 kB / 0.6192 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.574e-05/0.002432, allocations: 34.75 kB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.002456, allocations: 8.891 kB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.044e-05/0.002506, allocations: 101.8 kB / 0.6194 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.002518, allocations: 4.375 kB / 0.6194 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.589e-06/0.002527, allocations: 8.312 kB / 0.6194 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.002634, allocations: 66.22 kB / 0.6194 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.002641, allocations: 192 / 0.6194 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.002649, allocations: 4.375 kB / 0.6194 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.002654, allocations: 4.125 kB / 0.6194 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.271e-05/0.002746, allocations: 95.88 kB / 0.6195 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.002866, allocations: 144.7 kB / 0.6197 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.487e-05/0.002951, allocations: 66.48 kB / 0.6197 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.002983, allocations: 28.84 kB / 0.6198 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/0.003264, allocations: 19.98 kB / 0.6198 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.003282, allocations: 34.55 kB / 0.6198 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.003283, allocations: 0 / 0.6198 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0001824/0.003465, allocations: 111.1 kB / 0.6199 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.003492, allocations: 71.28 kB / 0.62 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.993e-05/0.003522, allocations: 93.84 kB / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.178e-06/0.003531, allocations: 25.7 kB / 0.6201 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.924e-05/0.003551, allocations: 84.14 kB / 0.6202 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.003574, allocations: 23.78 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.003604, allocations: 33.7 kB / 0.6202 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.003676, allocations: 318.8 kB / 0.6205 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.003702, allocations: 23.92 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.226e-05/0.003725, allocations: 23.92 kB / 0.6206 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.958e-05/0.003794, allocations: 59.34 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.003796, allocations: 0 / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.431e-05/0.00388, allocations: 97.61 kB / 0.6207 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.003895, allocations: 4 kB / 0.6207 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.003899, allocations: 0 / 0.6207 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.003909, allocations: 0 / 0.6207 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.003979, allocations: 27.86 kB / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.003984, allocations: 0 / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.003998, allocations: 7.891 kB / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.004003, allocations: 7.984 kB / 0.6208 GB, free: 10.68 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 9.241e-05/0.004096, allocations: 122.8 kB / 0.6209 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.004104, allocations: 12 kB / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.004236, allocations: 117.5 kB / 0.621 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.00424, allocations: 11.86 kB / 0.621 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.004244, allocations: 0 / 0.621 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.004246, allocations: 4 kB / 0.621 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.224e-05/0.004318, allocations: 136.8 kB / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.004319, allocations: 0 / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.004353, allocations: 23.98 kB / 0.6212 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.004354, allocations: 0 / 0.6212 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.004359, allocations: 0 / 0.6212 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.004361, allocations: 7.938 kB / 0.6212 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.004362, allocations: 4 kB / 0.6212 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.232e-05/0.004454, allocations: 120.7 kB / 0.6213 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-06/0.004459, allocations: 11.88 kB / 0.6213 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.00447, allocations: 7.938 kB / 0.6213 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-06/0.004477, allocations: 0 / 0.6213 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.004503, allocations: 11.92 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.004507, allocations: 4 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.785e-05/0.004525, allocations: 75.28 kB / 0.6214 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004525, allocations: 0 / 0.6214 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001318/0.004657, allocations: 16 kB / 0.6214 GB, free: 9.926 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.0003159/0.004973, allocations: 0.6632 MB / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.005073, allocations: 71.78 kB / 0.6222 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.005075, allocations: 0 / 0.6222 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-05/0.005105, allocations: 31.92 kB / 0.6222 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.715e-05/0.005203, allocations: 14.02 kB / 0.6222 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.005479, allocations: 170.6 kB / 0.6224 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.049e-05/0.005519, allocations: 67.34 kB / 0.6224 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.441e-05/0.005564, allocations: 39.91 kB / 0.6225 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.005591, allocations: 20.48 kB / 0.6225 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of SimCode: time 2.61e-07/0.005592, allocations: 0 / 0.6225 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.01991, allocations: 2.203 MB / 0.6246 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.551/6.571, allocations: 14.95 kB / 0.6247 GB, free: 6.691 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.279138543643057] Failed to read output from testmodel.py, exit status != 0: 6.651151453144848 6.66091922 6.65712108 Calling exit ...