Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008623/0.0008623, 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.00145/0.00145, allocations: 219.2 kB / 22.26 MB, free: 3.84 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 1.035/1.035, allocations: 230.6 MB / 256 MB, free: 9.809 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.817/0.817, allocations: 203.8 MB / 0.5042 GB, free: 10.61 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.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_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.001559/0.001559, allocations: 62.44 kB / 0.7182 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5849/0.5865, allocations: 102 MB / 0.8179 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002478/0.589, allocations: 1.572 MB / 0.8194 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003427/0.5893, allocations: 143.9 kB / 0.8195 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.5893, allocations: 0 / 0.8195 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.5894, allocations: 4.641 kB / 0.8195 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/0.5894, allocations: 4.641 kB / 0.8195 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.5898, allocations: 37.08 kB / 0.8196 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.938e-05/0.5899, allocations: 41.3 kB / 0.8196 GB, free: 0 / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.59, allocations: 13.39 kB / 0.8196 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.317e-05/0.5901, allocations: 10.77 kB / 0.8196 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.263e-05/0.5901, allocations: 24.53 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.5901, allocations: 5.656 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.879e-05/0.5902, allocations: 22.52 kB / 0.8197 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.5902, allocations: 11.16 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.5903, allocations: 18.41 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.5904, allocations: 40.12 kB / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.5904, allocations: 7.875 kB / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5904, allocations: 0 / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.5904, allocations: 1.969 kB / 0.8198 GB, free: 15.93 MB / 0.6198 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.0004162/0.5909, allocations: 282.1 kB / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.5909, allocations: 7.875 kB / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.767e-05/0.5909, allocations: 36.62 kB / 0.8201 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.571e-05/0.5909, allocations: 5.266 kB / 0.8201 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.723e-05/0.591, allocations: 111.2 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.5911, allocations: 384 / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.5911, allocations: 4.312 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.5912, allocations: 63.42 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.5912, allocations: 7.344 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.5912, allocations: 4 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.5912, allocations: 0 / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.5914, allocations: 42.16 kB / 0.8203 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.5917, allocations: 255.8 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.592, allocations: 59.97 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.307e-05/0.592, allocations: 26.83 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.5922, allocations: 16.03 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.5922, allocations: 34.83 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.5922, allocations: 0 / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002677/0.5924, allocations: 94.52 kB / 0.8208 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.5925, allocations: 57.86 kB / 0.8208 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.204e-05/0.5925, allocations: 112 kB / 0.8209 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.5926, allocations: 25.7 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.5926, allocations: 85.78 kB / 0.821 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.5926, allocations: 6.797 kB / 0.821 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.5926, allocations: 14.91 kB / 0.8211 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.415e-05/0.5927, allocations: 320.5 kB / 0.8214 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.004e-05/0.5928, allocations: 28.69 kB / 0.8214 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.5e-05/0.5928, allocations: 17.92 kB / 0.8214 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.807e-05/0.5929, allocations: 49.12 kB / 0.8215 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5929, allocations: 0 / 0.8215 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001344/0.5931, allocations: 82.56 kB / 0.8215 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.5931, allocations: 7.438 kB / 0.8215 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.5931, allocations: 4 kB / 0.8215 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.5931, allocations: 0 / 0.8215 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.463e-05/0.5932, allocations: 12.11 kB / 0.8216 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5932, allocations: 0 / 0.8216 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.5932, allocations: 9.031 kB / 0.8216 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.5932, allocations: 4.656 kB / 0.8216 GB, free: 14.31 MB / 0.6198 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.569e-05/0.5933, allocations: 120.9 kB / 0.8217 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.5933, allocations: 6.531 kB / 0.8217 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.5935, allocations: 87.39 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.5935, allocations: 0 / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5935, allocations: 0.7031 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5935, allocations: 1.438 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.5936, allocations: 141.4 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5936, allocations: 0.6094 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.5937, allocations: 9.672 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.5937, allocations: 1.656 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.5937, allocations: 4 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.5937, allocations: 3.875 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5937, allocations: 0 / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.5938, allocations: 180.8 kB / 0.8221 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.5939, allocations: 8.141 kB / 0.8221 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.5939, allocations: 0 / 0.8221 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.151e-05/0.5939, allocations: 8.906 kB / 0.8221 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.594, allocations: 13.64 kB / 0.8221 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.594, allocations: 0 / 0.8221 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.868e-05/0.594, allocations: 86.34 kB / 0.8222 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.594, allocations: 0 / 0.8222 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001621/0.5942, allocations: 12.47 kB / 0.8222 GB, free: 13.71 MB / 0.6198 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.0004418/0.5946, allocations: 0.7119 MB / 0.8229 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001687/0.5948, allocations: 55.11 kB / 0.823 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5948, allocations: 0 / 0.823 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.24e-05/0.5948, allocations: 22.25 kB / 0.823 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.5951, allocations: 7.375 kB / 0.823 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.5962, allocations: 1.297 MB / 0.8243 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.5964, allocations: 0.6818 MB / 0.8249 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.516e-05/0.5965, allocations: 6.828 kB / 0.8249 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.5965, allocations: 16.09 kB / 0.825 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of SimCode: time 1.102e-06/0.5965, allocations: 0 / 0.825 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.6161, allocations: 1.81 MB / 0.8267 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.42/7.036, allocations: 8.938 kB / 0.8267 GB, free: 10.66 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Examples_FallingFactorial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.257335800910369] Failed to read output from testmodel.py, exit status != 0: 7.113358931150287 7.127918115 6.534862006 Calling exit ...