Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.001277/0.001277, allocations: 101.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.0009445/0.0009445, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9704/0.9704, allocations: 230.6 MB / 256 MB, free: 9.582 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.7756/0.7756, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_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.0009801/0.0009801, allocations: 66.55 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.518/0.519, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.00206/0.521, allocations: 1.561 MB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000414/0.5214, allocations: 175.8 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.245e-05/0.5215, allocations: 0 / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.5215, allocations: 4.5 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.87e-05/0.5215, allocations: 5.266 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.5218, allocations: 60.83 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.501e-05/0.5219, allocations: 38.31 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.91e-05/0.522, allocations: 15.55 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.028e-05/0.522, allocations: 15.44 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.552e-05/0.5221, allocations: 16.39 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.5221, allocations: 3.75 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.5222, allocations: 58.89 kB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.5222, allocations: 5.172 kB / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.5222, allocations: 17.66 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.5224, allocations: 58.17 kB / 0.8198 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.5224, allocations: 11.94 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5224, allocations: 3.938 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.5224, allocations: 0 / 0.8198 GB, free: 15.71 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.0006293/0.523, allocations: 283.2 kB / 0.8201 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.5231, allocations: 9.25 kB / 0.8201 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.878e-05/0.5231, allocations: 37.5 kB / 0.8201 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.139e-05/0.5231, allocations: 4.781 kB / 0.8201 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.551e-05/0.5232, allocations: 110.4 kB / 0.8202 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.5232, allocations: 384 / 0.8202 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.5232, allocations: 3.5 kB / 0.8202 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.5234, allocations: 66.28 kB / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.5234, allocations: 3.938 kB / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.5234, allocations: 0 / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5234, allocations: 3.594 kB / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.5235, allocations: 45.52 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.5238, allocations: 244.1 kB / 0.8206 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.524, allocations: 59.36 kB / 0.8206 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.412e-05/0.5241, allocations: 29.05 kB / 0.8206 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.5242, allocations: 18.73 kB / 0.8207 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.5242, allocations: 31.17 kB / 0.8207 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.5242, allocations: 0 / 0.8207 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002527/0.5245, allocations: 96.62 kB / 0.8208 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.5245, allocations: 53.33 kB / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.141e-05/0.5246, allocations: 112 kB / 0.8209 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.138e-06/0.5246, allocations: 25.7 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.5246, allocations: 91.22 kB / 0.8211 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.5246, allocations: 9.625 kB / 0.8211 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.5247, allocations: 19.33 kB / 0.8211 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.404e-05/0.5247, allocations: 321.2 kB / 0.8214 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.525e-05/0.5248, allocations: 24.66 kB / 0.8214 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.363e-05/0.5248, allocations: 20.91 kB / 0.8214 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.837e-05/0.5249, allocations: 50.3 kB / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5249, allocations: 0 / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001205/0.525, allocations: 73.03 kB / 0.8216 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.5251, allocations: 7.047 kB / 0.8216 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.5251, allocations: 0 / 0.8216 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.5251, allocations: 0 / 0.8216 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.785e-05/0.5251, allocations: 15.31 kB / 0.8216 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.5251, allocations: 4.875 kB / 0.8216 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.636e-05/0.5252, allocations: 10.62 kB / 0.8216 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.5252, allocations: 6.781 kB / 0.8216 GB, free: 14.09 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 (bin.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.274e-05/0.5252, allocations: 112.8 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.5252, allocations: 3.75 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.5254, allocations: 86.02 kB / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.5254, allocations: 1.125 kB / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5254, allocations: 0 / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5254, allocations: 4.516 kB / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.5255, allocations: 138.1 kB / 0.8219 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5255, allocations: 0 / 0.8219 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.5256, allocations: 11.27 kB / 0.8219 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5256, allocations: 0.7969 kB / 0.8219 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.5256, allocations: 1.625 kB / 0.8219 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.217e-06/0.5256, allocations: 4.734 kB / 0.8219 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5256, allocations: 0 / 0.8219 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.5257, allocations: 178.7 kB / 0.8221 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-06/0.5257, allocations: 7.297 kB / 0.8221 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.5257, allocations: 2.688 kB / 0.8221 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.9e-05/0.5258, allocations: 5.156 kB / 0.8221 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.5258, allocations: 9.406 kB / 0.8221 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.5258, allocations: 1.656 kB / 0.8221 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.149e-05/0.5259, allocations: 88.14 kB / 0.8222 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5259, allocations: 0 / 0.8222 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001651/0.526, allocations: 22.41 kB / 0.8222 GB, free: 13.51 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,bin.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.0003905/0.5264, allocations: 0.7289 MB / 0.823 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001354/0.5266, allocations: 41.86 kB / 0.823 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.5266, allocations: 0 / 0.823 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.84e-05/0.5266, allocations: 26.02 kB / 0.823 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.5268, allocations: 14.34 kB / 0.823 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009635/0.5278, allocations: 1.3 MB / 0.8243 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.757e-05/0.5278, allocations: 62.3 kB / 0.8244 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.521e-05/0.5279, allocations: 3.094 kB / 0.8244 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.5279, allocations: 18.22 kB / 0.8244 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.5279, allocations: 4 kB / 0.8244 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.5454, allocations: 2.471 MB / 0.8268 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.704/7.249, allocations: 14.55 kB / 0.8268 GB, free: 10.63 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.170426290947944] Failed to read output from testmodel.py, exit status != 0: 7.328274243976921 7.3412211880000005 6.816452348 Calling exit ...