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.0007871/0.0007871, 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.0008832/0.0008832, 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.008/1.008, allocations: 230.6 MB / 256 MB, free: 9.812 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.8394/0.8394, allocations: 203.8 MB / 0.5042 GB, free: 10.62 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.001325/0.001325, allocations: 74.08 kB / 0.7182 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5295/0.5308, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002018/0.5328, allocations: 1.569 MB / 0.8194 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003064/0.5331, allocations: 144.1 kB / 0.8195 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.5332, allocations: 0 / 0.8195 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.5332, allocations: 4.547 kB / 0.8195 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.963e-05/0.5332, allocations: 4.547 kB / 0.8195 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.5335, allocations: 33.03 kB / 0.8196 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.611e-05/0.5336, allocations: 39.02 kB / 0.8196 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.5337, allocations: 18.83 kB / 0.8196 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.829e-05/0.5337, allocations: 11.7 kB / 0.8196 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.189e-05/0.5338, allocations: 20.94 kB / 0.8197 GB, free: 0 / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.5338, allocations: 4.438 kB / 0.8197 GB, free: 0 / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.455e-05/0.5339, allocations: 22.73 kB / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.5339, allocations: 17.19 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.5339, allocations: 13.67 kB / 0.8197 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.534, allocations: 44.02 kB / 0.8198 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.534, allocations: 3.938 kB / 0.8198 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.534, allocations: 0 / 0.8198 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.534, allocations: 2.938 kB / 0.8198 GB, free: 15.95 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.0003722/0.5344, allocations: 277.5 kB / 0.82 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.5344, allocations: 9.188 kB / 0.82 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.5345, allocations: 41.19 kB / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.5345, allocations: 4.844 kB / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.933e-05/0.5346, allocations: 114.6 kB / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.5346, allocations: 384 / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.5346, allocations: 8.766 kB / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.5347, allocations: 61.66 kB / 0.8203 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.5348, allocations: 3.938 kB / 0.8203 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.5348, allocations: 4 kB / 0.8203 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5348, allocations: 0 / 0.8203 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.5349, allocations: 49.56 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.5352, allocations: 255.5 kB / 0.8206 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.5354, allocations: 52.09 kB / 0.8206 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.191e-05/0.5355, allocations: 24.22 kB / 0.8206 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.5356, allocations: 23.22 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.5356, allocations: 31.17 kB / 0.8207 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.5356, allocations: 0 / 0.8207 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002973/0.5359, allocations: 101.7 kB / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.536, allocations: 52.06 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.699e-05/0.5361, allocations: 110.5 kB / 0.8209 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.5361, allocations: 26.31 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.5361, allocations: 87.41 kB / 0.821 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.5361, allocations: 8.641 kB / 0.8211 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.5362, allocations: 19.39 kB / 0.8211 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.5363, allocations: 319 kB / 0.8214 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.65e-05/0.5363, allocations: 22.67 kB / 0.8214 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.042e-05/0.5364, allocations: 24.58 kB / 0.8214 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.612e-05/0.5365, allocations: 41.83 kB / 0.8215 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5365, allocations: 4.828 kB / 0.8215 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001417/0.5366, allocations: 81.72 kB / 0.8215 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.5366, allocations: 10.06 kB / 0.8216 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5366, allocations: 0.5625 kB / 0.8216 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.5367, allocations: 0 / 0.8216 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.5e-05/0.5367, allocations: 13.84 kB / 0.8216 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.5367, allocations: 0.5156 kB / 0.8216 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.641e-05/0.5368, allocations: 6.688 kB / 0.8216 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.5368, allocations: 1.062 kB / 0.8216 GB, free: 14.32 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.793e-05/0.5368, allocations: 121 kB / 0.8217 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.5369, allocations: 3.266 kB / 0.8217 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.537, allocations: 94.16 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.537, allocations: 0 / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.537, allocations: 0 / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.537, allocations: 0.75 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.5372, allocations: 139.4 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5372, allocations: 4.531 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.5372, allocations: 11.62 kB / 0.8219 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.5372, allocations: 0.5625 kB / 0.8219 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.5372, allocations: 5.781 kB / 0.8219 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.5372, allocations: 0 / 0.8219 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5372, allocations: 6.719 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.5374, allocations: 178.3 kB / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.5374, allocations: 4.547 kB / 0.8221 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.5374, allocations: 0.5625 kB / 0.8221 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.209e-05/0.5375, allocations: 7.203 kB / 0.8221 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/0.5376, allocations: 14.52 kB / 0.8221 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.5376, allocations: 0.5625 kB / 0.8221 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.5376, allocations: 87.25 kB / 0.8222 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5376, allocations: 0 / 0.8222 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001686/0.5378, allocations: 10 kB / 0.8222 GB, free: 13.73 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.0003997/0.5382, allocations: 0.7158 MB / 0.8229 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001426/0.5383, allocations: 48.11 kB / 0.823 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.5383, allocations: 0 / 0.823 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.437e-05/0.5384, allocations: 25.11 kB / 0.823 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.5386, allocations: 6.156 kB / 0.823 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.5403, allocations: 1.286 MB / 0.8243 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.5405, allocations: 0.6833 MB / 0.8249 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.975e-05/0.5406, allocations: 6.391 kB / 0.8249 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.5406, allocations: 16.34 kB / 0.825 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of SimCode: time 7.62e-07/0.5406, allocations: 4 kB / 0.825 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.5564, allocations: 1.816 MB / 0.8267 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.572/7.128, allocations: 6.203 kB / 0.8267 GB, free: 10.68 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.190453639952466] Failed to read output from testmodel.py, exit status != 0: 7.207039910834283 7.218703489 6.682485254 Calling exit ...