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.001172/0.001172, allocations: 104.4 kB / 15.98 MB, free: 6.344 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.001264/0.001265, allocations: 194.9 kB / 16.91 MB, free: 6.195 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.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8155/0.8155, allocations: 122.9 MB / 413.6 MB, free: 4 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 0.4906 GB, free: 7.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.388, allocations: 77.93 MB / 0.5667 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.003892/0.3919, allocations: 1.581 MB / 0.5683 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006114/0.3926, allocations: 184.8 kB / 0.5684 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.3926, allocations: 0.8438 kB / 0.5684 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.569e-05/0.3927, allocations: 0.7031 kB / 0.5684 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.805e-05/0.3928, allocations: 6.125 kB / 0.5685 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.3932, allocations: 39.59 kB / 0.5685 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.3933, allocations: 44.06 kB / 0.5685 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3935, allocations: 15.05 kB / 0.5685 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.742e-05/0.3935, allocations: 12.58 kB / 0.5686 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.988e-05/0.3936, allocations: 17.14 kB / 0.5686 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.3936, allocations: 3.469 kB / 0.5686 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.3938, allocations: 49.12 kB / 0.5686 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.3939, allocations: 10.58 kB / 0.5686 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.3939, allocations: 13.62 kB / 0.5687 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.3941, allocations: 65.09 kB / 0.5687 GB, free: 30.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3941, allocations: 1.844 kB / 0.5687 GB, free: 30.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.3942, allocations: 0 / 0.5687 GB, free: 30.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.3942, allocations: 0.5625 kB / 0.5687 GB, free: 30.79 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.0005522/0.3947, allocations: 356.7 kB / 0.5691 GB, free: 30.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.3948, allocations: 14.42 kB / 0.5691 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.3949, allocations: 10.84 kB / 0.5691 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.395, allocations: 172.2 kB / 0.5692 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.395, allocations: 5.562 kB / 0.5692 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.395, allocations: 2.625 kB / 0.5693 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.3953, allocations: 70.53 kB / 0.5693 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3953, allocations: 0.8438 kB / 0.5693 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3954, allocations: 5.125 kB / 0.5693 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3954, allocations: 0 / 0.5693 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.3957, allocations: 46.2 kB / 0.5694 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.3961, allocations: 281.3 kB / 0.5696 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.3965, allocations: 58.16 kB / 0.5697 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3966, allocations: 28.47 kB / 0.5697 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.3968, allocations: 165.4 kB / 0.5699 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.3968, allocations: 33.73 kB / 0.5699 GB, free: 29.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.3968, allocations: 0 / 0.5699 GB, free: 29.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000565/0.3974, allocations: 99.31 kB / 0.57 GB, free: 29.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.3974, allocations: 52.12 kB / 0.5701 GB, free: 29.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.3975, allocations: 109.7 kB / 0.5702 GB, free: 29.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.3976, allocations: 25.7 kB / 0.5702 GB, free: 29.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.3976, allocations: 88.11 kB / 0.5703 GB, free: 29.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.3976, allocations: 5.125 kB / 0.5703 GB, free: 29.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.3977, allocations: 20.56 kB / 0.5703 GB, free: 29.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.646e-05/0.3977, allocations: 317.4 kB / 0.5706 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.3979, allocations: 23.88 kB / 0.5706 GB, free: 28.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.398, allocations: 25.52 kB / 0.5706 GB, free: 28.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.3983, allocations: 47.31 kB / 0.5707 GB, free: 28.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3984, allocations: 0 / 0.5707 GB, free: 28.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000351/0.3987, allocations: 80.61 kB / 0.5708 GB, free: 28.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3988, allocations: 4.344 kB / 0.5708 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3988, allocations: 2.281 kB / 0.5708 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.3988, allocations: 0 / 0.5708 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3989, allocations: 12.27 kB / 0.5708 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.399, allocations: 0 / 0.5708 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.511e-05/0.3991, allocations: 12.06 kB / 0.5708 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.3991, allocations: 5.812 kB / 0.5708 GB, free: 28.84 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 8.258e-05/0.3992, allocations: 113.4 kB / 0.5709 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.3992, allocations: 3.281 kB / 0.5709 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003869/0.3996, allocations: 89.95 kB / 0.571 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3997, allocations: 1.344 kB / 0.571 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3997, allocations: 0 / 0.571 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3997, allocations: 1.812 kB / 0.571 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.3999, allocations: 177.6 kB / 0.5712 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3999, allocations: 4.984 kB / 0.5712 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.4001, allocations: 12.41 kB / 0.5712 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4001, allocations: 0.9688 kB / 0.5712 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4001, allocations: 1.031 kB / 0.5712 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.4001, allocations: 1.031 kB / 0.5712 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4001, allocations: 2.062 kB / 0.5712 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.4005, allocations: 178.4 kB / 0.5714 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.477e-05/0.4005, allocations: 79.02 kB / 0.5714 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.4005, allocations: 2.891 kB / 0.5714 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.709e-05/0.4006, allocations: 6.797 kB / 0.5714 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.4007, allocations: 8.922 kB / 0.5715 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.4007, allocations: 5 kB / 0.5715 GB, free: 28.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.439e-05/0.4007, allocations: 86.12 kB / 0.5715 GB, free: 28.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4007, allocations: 0 / 0.5715 GB, free: 28.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.401, allocations: 19.08 kB / 0.5716 GB, free: 28.13 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.000228/0.4012, allocations: 113.9 kB / 0.5717 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000346/0.4016, allocations: 49 kB / 0.5717 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4016, allocations: 0 / 0.5717 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.4018, allocations: 31.3 kB / 0.5717 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.4023, allocations: 7.5 kB / 0.5717 GB, free: 28.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.4027, allocations: 131.9 kB / 0.5719 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.4029, allocations: 0.6825 MB / 0.5725 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.586e-05/0.403, allocations: 8.641 kB / 0.5725 GB, free: 27.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.403, allocations: 10.72 kB / 0.5726 GB, free: 27.19 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.403, allocations: 1.094 kB / 0.5726 GB, free: 27.19 MB / 446.1 MB Notification: Performance of Templates: time 0.004806/0.4078, allocations: 0.9162 MB / 0.5735 GB, free: 27.12 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)