Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007895/0.0007895, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0008947/0.0008947, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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.8725/0.8725, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7052/0.7052, allocations: 154.6 MB / 413.8 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.441e-05, allocations: 4.672 kB / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001246/0.001271, allocations: 0.5932 MB / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002814/0.001552, allocations: 99.59 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.89e-05/0.001571, allocations: 7.938 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.001601, allocations: 0 / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-06/0.001608, allocations: 0 / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.001979, allocations: 39.89 kB / 0.6189 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.00209, allocations: 63.92 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.002128, allocations: 3.938 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.448e-05/0.002183, allocations: 39.89 kB / 0.619 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.756e-05/0.00222, allocations: 23.95 kB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.002235, allocations: 4 kB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.002349, allocations: 47.89 kB / 0.6191 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.13e-05/0.002381, allocations: 23.97 kB / 0.6191 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.002405, allocations: 19.97 kB / 0.6191 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.002545, allocations: 91.73 kB / 0.6192 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.684e-06/0.002547, allocations: 0 / 0.6192 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.91e-07/0.002548, allocations: 0 / 0.6192 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.002551, allocations: 0 / 0.6192 GB, free: 12.57 MB / 0.5886 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.0003616/0.002913, allocations: 294.3 kB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.002949, allocations: 8.031 kB / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.002984, allocations: 42.75 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.003015, allocations: 8.891 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.601e-05/0.003071, allocations: 113.7 kB / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.003312, allocations: 0.5376 MB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.003322, allocations: 384 / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.003485, allocations: 86.12 kB / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.003493, allocations: 192 / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.003501, allocations: 4.375 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.003507, allocations: 3.938 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.003694, allocations: 127.8 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.003844, allocations: 136.8 kB / 0.6205 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.004014, allocations: 94.45 kB / 0.6206 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.323e-05/0.004087, allocations: 40.83 kB / 0.6206 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.004108, allocations: 8 kB / 0.6206 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.004126, allocations: 30.56 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/0.004127, allocations: 0 / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0003225/0.004449, allocations: 156.8 kB / 0.6208 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.004481, allocations: 55.41 kB / 0.6209 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.926e-05/0.00451, allocations: 89.86 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.004521, allocations: 25.7 kB / 0.621 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.938e-05/0.00454, allocations: 84.08 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.004582, allocations: 39.69 kB / 0.6211 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.004616, allocations: 29.7 kB / 0.6211 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.004689, allocations: 314.8 kB / 0.6214 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.858e-05/0.004758, allocations: 35.97 kB / 0.6215 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.88e-05/0.004827, allocations: 31.97 kB / 0.6215 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.004965, allocations: 80.69 kB / 0.6216 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.004967, allocations: 0 / 0.6216 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001735/0.005141, allocations: 109.6 kB / 0.6217 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.005153, allocations: 4 kB / 0.6217 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.005157, allocations: 0 / 0.6217 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.00517, allocations: 3.938 kB / 0.6217 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.087e-05/0.005261, allocations: 35.91 kB / 0.6217 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.005266, allocations: 0 / 0.6217 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.956e-05/0.005295, allocations: 7.953 kB / 0.6217 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.005305, allocations: 4 kB / 0.6217 GB, free: 9.652 MB / 0.5886 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.828e-05/0.005373, allocations: 118.8 kB / 0.6218 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-06/0.00538, allocations: 0 / 0.6218 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.005412, allocations: 15.97 kB / 0.6218 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.005415, allocations: 3.938 kB / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.00542, allocations: 0 / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005422, allocations: 0 / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.586e-05/0.005518, allocations: 164.5 kB / 0.622 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.005519, allocations: 0 / 0.622 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.181e-05/0.005571, allocations: 23.92 kB / 0.622 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.005573, allocations: 4 kB / 0.622 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.005583, allocations: 7.984 kB / 0.622 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.005587, allocations: 7.938 kB / 0.6221 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-07/0.005588, allocations: 0 / 0.6221 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.005786, allocations: 136.8 kB / 0.6222 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-06/0.005792, allocations: 3.984 kB / 0.6222 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.005804, allocations: 7.984 kB / 0.6222 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.813e-05/0.005832, allocations: 11.94 kB / 0.6222 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.005878, allocations: 11.97 kB / 0.6222 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.005884, allocations: 4 kB / 0.6222 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.936e-05/0.005903, allocations: 79.22 kB / 0.6223 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.005903, allocations: 0 / 0.6223 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000167/0.00607, allocations: 27.94 kB / 0.6223 GB, free: 8.965 MB / 0.5886 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.0004495/0.00652, allocations: 0.6904 MB / 0.623 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001948/0.006714, allocations: 87.81 kB / 0.6231 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.006716, allocations: 0 / 0.6231 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.227e-05/0.006788, allocations: 43.97 kB / 0.6231 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001017/0.00689, allocations: 9.812 kB / 0.6231 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.007239, allocations: 202.5 kB / 0.6233 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.33e-05/0.007282, allocations: 67.34 kB / 0.6234 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000104/0.007386, allocations: 39.95 kB / 0.6234 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.007427, allocations: 24.42 kB / 0.6235 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.007427, allocations: 0 / 0.6235 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.0235, allocations: 2.649 MB / 0.626 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.762/6.785, allocations: 4.938 kB / 0.626 GB, free: 5.219 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.42323828395456] Failed to read output from testmodel.py, exit status != 0: 6.864022046327591 6.87378928 6.869132475 Calling exit ...