Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001375/0.001375, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002366/0.002366, allocations: 216.3 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002469/0.002469, allocations: 297.6 kB / 312.7 MB, free: 2.586 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.211/1.211, allocations: 180.6 MB / 0.5369 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.004309/0.004309, allocations: 105.7 kB / 0.7395 GB, free: 27.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2041, allocations: 95.38 MB / 0.8327 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.00316/0.2073, allocations: 1.565 MB / 0.8342 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005389/0.2078, allocations: 170 kB / 0.8343 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.2078, allocations: 3.938 kB / 0.8343 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/0.2079, allocations: 7.938 kB / 0.8344 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.828e-05/0.2079, allocations: 3.938 kB / 0.8344 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.2083, allocations: 51.88 kB / 0.8344 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.957e-05/0.2084, allocations: 31.92 kB / 0.8344 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.583e-05/0.2085, allocations: 11.98 kB / 0.8344 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.19e-05/0.2085, allocations: 15.94 kB / 0.8345 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.836e-05/0.2086, allocations: 23.91 kB / 0.8345 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.2086, allocations: 4 kB / 0.8345 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.2087, allocations: 51.94 kB / 0.8345 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.2087, allocations: 4 kB / 0.8345 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.2088, allocations: 19.92 kB / 0.8346 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.2089, allocations: 68 kB / 0.8346 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2089, allocations: 0 / 0.8346 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2089, allocations: 3.938 kB / 0.8346 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2089, allocations: 0 / 0.8346 GB, free: 6.273 MB / 0.5762 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.0004895/0.2094, allocations: 290.2 kB / 0.8349 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.2095, allocations: 17.34 kB / 0.8349 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.2095, allocations: 30.75 kB / 0.835 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.2095, allocations: 4.938 kB / 0.835 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.2096, allocations: 106.5 kB / 0.8351 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.2097, allocations: 8.375 kB / 0.8351 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.2097, allocations: 384 / 0.8351 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.2099, allocations: 66.22 kB / 0.8351 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.2099, allocations: 3.938 kB / 0.8351 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.2099, allocations: 0 / 0.8351 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.2099, allocations: 0 / 0.8351 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.2101, allocations: 55.83 kB / 0.8352 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.2105, allocations: 243.9 kB / 0.8354 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.2108, allocations: 54.59 kB / 0.8355 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.2109, allocations: 24.78 kB / 0.8355 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/0.2111, allocations: 15.98 kB / 0.8355 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.2111, allocations: 38.55 kB / 0.8355 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.2111, allocations: 4 kB / 0.8356 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003875/0.2115, allocations: 93.58 kB / 0.8356 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.2116, allocations: 55.41 kB / 0.8357 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.18e-05/0.2117, allocations: 109.8 kB / 0.8358 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.2117, allocations: 25.7 kB / 0.8358 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.2117, allocations: 92.19 kB / 0.8359 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.2118, allocations: 7.953 kB / 0.8359 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.2118, allocations: 17.72 kB / 0.8359 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2119, allocations: 318.8 kB / 0.8362 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.786e-05/0.212, allocations: 31.84 kB / 0.8363 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.978e-05/0.2121, allocations: 11.98 kB / 0.8363 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.2123, allocations: 48.81 kB / 0.8363 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2123, allocations: 0 / 0.8363 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002208/0.2125, allocations: 81.61 kB / 0.8364 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.2125, allocations: 4 kB / 0.8364 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2125, allocations: 0 / 0.8364 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2125, allocations: 0 / 0.8364 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.272e-05/0.2126, allocations: 15.98 kB / 0.8364 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.2126, allocations: 0 / 0.8364 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.439e-05/0.2127, allocations: 11.92 kB / 0.8364 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.2127, allocations: 4.312 kB / 0.8364 GB, free: 4.223 MB / 0.5762 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 8.676e-05/0.2128, allocations: 117.7 kB / 0.8366 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.2128, allocations: 4 kB / 0.8366 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.2131, allocations: 89.62 kB / 0.8366 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2131, allocations: 0 / 0.8366 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2131, allocations: 3.984 kB / 0.8366 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2131, allocations: 0 / 0.8366 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.2132, allocations: 144.6 kB / 0.8368 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2132, allocations: 3.938 kB / 0.8368 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-05/0.2133, allocations: 11.98 kB / 0.8368 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2133, allocations: 0 / 0.8368 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.2133, allocations: 4 kB / 0.8368 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2133, allocations: 0 / 0.8368 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2133, allocations: 3.938 kB / 0.8368 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.2136, allocations: 175.4 kB / 0.837 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.2136, allocations: 4 kB / 0.837 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.2136, allocations: 0 / 0.837 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.2137, allocations: 4 kB / 0.837 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.2138, allocations: 8.406 kB / 0.837 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.2138, allocations: 0 / 0.837 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.195e-05/0.2138, allocations: 95.27 kB / 0.8371 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2138, allocations: 0 / 0.8371 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002419/0.2141, allocations: 12 kB / 0.8371 GB, free: 3.477 MB / 0.5762 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.0006517/0.2147, allocations: 0.7318 MB / 0.8378 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.2149, allocations: 47.95 kB / 0.8379 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2149, allocations: 0 / 0.8379 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.567e-05/0.215, allocations: 23.98 kB / 0.8379 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.2154, allocations: 13.48 kB / 0.8379 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.217, allocations: 1.286 MB / 0.8391 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.778e-05/0.2171, allocations: 67.34 kB / 0.8392 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.596e-05/0.2171, allocations: 7.938 kB / 0.8392 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.2171, allocations: 19.42 kB / 0.8392 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of SimCode: time 7.12e-07/0.2171, allocations: 0 / 0.8392 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.247, allocations: 2.492 MB / 0.8417 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.11, allocations: 10.45 kB / 0.8417 GB, free: 14.79 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.302130994852632] Failed to read output from testmodel.py, exit status != 0: 11.214712117798626 11.230698114 11.01871742 Calling exit ...