Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004404/0.004405, allocations: 101.7 kB / 15.73 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 191.7 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.193/1.193, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.224/1.224, allocations: 251.7 MB / 0.5094 GB, free: 424 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 75.89 kB / 0.7258 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5092/0.5105, allocations: 104.7 MB / 0.828 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002906/0.5135, allocations: 1.536 MB / 0.8295 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0005237/0.514, allocations: 186.4 kB / 0.8297 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.5141, allocations: 4 kB / 0.8297 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.5141, allocations: 0 / 0.8297 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 4.767e-05/0.5142, allocations: 3.938 kB / 0.8297 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.5146, allocations: 59.81 kB / 0.8298 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 6.911e-05/0.5146, allocations: 23.98 kB / 0.8298 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.5148, allocations: 19.97 kB / 0.8298 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.084e-05/0.5148, allocations: 15.92 kB / 0.8298 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.5149, allocations: 23.92 kB / 0.8299 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.5149, allocations: 7.938 kB / 0.8299 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.515, allocations: 43.95 kB / 0.8299 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.515, allocations: 15.92 kB / 0.8299 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.515, allocations: 15.94 kB / 0.8299 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.5152, allocations: 59.84 kB / 0.83 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.5152, allocations: 0 / 0.83 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5152, allocations: 0 / 0.83 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.5152, allocations: 0 / 0.83 GB, free: 0.6133 MB / 0.6231 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.0004599/0.5157, allocations: 362.9 kB / 0.8303 GB, free: 216 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.5157, allocations: 12.03 kB / 0.8303 GB, free: 204 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.5157, allocations: 0.9375 kB / 0.8303 GB, free: 204 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.5159, allocations: 170.5 kB / 0.8305 GB, free: 16 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.5159, allocations: 4.375 kB / 0.8305 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.5159, allocations: 8.375 kB / 0.8305 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.5161, allocations: 66.16 kB / 0.8306 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.5161, allocations: 192 / 0.8306 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.5161, allocations: 3.938 kB / 0.8306 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.5162, allocations: 0 / 0.8306 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.5163, allocations: 43.95 kB / 0.8306 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.5167, allocations: 280.8 kB / 0.8309 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.517, allocations: 62.47 kB / 0.831 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.954e-05/0.5171, allocations: 28.83 kB / 0.831 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/0.5174, allocations: 170.2 kB / 0.8311 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.5174, allocations: 34.56 kB / 0.8312 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.5174, allocations: 0 / 0.8312 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0003749/0.5178, allocations: 97.53 kB / 0.8313 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.5178, allocations: 51.41 kB / 0.8313 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.146e-05/0.5179, allocations: 117.8 kB / 0.8314 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.5179, allocations: 25.7 kB / 0.8315 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.518, allocations: 88.14 kB / 0.8315 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.518, allocations: 11.84 kB / 0.8316 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.518, allocations: 13.72 kB / 0.8316 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.5181, allocations: 322.8 kB / 0.8319 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.75e-05/0.5182, allocations: 15.98 kB / 0.8319 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.953e-05/0.5183, allocations: 23.97 kB / 0.8319 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.5184, allocations: 44.83 kB / 0.832 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5185, allocations: 3.938 kB / 0.832 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001942/0.5187, allocations: 77.92 kB / 0.832 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.5187, allocations: 4 kB / 0.832 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5187, allocations: 3.984 kB / 0.832 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.5187, allocations: 3.984 kB / 0.832 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.609e-05/0.5188, allocations: 15.98 kB / 0.8321 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.5188, allocations: 4 kB / 0.8321 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.38e-05/0.5189, allocations: 7.906 kB / 0.8321 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.5189, allocations: 3.984 kB / 0.8321 GB, free: 14.21 MB / 0.6387 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 7.123e-05/0.5189, allocations: 117.8 kB / 0.8322 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.519, allocations: 0 / 0.8322 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.5192, allocations: 81.55 kB / 0.8323 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.5192, allocations: 4 kB / 0.8323 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.5192, allocations: 0 / 0.8323 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5192, allocations: 0 / 0.8323 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.5194, allocations: 169.6 kB / 0.8324 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5194, allocations: 0 / 0.8324 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.254e-05/0.5195, allocations: 15.92 kB / 0.8324 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5195, allocations: 0 / 0.8324 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.5195, allocations: 4 kB / 0.8325 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5195, allocations: 0 / 0.8325 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5195, allocations: 0 / 0.8325 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.5197, allocations: 183.3 kB / 0.8326 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.5198, allocations: 77.11 kB / 0.8327 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.5198, allocations: 0 / 0.8327 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.5199, allocations: 7.984 kB / 0.8327 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.52, allocations: 8 kB / 0.8327 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.52, allocations: 7.922 kB / 0.8327 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.661e-05/0.52, allocations: 87.28 kB / 0.8328 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.52, allocations: 0 / 0.8328 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002256/0.5202, allocations: 16 kB / 0.8328 GB, free: 13.35 MB / 0.6387 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.000172/0.5204, allocations: 128.2 kB / 0.8329 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.5207, allocations: 47.95 kB / 0.833 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5207, allocations: 0 / 0.833 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 9.085e-05/0.5208, allocations: 31.97 kB / 0.833 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.521, allocations: 3.938 kB / 0.833 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.5213, allocations: 117.5 kB / 0.8331 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.5215, allocations: 0.6883 MB / 0.8338 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.14e-05/0.5216, allocations: 7.984 kB / 0.8338 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.5216, allocations: 11.44 kB / 0.8338 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of SimCode: time 1.9e-07/0.5216, allocations: 0 / 0.8338 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of Templates: time 0.003096/0.5247, allocations: 0.9706 MB / 0.8348 GB, free: 11.29 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)