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.0008718/0.0008718, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008604/0.0008604, allocations: 206.6 kB / 22.24 MB, free: 3.582 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 0.9356/0.9356, allocations: 230.6 MB / 256 MB, free: 9.617 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.7929/0.7929, allocations: 203.8 MB / 0.5042 GB, free: 10.49 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.000916/0.000916, allocations: 68.88 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5236/0.5245, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.00207/0.5266, allocations: 1.56 MB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003735/0.5269, allocations: 136.4 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.049e-05/0.527, allocations: 3.969 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.527, allocations: 4.594 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.641e-05/0.5271, allocations: 3.938 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.5274, allocations: 38.91 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.796e-05/0.5275, allocations: 35.48 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.5276, allocations: 13.94 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.312e-05/0.5276, allocations: 12.55 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.552e-05/0.5277, allocations: 21.83 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.5277, allocations: 5.094 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.011e-05/0.5278, allocations: 26.8 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.5278, allocations: 9.5 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.5278, allocations: 10.33 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.528, allocations: 46.2 kB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.528, allocations: 0 / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.528, allocations: 0 / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.528, allocations: 0.75 kB / 0.8197 GB, free: 15.77 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.0004167/0.5284, allocations: 278.4 kB / 0.8199 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.5284, allocations: 9.562 kB / 0.8199 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.5285, allocations: 43.34 kB / 0.82 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.5285, allocations: 0.9375 kB / 0.82 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.328e-05/0.5286, allocations: 117.2 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.5286, allocations: 384 / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.5286, allocations: 2.938 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.5288, allocations: 62.56 kB / 0.8202 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.5288, allocations: 3.938 kB / 0.8202 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.5288, allocations: 4 kB / 0.8202 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.5288, allocations: 2.844 kB / 0.8202 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.5289, allocations: 43.27 kB / 0.8202 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.5293, allocations: 255.2 kB / 0.8205 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.5295, allocations: 60.41 kB / 0.8205 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.849e-05/0.5296, allocations: 23.28 kB / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.5297, allocations: 17.02 kB / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.5298, allocations: 35.17 kB / 0.8206 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.034e-06/0.5298, allocations: 0 / 0.8206 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002872/0.53, allocations: 101.5 kB / 0.8207 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.5301, allocations: 52.11 kB / 0.8207 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.718e-05/0.5302, allocations: 112.1 kB / 0.8208 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.5302, allocations: 25.7 kB / 0.8209 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.5302, allocations: 83 kB / 0.8209 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.5302, allocations: 10.28 kB / 0.821 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.5303, allocations: 14.75 kB / 0.821 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.5304, allocations: 322.3 kB / 0.8213 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.886e-05/0.5304, allocations: 23.36 kB / 0.8213 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.545e-05/0.5305, allocations: 22.38 kB / 0.8213 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.788e-05/0.5306, allocations: 46.52 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5306, allocations: 0 / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001366/0.5307, allocations: 80.81 kB / 0.8214 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.5307, allocations: 5.062 kB / 0.8214 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5307, allocations: 4 kB / 0.8214 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.5307, allocations: 2.359 kB / 0.8214 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.156e-05/0.5308, allocations: 11 kB / 0.8215 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.5308, allocations: 0 / 0.8215 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.881e-05/0.5308, allocations: 7.672 kB / 0.8215 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.5308, allocations: 4.547 kB / 0.8215 GB, free: 14.16 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 6.35e-05/0.5309, allocations: 121.2 kB / 0.8216 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.5309, allocations: 3.219 kB / 0.8216 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.5311, allocations: 88.25 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.5311, allocations: 0 / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5311, allocations: 1.219 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.5311, allocations: 0.7031 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.5312, allocations: 138 kB / 0.8218 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5312, allocations: 0 / 0.8218 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.5312, allocations: 11.69 kB / 0.8218 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.5312, allocations: 0.5625 kB / 0.8218 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.5312, allocations: 0.6094 kB / 0.8218 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.5312, allocations: 3.5 kB / 0.8218 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5313, allocations: 4 kB / 0.8218 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.5314, allocations: 177.4 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-06/0.5314, allocations: 5.125 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.5314, allocations: 1.859 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.208e-05/0.5315, allocations: 7.438 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.5315, allocations: 12.12 kB / 0.822 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.5315, allocations: 3.328 kB / 0.822 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.559e-05/0.5316, allocations: 87.95 kB / 0.8221 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5316, allocations: 0 / 0.8221 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001594/0.5317, allocations: 12.47 kB / 0.8221 GB, free: 13.57 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.0004166/0.5321, allocations: 0.7116 MB / 0.8228 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.5323, allocations: 50.73 kB / 0.8229 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5323, allocations: 0 / 0.8229 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.96e-05/0.5323, allocations: 20.27 kB / 0.8229 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.5326, allocations: 15.86 kB / 0.8229 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009829/0.5335, allocations: 1.283 MB / 0.8242 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.579e-05/0.5336, allocations: 68.31 kB / 0.8242 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.943e-05/0.5336, allocations: 7.469 kB / 0.8242 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.5337, allocations: 17.27 kB / 0.8242 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.5337, allocations: 3.938 kB / 0.8242 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.5508, allocations: 2.246 MB / 0.8264 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.7/7.25, allocations: 5.938 kB / 0.8264 GB, free: 10.71 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 & /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: 10.142448584083468] Failed to read output from testmodel.py, exit status != 0: 7.329170612152666 7.342157239 6.811303508 Calling exit ...