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.001419/0.001419, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001474/0.001474, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.481/1.481, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.00246/0.00246, allocations: 286.9 kB / 309.8 MB, free: 3.418 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.04/1.04, allocations: 180.6 MB / 0.5338 GB, free: 12.34 MB / 398.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.002843/0.002843, allocations: 103.8 kB / 0.7347 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6074/0.6103, allocations: 95.34 MB / 0.8278 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001926/0.6122, allocations: 0.5874 MB / 0.8284 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004146/0.6126, allocations: 109.7 kB / 0.8285 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.6127, allocations: 0 / 0.8285 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.6127, allocations: 1.625 kB / 0.8285 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.151e-06/0.6127, allocations: 0 / 0.8285 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.6131, allocations: 38.11 kB / 0.8285 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.6132, allocations: 64.55 kB / 0.8286 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.993e-05/0.6132, allocations: 1.734 kB / 0.8286 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.317e-05/0.6133, allocations: 30.73 kB / 0.8286 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.086e-05/0.6133, allocations: 23.81 kB / 0.8287 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.6133, allocations: 3.594 kB / 0.8287 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.6135, allocations: 45.97 kB / 0.8287 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.629e-05/0.6135, allocations: 22.72 kB / 0.8287 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.6136, allocations: 21.89 kB / 0.8288 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.6137, allocations: 67 kB / 0.8288 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.6138, allocations: 9.844 kB / 0.8288 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.226e-06/0.6138, allocations: 0 / 0.8288 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.6138, allocations: 0 / 0.8288 GB, free: 2.496 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.0004718/0.6142, allocations: 386.8 kB / 0.8292 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.6143, allocations: 7.875 kB / 0.8292 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.285e-05/0.6143, allocations: 3.844 kB / 0.8292 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.6143, allocations: 41.83 kB / 0.8292 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.6144, allocations: 6.531 kB / 0.8293 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.423e-05/0.6144, allocations: 161.8 kB / 0.8294 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.6146, allocations: 285.8 kB / 0.8297 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.6146, allocations: 6.984 kB / 0.8297 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.6149, allocations: 83.48 kB / 0.8298 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.6149, allocations: 4 kB / 0.8298 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.6149, allocations: 11.27 kB / 0.8298 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.6149, allocations: 0 / 0.8298 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.6153, allocations: 135.2 kB / 0.8299 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.6154, allocations: 186.6 kB / 0.8301 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.6158, allocations: 84.47 kB / 0.8302 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.6159, allocations: 39.56 kB / 0.8302 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.6159, allocations: 10.66 kB / 0.8302 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.616, allocations: 39.2 kB / 0.8303 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.616, allocations: 5.312 kB / 0.8303 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0005729/0.6165, allocations: 142.9 kB / 0.8304 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.6166, allocations: 54.03 kB / 0.8304 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.527e-05/0.6166, allocations: 90.56 kB / 0.8305 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.6166, allocations: 29.7 kB / 0.8306 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.636e-05/0.6166, allocations: 84.14 kB / 0.8306 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.6167, allocations: 36.33 kB / 0.8307 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.6167, allocations: 29.38 kB / 0.8307 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.044e-05/0.6168, allocations: 315 kB / 0.831 GB, free: 464 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.6169, allocations: 33.69 kB / 0.831 GB, free: 456 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.6171, allocations: 31.11 kB / 0.8311 GB, free: 452 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.6173, allocations: 77.39 kB / 0.8311 GB, free: 424 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6173, allocations: 0 / 0.8311 GB, free: 424 kB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003393/0.6177, allocations: 126.4 kB / 0.8313 GB, free: 360 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.6177, allocations: 5.812 kB / 0.8313 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.6177, allocations: 0 / 0.8313 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.6177, allocations: 0 / 0.8313 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.6179, allocations: 24.28 kB / 0.8313 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.6179, allocations: 4.594 kB / 0.8313 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.6179, allocations: 3.984 kB / 0.8313 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.618, allocations: 6.609 kB / 0.8313 GB, free: 356 kB / 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 7.287e-05/0.618, allocations: 118.6 kB / 0.8314 GB, free: 232 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.6181, allocations: 14.52 kB / 0.8314 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/0.6181, allocations: 12.67 kB / 0.8314 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.6181, allocations: 2.625 kB / 0.8314 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.6181, allocations: 0 / 0.8314 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6181, allocations: 0.7969 kB / 0.8314 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.6182, allocations: 179.6 kB / 0.8316 GB, free: 0 / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.6182, allocations: 0.75 kB / 0.8316 GB, free: 0 / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.6184, allocations: 23.88 kB / 0.8316 GB, free: 16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.6184, allocations: 6.562 kB / 0.8316 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.6184, allocations: 1.453 kB / 0.8316 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.6184, allocations: 4.797 kB / 0.8317 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6184, allocations: 2.625 kB / 0.8317 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.6188, allocations: 151 kB / 0.8318 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.6189, allocations: 84.69 kB / 0.8319 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.6189, allocations: 4.609 kB / 0.8319 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.24e-05/0.6189, allocations: 8.062 kB / 0.8319 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.32e-05/0.619, allocations: 10.33 kB / 0.8319 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.619, allocations: 11.44 kB / 0.8319 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.291e-05/0.6191, allocations: 75.28 kB / 0.832 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.6191, allocations: 0 / 0.832 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002535/0.6193, allocations: 25.53 kB / 0.832 GB, free: 15.7 MB / 0.5919 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.0008859/0.6202, allocations: 0.6982 MB / 0.8327 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003875/0.6206, allocations: 88.52 kB / 0.8328 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.6206, allocations: 0 / 0.8328 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.6208, allocations: 49.25 kB / 0.8328 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.6209, allocations: 0 / 0.8328 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005767/0.6215, allocations: 202.6 kB / 0.833 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.6218, allocations: 0.6844 MB / 0.8337 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.622, allocations: 41.98 kB / 0.8337 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.155e-05/0.6221, allocations: 21.7 kB / 0.8337 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.6221, allocations: 4 kB / 0.8337 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.6433, allocations: 2.09 MB / 0.8358 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.185/8.829, allocations: 10.86 kB / 0.8358 GB, free: 13.71 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.796764028025791] Failed to read output from testmodel.py, exit status != 0: 8.95674021099694 8.98185882 8.363644565 Calling exit ...