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.0007268/0.0007268, allocations: 109.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.0008727/0.0008727, allocations: 214.2 kB / 22.25 MB, free: 3.578 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.9347/0.9347, allocations: 230.6 MB / 256 MB, free: 9.648 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.7711/0.7711, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.000944/0.000944, allocations: 74.59 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.504/0.5049, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001242/0.5062, allocations: 0.5933 MB / 0.8184 GB, free: 0.6758 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003242/0.5065, allocations: 106.8 kB / 0.8185 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.17e-05/0.5065, allocations: 0 / 0.8185 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.5066, allocations: 3.938 kB / 0.8185 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.034e-06/0.5066, allocations: 0 / 0.8185 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.5069, allocations: 37.92 kB / 0.8186 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.507, allocations: 69.14 kB / 0.8186 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.507, allocations: 3.344 kB / 0.8186 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.155e-05/0.5071, allocations: 20 kB / 0.8186 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.211e-05/0.5071, allocations: 24.27 kB / 0.8187 GB, free: 0.5625 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.5071, allocations: 6.781 kB / 0.8187 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.5072, allocations: 51.05 kB / 0.8187 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.5073, allocations: 22.14 kB / 0.8187 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.5073, allocations: 18.41 kB / 0.8188 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.5075, allocations: 75.33 kB / 0.8188 GB, free: 0.5039 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5075, allocations: 0.75 kB / 0.8188 GB, free: 0.5039 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5075, allocations: 0.9375 kB / 0.8188 GB, free: 0.5039 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.5075, allocations: 0 / 0.8188 GB, free: 0.5039 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.0003319/0.5078, allocations: 306.8 kB / 0.8191 GB, free: 224 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.5078, allocations: 7.375 kB / 0.8191 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.748e-05/0.5079, allocations: 39.27 kB / 0.8192 GB, free: 180 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.5079, allocations: 4.938 kB / 0.8192 GB, free: 180 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.788e-05/0.5079, allocations: 119.2 kB / 0.8193 GB, free: 40 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.5082, allocations: 0.5276 MB / 0.8198 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.5082, allocations: 2.594 kB / 0.8198 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.5084, allocations: 91.31 kB / 0.8199 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.5084, allocations: 0 / 0.8199 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.5084, allocations: 3.938 kB / 0.8199 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.5084, allocations: 1.812 kB / 0.8199 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.5086, allocations: 127.1 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.5087, allocations: 147.2 kB / 0.8202 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.5089, allocations: 99.98 kB / 0.8203 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.347e-05/0.509, allocations: 41.58 kB / 0.8203 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.509, allocations: 2.844 kB / 0.8203 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.509, allocations: 38.73 kB / 0.8203 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 8.62e-07/0.509, allocations: 0 / 0.8203 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003303/0.5094, allocations: 150.3 kB / 0.8205 GB, free: 15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.5094, allocations: 51.41 kB / 0.8205 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.778e-05/0.5094, allocations: 94.59 kB / 0.8206 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.5094, allocations: 27.58 kB / 0.8206 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.001e-05/0.5095, allocations: 80.14 kB / 0.8207 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.5095, allocations: 34.08 kB / 0.8207 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.5095, allocations: 36.78 kB / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.414e-05/0.5096, allocations: 315.8 kB / 0.8211 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.878e-05/0.5097, allocations: 31.3 kB / 0.8211 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.471e-05/0.5098, allocations: 29.77 kB / 0.8211 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.5099, allocations: 78.69 kB / 0.8212 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5099, allocations: 0 / 0.8212 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001837/0.5101, allocations: 112.5 kB / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.5101, allocations: 12.33 kB / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5101, allocations: 0 / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.5101, allocations: 0 / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.799e-05/0.5102, allocations: 33.12 kB / 0.8214 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.5102, allocations: 0 / 0.8214 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.199e-05/0.5103, allocations: 10.31 kB / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.5103, allocations: 9.906 kB / 0.8214 GB, free: 14.25 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.816e-05/0.5103, allocations: 113.2 kB / 0.8215 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.5103, allocations: 10.77 kB / 0.8215 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.5104, allocations: 15.84 kB / 0.8215 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5104, allocations: 2.203 kB / 0.8215 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5104, allocations: 0 / 0.8215 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5104, allocations: 4.562 kB / 0.8215 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.213e-05/0.5105, allocations: 151.3 kB / 0.8217 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5105, allocations: 0 / 0.8217 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.968e-05/0.5105, allocations: 25.58 kB / 0.8217 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.5105, allocations: 5.312 kB / 0.8217 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.5106, allocations: 13.33 kB / 0.8217 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5106, allocations: 0 / 0.8217 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5106, allocations: 2.219 kB / 0.8217 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.5108, allocations: 136.6 kB / 0.8218 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.5108, allocations: 14.48 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.5108, allocations: 1.656 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.523e-05/0.5108, allocations: 13.66 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.5108, allocations: 14.94 kB / 0.8219 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.5109, allocations: 3.203 kB / 0.8219 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.947e-05/0.5109, allocations: 75.28 kB / 0.822 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5109, allocations: 0 / 0.822 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001624/0.511, allocations: 32.47 kB / 0.822 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: 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.0004805/0.5115, allocations: 0.6852 MB / 0.8227 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.5117, allocations: 85 kB / 0.8227 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5117, allocations: 4 kB / 0.8227 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.453e-05/0.5118, allocations: 51.48 kB / 0.8228 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.5119, allocations: 10.11 kB / 0.8228 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.5123, allocations: 195.6 kB / 0.823 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.591e-05/0.5124, allocations: 68.11 kB / 0.8231 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.5125, allocations: 44.92 kB / 0.8231 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.5126, allocations: 23.03 kB / 0.8231 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.5126, allocations: 3.938 kB / 0.8231 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/0.5292, allocations: 2.509 MB / 0.8256 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.629/7.158, allocations: 8 kB / 0.8256 GB, free: 11.93 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: 10.000596961937845] Failed to read output from testmodel.py, exit status != 0: 7.236701317131519 7.250406891 6.739072296 Calling exit ...