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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004812/0.004812, allocations: 100.8 kB / 15.73 MB, free: 6.035 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.001106/0.001106, allocations: 198.7 kB / 16.68 MB, free: 5.953 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.283/1.283, allocations: 222.9 MB / 240.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002061, allocations: 292.8 kB / 290.8 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9597/0.9597, allocations: 169.3 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 99.84 kB / 0.6815 GB, free: 6.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4155, allocations: 86.98 MB / 0.7664 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001573/0.4172, allocations: 0.5743 MB / 0.767 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003373/0.4175, allocations: 103.6 kB / 0.7671 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.836e-05/0.4175, allocations: 0 / 0.7671 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.4176, allocations: 0 / 0.7671 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-06/0.4176, allocations: 4 kB / 0.7671 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.4179, allocations: 35.89 kB / 0.7671 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.418, allocations: 63.92 kB / 0.7672 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.649e-05/0.4181, allocations: 15.88 kB / 0.7672 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.109e-05/0.4181, allocations: 19.98 kB / 0.7672 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.97e-05/0.4182, allocations: 19.97 kB / 0.7672 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.4182, allocations: 11.92 kB / 0.7673 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.4183, allocations: 51.95 kB / 0.7673 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.4184, allocations: 19.97 kB / 0.7673 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.4184, allocations: 19.91 kB / 0.7673 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.4185, allocations: 67.84 kB / 0.7674 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4185, allocations: 4 kB / 0.7674 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4185, allocations: 0 / 0.7674 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.4186, allocations: 0 / 0.7674 GB, free: 2.895 MB / 0.5294 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.0004675/0.419, allocations: 371.2 kB / 0.7678 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.4191, allocations: 15.97 kB / 0.7678 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.4191, allocations: 8.844 kB / 0.7678 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.4192, allocations: 164.4 kB / 0.7679 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/0.4195, allocations: 281.6 kB / 0.7682 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.4195, allocations: 4.375 kB / 0.7682 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.4198, allocations: 82.14 kB / 0.7683 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4198, allocations: 11.94 kB / 0.7683 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.4198, allocations: 4 kB / 0.7683 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4198, allocations: 0 / 0.7683 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003595/0.4202, allocations: 135.8 kB / 0.7684 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.4204, allocations: 173.7 kB / 0.7686 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.4207, allocations: 98.52 kB / 0.7687 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.4208, allocations: 40.84 kB / 0.7687 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.4209, allocations: 4.312 kB / 0.7687 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.4209, allocations: 46.44 kB / 0.7688 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.4209, allocations: 0 / 0.7688 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005359/0.4214, allocations: 149.5 kB / 0.7689 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.4215, allocations: 55.41 kB / 0.769 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.345e-05/0.4215, allocations: 93.84 kB / 0.7691 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.4215, allocations: 25.7 kB / 0.7691 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.262e-05/0.4216, allocations: 84.14 kB / 0.7692 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.4216, allocations: 30.09 kB / 0.7692 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.4217, allocations: 29.7 kB / 0.7692 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.4218, allocations: 318.8 kB / 0.7695 GB, free: 452 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.4219, allocations: 35.91 kB / 0.7696 GB, free: 416 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.4221, allocations: 27.98 kB / 0.7696 GB, free: 388 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.4224, allocations: 81.41 kB / 0.7697 GB, free: 304 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4224, allocations: 7.938 kB / 0.7697 GB, free: 296 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003426/0.4227, allocations: 117.5 kB / 0.7698 GB, free: 172 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4228, allocations: 15.88 kB / 0.7698 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4228, allocations: 0 / 0.7698 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.4228, allocations: 0 / 0.7698 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.4229, allocations: 19.98 kB / 0.7698 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.423, allocations: 3.938 kB / 0.7698 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.3e-05/0.423, allocations: 7.984 kB / 0.7698 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.423, allocations: 8 kB / 0.7698 GB, free: 116 kB / 0.5294 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 9.583e-05/0.4231, allocations: 116.2 kB / 0.77 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.4232, allocations: 15.83 kB / 0.77 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.199e-05/0.4232, allocations: 11.97 kB / 0.77 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4232, allocations: 0 / 0.77 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4232, allocations: 0 / 0.77 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4233, allocations: 0 / 0.77 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.4234, allocations: 181.6 kB / 0.7702 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4234, allocations: 0 / 0.7702 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.4235, allocations: 27.97 kB / 0.7702 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4235, allocations: 3.938 kB / 0.7702 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.4236, allocations: 8 kB / 0.7702 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4236, allocations: 0 / 0.7702 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4236, allocations: 3.938 kB / 0.7702 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.4239, allocations: 144.9 kB / 0.7703 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.424, allocations: 77.11 kB / 0.7704 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.424, allocations: 7.938 kB / 0.7704 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.505e-05/0.4241, allocations: 8 kB / 0.7704 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.4242, allocations: 19.97 kB / 0.7704 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.4242, allocations: 4 kB / 0.7705 GB, free: 15.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.4242, allocations: 75.28 kB / 0.7705 GB, free: 15.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4242, allocations: 0 / 0.7705 GB, free: 15.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002409/0.4245, allocations: 28 kB / 0.7705 GB, free: 15.3 MB / 0.545 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.0002366/0.4247, allocations: 115.2 kB / 0.7707 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.4251, allocations: 83.88 kB / 0.7707 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.4251, allocations: 8 kB / 0.7707 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.4253, allocations: 51.89 kB / 0.7708 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.4254, allocations: 6.5 kB / 0.7708 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.4259, allocations: 153 kB / 0.7709 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.4262, allocations: 0.6885 MB / 0.7716 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001696/0.4264, allocations: 35.95 kB / 0.7717 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.4264, allocations: 19.42 kB / 0.7717 GB, free: 14.09 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.4264, allocations: 3.938 kB / 0.7717 GB, free: 14.09 MB / 0.545 GB Notification: Performance of Templates: time 0.003075/0.4295, allocations: 1.032 MB / 0.7727 GB, free: 13.06 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)