Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001535/0.001535, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001844/0.001844, allocations: 217.3 kB / 23.03 MB, free: 4.922 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.003761/0.003761, allocations: 292.7 kB / 313.5 MB, free: 2.617 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.26/1.26, allocations: 180.6 MB / 0.5377 GB, free: 14.53 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.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="cs",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.002767/0.002767, allocations: 103.8 kB / 0.7403 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2083, allocations: 95.38 MB / 0.8334 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001796/0.2101, allocations: 0.596 MB / 0.834 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004052/0.2105, allocations: 108 kB / 0.8341 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.2105, allocations: 0 / 0.8341 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.369e-05/0.2105, allocations: 3.938 kB / 0.8341 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.893e-06/0.2105, allocations: 0 / 0.8341 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.2109, allocations: 43.89 kB / 0.8342 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.211, allocations: 59.94 kB / 0.8342 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.211, allocations: 4 kB / 0.8342 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.751e-05/0.2111, allocations: 27.97 kB / 0.8343 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.508e-05/0.2111, allocations: 19.97 kB / 0.8343 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.2111, allocations: 4 kB / 0.8343 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.2113, allocations: 55.94 kB / 0.8343 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.2113, allocations: 27.91 kB / 0.8344 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.2114, allocations: 23.91 kB / 0.8344 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.2115, allocations: 72.06 kB / 0.8345 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2115, allocations: 0 / 0.8345 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2115, allocations: 0 / 0.8345 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.2115, allocations: 0 / 0.8345 GB, free: 7.242 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005111/0.2121, allocations: 298.3 kB / 0.8347 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.2121, allocations: 9.344 kB / 0.8347 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.17e-05/0.2121, allocations: 4.188 kB / 0.8347 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.2122, allocations: 38.75 kB / 0.8348 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.2122, allocations: 8.938 kB / 0.8348 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.025e-05/0.2123, allocations: 110.4 kB / 0.8349 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004443/0.2127, allocations: 0.5338 MB / 0.8354 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.2127, allocations: 4.375 kB / 0.8354 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.213, allocations: 85.69 kB / 0.8355 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.213, allocations: 0 / 0.8355 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.213, allocations: 4 kB / 0.8355 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.213, allocations: 7.984 kB / 0.8355 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003708/0.2134, allocations: 131.8 kB / 0.8356 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.2136, allocations: 140.7 kB / 0.8358 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.2139, allocations: 98.45 kB / 0.8359 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.214, allocations: 40.83 kB / 0.8359 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.2141, allocations: 4 kB / 0.8359 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.2141, allocations: 34.5 kB / 0.8359 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.2141, allocations: 0 / 0.8359 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0005457/0.2146, allocations: 149.8 kB / 0.8361 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.2147, allocations: 55.34 kB / 0.8361 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.881e-05/0.2147, allocations: 93.86 kB / 0.8362 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.2148, allocations: 29.64 kB / 0.8363 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.2148, allocations: 84.14 kB / 0.8363 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.2149, allocations: 43.67 kB / 0.8364 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.2149, allocations: 29.7 kB / 0.8364 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2151, allocations: 310.8 kB / 0.8367 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.2152, allocations: 35.97 kB / 0.8367 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.2153, allocations: 31.97 kB / 0.8368 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.2156, allocations: 76.75 kB / 0.8368 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2156, allocations: 0 / 0.8368 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003373/0.216, allocations: 117.5 kB / 0.837 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.216, allocations: 4 kB / 0.837 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.216, allocations: 11.94 kB / 0.837 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.216, allocations: 4 kB / 0.837 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.2161, allocations: 23.97 kB / 0.837 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2161, allocations: 0 / 0.837 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.426e-05/0.2162, allocations: 7.938 kB / 0.837 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.2162, allocations: 4 kB / 0.837 GB, free: 4.301 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: 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 0.0001028/0.2163, allocations: 118.5 kB / 0.8371 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.2164, allocations: 11.89 kB / 0.8371 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.276e-05/0.2164, allocations: 15.84 kB / 0.8371 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2164, allocations: 0 / 0.8371 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2164, allocations: 4 kB / 0.8372 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2164, allocations: 0 / 0.8372 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.2165, allocations: 144.7 kB / 0.8373 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2165, allocations: 0 / 0.8373 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.2167, allocations: 27.86 kB / 0.8373 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2167, allocations: 4 kB / 0.8373 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.2167, allocations: 7.984 kB / 0.8373 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2167, allocations: 0 / 0.8373 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2167, allocations: 0 / 0.8373 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/0.2171, allocations: 137 kB / 0.8375 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.2171, allocations: 15.86 kB / 0.8375 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.2171, allocations: 8 kB / 0.8375 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.643e-05/0.2171, allocations: 3.938 kB / 0.8375 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.2172, allocations: 15.97 kB / 0.8375 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.2172, allocations: 4 kB / 0.8375 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.978e-05/0.2173, allocations: 79.22 kB / 0.8376 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2173, allocations: 0 / 0.8376 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002214/0.2175, allocations: 20 kB / 0.8376 GB, free: 3.621 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: 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.0007747/0.2183, allocations: 0.6952 MB / 0.8383 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003536/0.2186, allocations: 99.8 kB / 0.8384 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2186, allocations: 0 / 0.8384 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.2188, allocations: 47.91 kB / 0.8384 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.2189, allocations: 7.656 kB / 0.8384 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.2195, allocations: 198.6 kB / 0.8386 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.384e-05/0.2195, allocations: 67.34 kB / 0.8387 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001809/0.2197, allocations: 43.72 kB / 0.8387 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.408e-05/0.2198, allocations: 19.42 kB / 0.8387 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.2198, allocations: 3.938 kB / 0.8387 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.2416, allocations: 2.217 MB / 0.8409 GB, free: 308 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.25, allocations: 9.078 kB / 0.8409 GB, free: 304 kB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.58870940306224] Failed to read output from testmodel.py, exit status != 0: 11.415067651076242 11.44096755 11.224824784 Calling exit ...