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.001095/0.001095, 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.0008752/0.0008752, allocations: 170.3 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.901/0.901, 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 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.7352/0.7352, allocations: 154.5 MB / 413.7 MB, free: 0.8125 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 1.573e-06/1.573e-06, allocations: 0 / 0.618 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.621e-05, allocations: 5.469 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.001857/0.001873, allocations: 1.557 MB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002936/0.002167, allocations: 139.5 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.002203, allocations: 0 / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.002231, allocations: 3.984 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.132e-05/0.002272, allocations: 7.875 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.002555, allocations: 35.89 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.858e-05/0.002614, allocations: 27.92 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.002761, allocations: 11.94 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.573e-05/0.002797, allocations: 19.98 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.8e-05/0.002835, allocations: 31.89 kB / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.002849, allocations: 0 / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.82e-05/0.002917, allocations: 19.98 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.002928, allocations: 8 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.791e-05/0.002945, allocations: 15.91 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.003061, allocations: 47.92 kB / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.003063, allocations: 0 / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003064, allocations: 0 / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.003067, allocations: 0 / 0.6199 GB, free: 11.76 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.0003372/0.003404, allocations: 274.2 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 8.257e-05/0.003487, allocations: 13.47 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.13e-05/0.003518, allocations: 42.67 kB / 0.6202 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.914e-05/0.003537, allocations: 4.938 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.86e-05/0.003606, allocations: 109.7 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.003624, allocations: 4.375 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.003633, allocations: 4.375 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.003761, allocations: 66.22 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.003767, allocations: 192 / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.003775, allocations: 384 / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.003782, allocations: 8.109 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.003882, allocations: 47.95 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.004176, allocations: 239.9 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.004369, allocations: 58.48 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.004425, allocations: 24.89 kB / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.559e-05/0.004521, allocations: 15.98 kB / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.004538, allocations: 34.56 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.004538, allocations: 4 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002183/0.004757, allocations: 101.5 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.004783, allocations: 51.41 kB / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.589e-05/0.004839, allocations: 113.8 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.004848, allocations: 25.7 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.004882, allocations: 88.2 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.237e-05/0.004894, allocations: 7.953 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.004917, allocations: 13.72 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.193e-05/0.004999, allocations: 326.8 kB / 0.6215 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.005043, allocations: 15.98 kB / 0.6215 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-05/0.005082, allocations: 19.97 kB / 0.6216 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.385e-05/0.005166, allocations: 44.83 kB / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.005168, allocations: 0 / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001232/0.005291, allocations: 85.47 kB / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.005303, allocations: 12 kB / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.005306, allocations: 0 / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.487e-06/0.005316, allocations: 0 / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.261e-05/0.005358, allocations: 11.98 kB / 0.6217 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.005362, allocations: 3.938 kB / 0.6217 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.005387, allocations: 7.984 kB / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.005392, allocations: 0 / 0.6217 GB, free: 9.723 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 5.343e-05/0.005445, allocations: 114.8 kB / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.005458, allocations: 7.891 kB / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.005601, allocations: 93.58 kB / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.005603, allocations: 0 / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.005607, allocations: 0 / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.005609, allocations: 0 / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.005738, allocations: 137.1 kB / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.005739, allocations: 4 kB / 0.6221 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/0.005767, allocations: 7.984 kB / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.005768, allocations: 4 kB / 0.6221 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.005775, allocations: 0 / 0.6221 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.005775, allocations: 4 kB / 0.6221 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.005776, allocations: 0 / 0.6221 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.005905, allocations: 175.4 kB / 0.6222 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.005912, allocations: 11.89 kB / 0.6223 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.005922, allocations: 0 / 0.6223 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.846e-05/0.005961, allocations: 7.984 kB / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.005999, allocations: 7.984 kB / 0.6223 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-06/0.006001, allocations: 4 kB / 0.6223 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.117e-05/0.006032, allocations: 87.59 kB / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006032, allocations: 0 / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000148/0.00618, allocations: 15.94 kB / 0.6224 GB, free: 8.973 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.0004166/0.006597, allocations: 0.7084 MB / 0.6231 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.006723, allocations: 47.89 kB / 0.6231 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006724, allocations: 0 / 0.6231 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.633e-05/0.006771, allocations: 27.98 kB / 0.6231 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.006958, allocations: 2.422 kB / 0.6231 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008981/0.007856, allocations: 1.292 MB / 0.6244 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.229e-05/0.007899, allocations: 67.28 kB / 0.6245 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.219e-05/0.007921, allocations: 11.94 kB / 0.6245 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.007955, allocations: 16.48 kB / 0.6245 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of SimCode: time 5.92e-07/0.007955, allocations: 0 / 0.6245 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.02302, allocations: 2.388 MB / 0.6268 GB, free: 4.438 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.845/6.868, allocations: 13.69 kB / 0.6268 GB, free: 4.426 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 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.603553278371692] Failed to read output from testmodel.py, exit status != 0: 6.948597913607955 6.958555528 6.953114249 Calling exit ...