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.0008145/0.0008145, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008586/0.0008586, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8983/0.8983, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.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.712/0.712, allocations: 154.5 MB / 413.7 MB, free: 0.8555 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.877e-05, allocations: 7.781 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.00316/0.003189, allocations: 1.556 MB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004171/0.003606, allocations: 135.6 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.085e-05/0.003647, allocations: 4 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.003678, allocations: 3.938 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.003725, allocations: 11.86 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.004059, allocations: 31.97 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.703e-05/0.004136, allocations: 27.92 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.004243, allocations: 19.91 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.183e-05/0.004295, allocations: 23.92 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.136e-05/0.004347, allocations: 15.92 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.004364, allocations: 4 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.04e-05/0.004454, allocations: 19.97 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.00447, allocations: 7.984 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.004495, allocations: 15.94 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.004642, allocations: 51.92 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.004646, allocations: 0 / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.402e-06/0.004647, allocations: 0 / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.004651, allocations: 0 / 0.6199 GB, free: 11.78 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.0004372/0.005089, allocations: 274.2 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.005132, allocations: 13.47 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.005168, allocations: 34.75 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.005196, allocations: 4.938 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.005306, allocations: 109.7 kB / 0.6203 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.005329, allocations: 8.375 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.005338, allocations: 384 / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.005535, allocations: 70.16 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.005544, allocations: 192 / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.005556, allocations: 4.375 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.005562, allocations: 4.125 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.00572, allocations: 39.95 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.006111, allocations: 247.9 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.006413, allocations: 70.47 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.461e-05/0.006487, allocations: 20.84 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.006615, allocations: 15.98 kB / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.006635, allocations: 34.56 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.006637, allocations: 0 / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003328/0.00697, allocations: 93.62 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.007002, allocations: 63.28 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.199e-05/0.007074, allocations: 113.8 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.007086, allocations: 25.7 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.007126, allocations: 84.14 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.007142, allocations: 7.953 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.007185, allocations: 17.7 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.079e-05/0.007276, allocations: 314.8 kB / 0.6215 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.142e-05/0.007357, allocations: 19.97 kB / 0.6215 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/0.007422, allocations: 23.98 kB / 0.6216 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.007554, allocations: 44.81 kB / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.007556, allocations: 0 / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001766/0.007733, allocations: 85.48 kB / 0.6217 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.007749, allocations: 8 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.007754, allocations: 0 / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.007768, allocations: 0 / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.217e-05/0.00784, allocations: 15.98 kB / 0.6217 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.007845, allocations: 0 / 0.6217 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.007888, allocations: 7.984 kB / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.007895, allocations: 3.938 kB / 0.6217 GB, free: 9.742 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.066e-05/0.007965, allocations: 114.8 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.007992, allocations: 7.891 kB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.008231, allocations: 81.64 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.008234, allocations: 0 / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.008239, allocations: 8 kB / 0.6219 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.008242, allocations: 0 / 0.6219 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.008395, allocations: 136.7 kB / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008397, allocations: 0 / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.598e-05/0.008463, allocations: 19.92 kB / 0.6221 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.008465, allocations: 0 / 0.6221 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.008472, allocations: 4 kB / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.008474, allocations: 0 / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.008476, allocations: 384 / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.00869, allocations: 175.4 kB / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.008704, allocations: 11.94 kB / 0.6223 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.008717, allocations: 0 / 0.6223 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.008788, allocations: 4 kB / 0.6223 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.008836, allocations: 7.984 kB / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.008841, allocations: 4 kB / 0.6223 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.2e-05/0.008883, allocations: 87.58 kB / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.008884, allocations: 0 / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002624/0.009146, allocations: 11.94 kB / 0.6224 GB, free: 9 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.0005116/0.009658, allocations: 0.7124 MB / 0.6231 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.009852, allocations: 47.89 kB / 0.6231 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.009854, allocations: 0 / 0.6231 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.009935, allocations: 31.91 kB / 0.6231 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.01026, allocations: 5.047 kB / 0.6231 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.01155, allocations: 1.292 MB / 0.6244 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.375e-05/0.0116, allocations: 67.33 kB / 0.6245 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.454e-05/0.01163, allocations: 4 kB / 0.6245 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.01168, allocations: 12.5 kB / 0.6245 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of SimCode: time 6.31e-07/0.01168, allocations: 7.938 kB / 0.6245 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.02919, allocations: 2.387 MB / 0.6268 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.125/7.154, allocations: 13.69 kB / 0.6268 GB, free: 4.445 MB / 0.5886 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: 9.941591452807188] Failed to read output from testmodel.py, exit status != 0: 7.239972078241408 7.253823925 7.246628968 Calling exit ...