Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00157/0.00157, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001758/0.001758, allocations: 192 kB / 17.2 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.826/0.826, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.91 kB / 0.4911 GB, free: 7.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4202, allocations: 77.93 MB / 0.5672 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.003038/0.4233, allocations: 1.516 MB / 0.5687 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000459/0.4238, allocations: 180.5 kB / 0.5688 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.069e-05/0.4239, allocations: 1.344 kB / 0.5688 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.4239, allocations: 2.109 kB / 0.5688 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.917e-05/0.424, allocations: 3.938 kB / 0.5688 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.4243, allocations: 56.14 kB / 0.5689 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.092e-05/0.4244, allocations: 39.91 kB / 0.5689 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.4245, allocations: 13.83 kB / 0.569 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.647e-05/0.4246, allocations: 11.83 kB / 0.569 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.4246, allocations: 21.22 kB / 0.569 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.4246, allocations: 6.922 kB / 0.569 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.4248, allocations: 46.27 kB / 0.569 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.4248, allocations: 11.52 kB / 0.569 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.4249, allocations: 18.14 kB / 0.5691 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.4251, allocations: 56.81 kB / 0.5691 GB, free: 31.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4251, allocations: 6.625 kB / 0.5691 GB, free: 31.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4251, allocations: 0 / 0.5691 GB, free: 31.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.4251, allocations: 0 / 0.5691 GB, free: 31.39 MB / 446.1 MB 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.000434/0.4255, allocations: 361.7 kB / 0.5695 GB, free: 31.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.4256, allocations: 9.562 kB / 0.5695 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.4256, allocations: 7.656 kB / 0.5695 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.064e-05/0.4257, allocations: 172.1 kB / 0.5697 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.4257, allocations: 1.719 kB / 0.5697 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.4258, allocations: 3.344 kB / 0.5697 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.426, allocations: 62.56 kB / 0.5697 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.426, allocations: 1.438 kB / 0.5697 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.426, allocations: 3.938 kB / 0.5697 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.426, allocations: 1.5 kB / 0.5697 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.4262, allocations: 50.72 kB / 0.5698 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.4266, allocations: 281.9 kB / 0.57 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.4269, allocations: 58.22 kB / 0.5701 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.427, allocations: 27.36 kB / 0.5701 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002105/0.4273, allocations: 166.8 kB / 0.5703 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.4273, allocations: 36.2 kB / 0.5703 GB, free: 30.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.4273, allocations: 0 / 0.5703 GB, free: 30.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003914/0.4277, allocations: 94.77 kB / 0.5704 GB, free: 30.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.4277, allocations: 53.81 kB / 0.5705 GB, free: 30.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.621e-05/0.4278, allocations: 111.4 kB / 0.5706 GB, free: 29.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.4278, allocations: 28.17 kB / 0.5706 GB, free: 29.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.4278, allocations: 82.61 kB / 0.5707 GB, free: 29.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.4279, allocations: 9.031 kB / 0.5707 GB, free: 29.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.4279, allocations: 15.2 kB / 0.5707 GB, free: 29.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.765e-05/0.428, allocations: 324.5 kB / 0.571 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.656e-05/0.4281, allocations: 16.22 kB / 0.571 GB, free: 29.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.399e-05/0.4282, allocations: 24.83 kB / 0.571 GB, free: 29.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.4283, allocations: 46.44 kB / 0.5711 GB, free: 29.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.4283, allocations: 3.938 kB / 0.5711 GB, free: 29.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002195/0.4286, allocations: 81.55 kB / 0.5712 GB, free: 29.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4286, allocations: 7.906 kB / 0.5712 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4286, allocations: 2.328 kB / 0.5712 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.4286, allocations: 0.5312 kB / 0.5712 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.122e-05/0.4287, allocations: 12.69 kB / 0.5712 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.4287, allocations: 0.9375 kB / 0.5712 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.972e-05/0.4288, allocations: 10.16 kB / 0.5712 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.4288, allocations: 1.531 kB / 0.5712 GB, free: 29.45 MB / 446.1 MB 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 5.982e-05/0.4289, allocations: 122 kB / 0.5713 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.4289, allocations: 7.531 kB / 0.5713 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.4292, allocations: 83.45 kB / 0.5714 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4292, allocations: 0.8438 kB / 0.5714 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4292, allocations: 1.062 kB / 0.5714 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4292, allocations: 0 / 0.5714 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.4294, allocations: 178 kB / 0.5716 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.4294, allocations: 0 / 0.5716 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.83e-05/0.4294, allocations: 10.92 kB / 0.5716 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4295, allocations: 1.547 kB / 0.5716 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.4295, allocations: 0.6562 kB / 0.5716 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4295, allocations: 2.438 kB / 0.5716 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4295, allocations: 0 / 0.5716 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.4297, allocations: 177.4 kB / 0.5718 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.4298, allocations: 79.39 kB / 0.5718 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.4298, allocations: 0.6094 kB / 0.5718 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.767e-05/0.4299, allocations: 14.69 kB / 0.5718 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.4299, allocations: 5.781 kB / 0.5719 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.43, allocations: 1.625 kB / 0.5719 GB, free: 28.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.493e-05/0.43, allocations: 93.23 kB / 0.5719 GB, free: 28.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.43, allocations: 1.406 kB / 0.5719 GB, free: 28.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.4303, allocations: 18.28 kB / 0.572 GB, free: 28.73 MB / 446.1 MB 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.0001599/0.4304, allocations: 117 kB / 0.5721 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.4307, allocations: 48.41 kB / 0.5721 GB, free: 28.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4307, allocations: 1.125 kB / 0.5721 GB, free: 28.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.4308, allocations: 24.97 kB / 0.5721 GB, free: 28.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.4311, allocations: 13.38 kB / 0.5722 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.4314, allocations: 125.5 kB / 0.5723 GB, free: 28.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.4315, allocations: 0.6803 MB / 0.5729 GB, free: 27.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.34e-05/0.4316, allocations: 6.359 kB / 0.5729 GB, free: 27.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.4316, allocations: 16.25 kB / 0.573 GB, free: 27.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4316, allocations: 0 / 0.573 GB, free: 27.8 MB / 446.1 MB Notification: Performance of Templates: time 0.003632/0.4352, allocations: 0.9717 MB / 0.5739 GB, free: 27.74 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)