Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001209/0.001209, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009632/0.0009632, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9085/0.9085, 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.7317/0.7317, allocations: 154.6 MB / 413.8 MB, free: 0.8164 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.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.086e-05, allocations: 5.453 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.001906/0.001927, allocations: 1.559 MB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003785/0.002305, allocations: 175.4 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.002342, allocations: 4 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.00237, allocations: 7.938 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.029e-05/0.00241, allocations: 3.938 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.002743, allocations: 55.81 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.508e-05/0.002818, allocations: 35.91 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.59e-05/0.002914, allocations: 11.98 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.021e-05/0.002954, allocations: 23.86 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.183e-05/0.002996, allocations: 19.97 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.003011, allocations: 4 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.003114, allocations: 43.95 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.003127, allocations: 11.97 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.934e-05/0.003146, allocations: 15.94 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.003281, allocations: 75.77 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.003283, allocations: 0 / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.122e-06/0.003285, allocations: 0 / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.003288, allocations: 3.938 kB / 0.6201 GB, free: 11.61 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003598/0.003648, allocations: 278.2 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.003685, allocations: 12.03 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.855e-05/0.003714, allocations: 34.73 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.003741, allocations: 4.938 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.687e-05/0.003818, allocations: 109.7 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.003839, allocations: 12.38 kB / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.003847, allocations: 384 / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.004006, allocations: 66.22 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.004015, allocations: 4.172 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.004026, allocations: 4.312 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.004033, allocations: 4.125 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.004149, allocations: 43.95 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.00458, allocations: 239.9 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.004856, allocations: 66.48 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.004915, allocations: 24.83 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.005083, allocations: 15.98 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.005107, allocations: 34.56 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.655e-06/0.005109, allocations: 0 / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003038/0.005413, allocations: 93.62 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.005452, allocations: 51.41 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.707e-05/0.005539, allocations: 113.8 kB / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.005554, allocations: 25.7 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.005602, allocations: 84.08 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.005624, allocations: 11.95 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.005666, allocations: 21.64 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.005782, allocations: 314.8 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-05/0.005846, allocations: 19.98 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.336e-05/0.005889, allocations: 19.97 kB / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.311e-05/0.005982, allocations: 48.81 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.005984, allocations: 0 / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001256/0.00611, allocations: 81.55 kB / 0.6219 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.006122, allocations: 4 kB / 0.6219 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.006127, allocations: 3.938 kB / 0.6219 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.006139, allocations: 0 / 0.6219 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.873e-05/0.006187, allocations: 19.92 kB / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.006192, allocations: 0 / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.848e-05/0.00622, allocations: 7.984 kB / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.006226, allocations: 8 kB / 0.6219 GB, free: 9.566 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: 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 5.9e-05/0.006285, allocations: 110.8 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.0063, allocations: 7.938 kB / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004179/0.006718, allocations: 85.59 kB / 0.6221 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.00672, allocations: 4 kB / 0.6221 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.006724, allocations: 384 / 0.6221 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.006727, allocations: 0 / 0.6221 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.006835, allocations: 144.7 kB / 0.6222 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.006837, allocations: 0 / 0.6222 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.00687, allocations: 11.98 kB / 0.6222 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.006873, allocations: 3.984 kB / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.006879, allocations: 3.984 kB / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.00688, allocations: 3.938 kB / 0.6223 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.006881, allocations: 0 / 0.6223 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.007019, allocations: 175.5 kB / 0.6224 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-06/0.007026, allocations: 3.953 kB / 0.6224 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.007037, allocations: 0 / 0.6224 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.92e-05/0.007076, allocations: 7.984 kB / 0.6224 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.007118, allocations: 11.98 kB / 0.6224 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.007121, allocations: 0 / 0.6224 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.923e-05/0.00715, allocations: 91.27 kB / 0.6225 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00715, allocations: 0 / 0.6225 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001734/0.007323, allocations: 15.94 kB / 0.6226 GB, free: 8.82 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: 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.0003815/0.007705, allocations: 0.7279 MB / 0.6233 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.007838, allocations: 39.95 kB / 0.6233 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.00784, allocations: 0 / 0.6233 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.913e-05/0.007889, allocations: 31.91 kB / 0.6233 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.008114, allocations: 5.875 kB / 0.6233 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009157/0.00903, allocations: 1.292 MB / 0.6246 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.466e-05/0.009075, allocations: 67.34 kB / 0.6247 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.009099, allocations: 4 kB / 0.6247 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.009139, allocations: 24.48 kB / 0.6247 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of SimCode: time 4.91e-07/0.009139, allocations: 0 / 0.6247 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.02668, allocations: 2.612 MB / 0.6272 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.817/6.843, allocations: 6.234 kB / 0.6272 GB, free: 4.031 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.528791474178433] Failed to read output from testmodel.py, exit status != 0: 6.923337744548917 6.9327431409999996 6.927725518 Calling exit ...