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.0006603/0.0006603, allocations: 72.44 kB / 19.17 MB, free: 0.7344 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.0007807/0.0007807, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9327/0.9327, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7633/0.7633, allocations: 154.6 MB / 413.7 MB, free: 0.793 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.473e-06/1.473e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.616e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.001969/0.001985, allocations: 1.562 MB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003187/0.002303, allocations: 139.6 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.242e-05/0.002346, allocations: 4 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.002378, allocations: 3.938 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.826e-05/0.002427, allocations: 3.938 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.002766, allocations: 31.84 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.538e-05/0.002831, allocations: 31.92 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.534e-05/0.002927, allocations: 15.97 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.693e-05/0.002964, allocations: 23.98 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.836e-05/0.003002, allocations: 15.92 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.003016, allocations: 4 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.901e-05/0.003095, allocations: 31.89 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.418e-06/0.003104, allocations: 0 / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.003123, allocations: 8 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.003245, allocations: 51.86 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.003246, allocations: 0 / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.22e-07/0.003247, allocations: 0 / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.003251, allocations: 0 / 0.62 GB, free: 11.72 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.0003536/0.003604, allocations: 282.2 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.003644, allocations: 8.031 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.386e-05/0.003687, allocations: 38.75 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.131e-05/0.003709, allocations: 0.9375 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.121e-05/0.00379, allocations: 109.8 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.003809, allocations: 384 / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.003819, allocations: 12.31 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.003959, allocations: 62.2 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.003967, allocations: 4.125 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.003975, allocations: 4.375 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.003983, allocations: 12.12 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.004085, allocations: 39.95 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.004405, allocations: 236 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.004619, allocations: 66.41 kB / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.004677, allocations: 24.91 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.004785, allocations: 11.98 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.004806, allocations: 46.55 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.004807, allocations: 0 / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.000227/0.005034, allocations: 89.58 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.005063, allocations: 51.41 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.592e-05/0.005129, allocations: 113.8 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.005138, allocations: 29.64 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.005175, allocations: 84.12 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.00519, allocations: 15.89 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.005214, allocations: 13.72 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.005289, allocations: 318.8 kB / 0.6216 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.475e-05/0.005334, allocations: 19.97 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.005372, allocations: 15.98 kB / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.692e-05/0.005459, allocations: 48.81 kB / 0.6217 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.005462, allocations: 0 / 0.6217 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001235/0.005585, allocations: 89.77 kB / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.0056, allocations: 4 kB / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.005605, allocations: 0 / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.005616, allocations: 3.984 kB / 0.6218 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.234e-05/0.005659, allocations: 8.047 kB / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.005665, allocations: 0 / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.811e-05/0.005693, allocations: 11.97 kB / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.005699, allocations: 4 kB / 0.6218 GB, free: 9.684 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 6.598e-05/0.005765, allocations: 110.8 kB / 0.6219 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.005779, allocations: 11.94 kB / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.005938, allocations: 93.52 kB / 0.622 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.005941, allocations: 4 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.005946, allocations: 3.938 kB / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.005948, allocations: 0 / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.006059, allocations: 136.7 kB / 0.6221 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.006059, allocations: 0 / 0.6221 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.966e-05/0.006089, allocations: 11.98 kB / 0.6221 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.00609, allocations: 4 kB / 0.6221 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.006097, allocations: 0 / 0.6221 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.006099, allocations: 0 / 0.6221 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0061, allocations: 0 / 0.6221 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.006241, allocations: 175.4 kB / 0.6223 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.008e-05/0.006251, allocations: 7.953 kB / 0.6223 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.006262, allocations: 0 / 0.6223 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.862e-05/0.006301, allocations: 7.984 kB / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.006345, allocations: 8 kB / 0.6223 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.006348, allocations: 4 kB / 0.6223 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.006393, allocations: 95.2 kB / 0.6224 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006393, allocations: 0 / 0.6224 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001594/0.006553, allocations: 8 kB / 0.6224 GB, free: 8.938 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.0003864/0.006939, allocations: 0.7085 MB / 0.6231 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.007069, allocations: 43.95 kB / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.007071, allocations: 11.94 kB / 0.6232 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.743e-05/0.007119, allocations: 27.91 kB / 0.6232 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.007309, allocations: 7.281 kB / 0.6232 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009441/0.008253, allocations: 1.281 MB / 0.6245 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.129e-05/0.008295, allocations: 71.34 kB / 0.6245 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.982e-05/0.008315, allocations: 4.047 kB / 0.6245 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.00835, allocations: 20.48 kB / 0.6245 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of SimCode: time 6.21e-07/0.008351, allocations: 0 / 0.6245 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.0259, allocations: 2.389 MB / 0.6269 GB, free: 4.398 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.791/6.817, allocations: 6.172 kB / 0.6269 GB, free: 4.395 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 & python3 -m fmpy simulate --output-file IDEAS_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_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.76383144594729] Failed to read output from testmodel.py, exit status != 0: 6.894287519156933 6.903049168 6.898007109 Calling exit ...