Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.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.0007595/0.0007595, allocations: 113.9 kB / 18.94 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.0009658/0.0009658, allocations: 217.2 kB / 22.26 MB, free: 3.695 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.9213/0.9213, allocations: 230.6 MB / 256 MB, free: 9.777 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.8123/0.8123, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.Functions.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial",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.0009772/0.0009772, allocations: 66.89 kB / 0.7183 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5276/0.5286, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001318/0.5299, allocations: 0.5977 MB / 0.8185 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000317/0.5302, allocations: 106.5 kB / 0.8186 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.816e-05/0.5302, allocations: 0 / 0.8186 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.38e-05/0.5303, allocations: 4 kB / 0.8186 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.484e-06/0.5303, allocations: 0 / 0.8186 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.5306, allocations: 39.55 kB / 0.8186 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.5308, allocations: 67.48 kB / 0.8187 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.092e-05/0.5308, allocations: 3.719 kB / 0.8187 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.213e-05/0.5309, allocations: 20.83 kB / 0.8187 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.232e-05/0.5309, allocations: 28.05 kB / 0.8187 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.5309, allocations: 6.156 kB / 0.8187 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.5311, allocations: 52.16 kB / 0.8188 GB, free: 0.7383 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.348e-05/0.5311, allocations: 23.41 kB / 0.8188 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.5311, allocations: 16.34 kB / 0.8188 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.5313, allocations: 82.7 kB / 0.8189 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5313, allocations: 0 / 0.8189 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.565e-06/0.5313, allocations: 0 / 0.8189 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.5313, allocations: 0 / 0.8189 GB, free: 0.6953 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003747/0.5317, allocations: 305.4 kB / 0.8192 GB, free: 416 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.5317, allocations: 10.59 kB / 0.8192 GB, free: 416 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.734e-05/0.5318, allocations: 42.7 kB / 0.8193 GB, free: 368 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.5318, allocations: 5.562 kB / 0.8193 GB, free: 368 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.269e-05/0.5318, allocations: 106.1 kB / 0.8194 GB, free: 240 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002599/0.5321, allocations: 0.536 MB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.5321, allocations: 7.438 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.5323, allocations: 79.73 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.5323, allocations: 2.875 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.5323, allocations: 4 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.5323, allocations: 0 / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.5326, allocations: 136.9 kB / 0.8201 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.5327, allocations: 151 kB / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.5329, allocations: 90.12 kB / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.568e-05/0.533, allocations: 40.94 kB / 0.8204 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.533, allocations: 8.641 kB / 0.8204 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.533, allocations: 35.78 kB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 9.62e-07/0.533, allocations: 0 / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003665/0.5334, allocations: 144.7 kB / 0.8206 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.5335, allocations: 52.69 kB / 0.8206 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.414e-05/0.5335, allocations: 94.66 kB / 0.8207 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.5335, allocations: 35.14 kB / 0.8207 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.989e-05/0.5335, allocations: 80.14 kB / 0.8208 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.93e-05/0.5336, allocations: 38.59 kB / 0.8208 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.5336, allocations: 31.98 kB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.365e-05/0.5337, allocations: 312.6 kB / 0.8212 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.058e-05/0.5338, allocations: 37.69 kB / 0.8212 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.382e-05/0.5338, allocations: 33.11 kB / 0.8212 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.534, allocations: 76.61 kB / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.534, allocations: 0 / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002022/0.5342, allocations: 120.8 kB / 0.8214 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.5342, allocations: 10.7 kB / 0.8214 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5342, allocations: 0 / 0.8214 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5343, allocations: 2.281 kB / 0.8214 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.5344, allocations: 23.05 kB / 0.8215 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.5344, allocations: 0 / 0.8215 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.125e-05/0.5344, allocations: 7.016 kB / 0.8215 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.5344, allocations: 6.5 kB / 0.8215 GB, free: 14.44 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.747e-05/0.5345, allocations: 125.8 kB / 0.8216 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.5345, allocations: 7.891 kB / 0.8216 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.5345, allocations: 16.53 kB / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.5345, allocations: 0 / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5345, allocations: 0.7969 kB / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5345, allocations: 0 / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.628e-05/0.5346, allocations: 148.8 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5346, allocations: 3.984 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.126e-05/0.5347, allocations: 26.78 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.5347, allocations: 6.188 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.5347, allocations: 1.969 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5347, allocations: 1.938 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5347, allocations: 0 / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.5349, allocations: 150.2 kB / 0.8219 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.5349, allocations: 11.67 kB / 0.822 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.5349, allocations: 8 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.565e-05/0.535, allocations: 7.703 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.535, allocations: 12.8 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.535, allocations: 2.938 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.228e-05/0.535, allocations: 79.28 kB / 0.8221 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.535, allocations: 0 / 0.8221 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001539/0.5352, allocations: 21.59 kB / 0.8221 GB, free: 13.92 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0004809/0.5357, allocations: 0.7057 MB / 0.8228 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.5359, allocations: 82.44 kB / 0.8228 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5359, allocations: 0 / 0.8228 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.471e-05/0.536, allocations: 52.33 kB / 0.8229 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001104/0.5361, allocations: 2.578 kB / 0.8229 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.5365, allocations: 206.9 kB / 0.8231 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.5368, allocations: 0.6843 MB / 0.8238 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001316/0.5369, allocations: 46.83 kB / 0.8238 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.5369, allocations: 23.45 kB / 0.8238 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of SimCode: time 7.61e-07/0.5369, allocations: 0 / 0.8238 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.5553, allocations: 2.171 MB / 0.826 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.501/7.056, allocations: 11.92 kB / 0.826 GB, free: 11.9 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.994093241170049] Failed to read output from testmodel.py, exit status != 0: 7.134855409152806 7.146168726 6.612970057 Calling exit ...