Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.184/2.184, allocations: 251.1 MB / 266.7 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001392/0.001391, allocations: 172.2 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.488/2.488, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001378/0.001378, allocations: 90.11 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006441/0.0006444, allocations: 17.36 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2245, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001831/0.2264, allocations: 1.26 MB / 0.9007 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000476/0.2269, allocations: 172.5 kB / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.2269, allocations: 0 / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.227, allocations: 3.938 kB / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.71e-05/0.227, allocations: 0 / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.2273, allocations: 39.89 kB / 0.9009 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.744e-05/0.2274, allocations: 31.92 kB / 0.901 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.933e-05/0.2275, allocations: 15.98 kB / 0.901 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.235e-05/0.2276, allocations: 7.938 kB / 0.901 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.505e-05/0.2276, allocations: 19.97 kB / 0.901 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.2277, allocations: 3.938 kB / 0.901 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.2278, allocations: 39.95 kB / 0.901 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.2278, allocations: 4 kB / 0.901 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.2278, allocations: 29.7 kB / 0.9011 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.228, allocations: 39.92 kB / 0.9011 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.228, allocations: 0 / 0.9011 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.893e-06/0.228, allocations: 0 / 0.9011 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.309e-06/0.228, allocations: 0 / 0.9011 GB, free: 63.86 MB / 0.6042 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.0004761/0.2285, allocations: 363.4 kB / 0.9015 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2285, allocations: 8.031 kB / 0.9015 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.2286, allocations: 4.844 kB / 0.9015 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.83e-05/0.2287, allocations: 172.5 kB / 0.9016 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.2287, allocations: 384 / 0.9016 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.2287, allocations: 8.375 kB / 0.9016 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.229, allocations: 70.22 kB / 0.9017 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.229, allocations: 4.125 kB / 0.9017 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.229, allocations: 7.938 kB / 0.9017 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2291, allocations: 0 / 0.9017 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.2294, allocations: 55.95 kB / 0.9018 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.2298, allocations: 284.7 kB / 0.902 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004712/0.2303, allocations: 62.53 kB / 0.9021 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.2304, allocations: 32.91 kB / 0.9021 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002363/0.2307, allocations: 174.2 kB / 0.9023 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.2307, allocations: 30.56 kB / 0.9023 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.2307, allocations: 0 / 0.9023 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005702/0.2313, allocations: 113.6 kB / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.739e-05/0.2313, allocations: 55.39 kB / 0.9025 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.976e-05/0.2314, allocations: 105.9 kB / 0.9026 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.2314, allocations: 29.7 kB / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.2315, allocations: 88.12 kB / 0.9027 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.2315, allocations: 7.906 kB / 0.9027 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.2315, allocations: 0 / 0.9027 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.449e-05/0.2316, allocations: 314.8 kB / 0.903 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.2318, allocations: 23.97 kB / 0.903 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.2319, allocations: 27.98 kB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.2321, allocations: 27.92 kB / 0.9031 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2321, allocations: 0 / 0.9031 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003565/0.2325, allocations: 97.48 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2325, allocations: 5.875 kB / 0.9032 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2325, allocations: 3.938 kB / 0.9032 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2325, allocations: 0 / 0.9032 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.2327, allocations: 15.98 kB / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2327, allocations: 0 / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.2328, allocations: 23.92 kB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.2328, allocations: 0 / 0.9032 GB, free: 61.43 MB / 0.6042 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 (rea2Int.y,bin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.763e-05/0.2329, allocations: 118.9 kB / 0.9033 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.233, allocations: 0 / 0.9033 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003919/0.2334, allocations: 97.48 kB / 0.9034 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2334, allocations: 0 / 0.9034 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2334, allocations: 0 / 0.9034 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.2334, allocations: 85.02 kB / 0.9035 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.2335, allocations: 0 / 0.9035 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.2336, allocations: 7.984 kB / 0.9035 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.2337, allocations: 15.92 kB / 0.9035 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004336/0.2341, allocations: 168.9 kB / 0.9037 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003945/0.2345, allocations: 262.7 kB / 0.904 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001687/0.2347, allocations: 24.45 kB / 0.904 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.824e-05/0.2348, allocations: 99.5 kB / 0.9041 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of Backend: time 5.41e-07/0.2348, allocations: 0 / 0.9041 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006131/0.2354, allocations: 123.6 kB / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004197/0.2358, allocations: 0.572 MB / 0.9047 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of Templates: time 0.004055/0.2399, allocations: 0.9491 MB / 0.9057 GB, free: 58.82 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)