Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 105.6 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.001223/0.001223, allocations: 191.8 kB / 16.9 MB, free: 6.184 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.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6952/0.6952, allocations: 115.3 MB / 406.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 71.91 kB / 493.2 MB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3651, allocations: 76.16 MB / 0.556 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001816/0.367, allocations: 0.6422 MB / 0.5567 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003702/0.3674, allocations: 100.2 kB / 0.5567 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.859e-05/0.3674, allocations: 0 / 0.5567 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.3674, allocations: 0 / 0.5567 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.84e-06/0.3674, allocations: 0.5625 kB / 0.5567 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.3678, allocations: 43.23 kB / 0.5568 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.3679, allocations: 63.81 kB / 0.5569 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.971e-05/0.368, allocations: 4.078 kB / 0.5569 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.683e-05/0.368, allocations: 23.59 kB / 0.5569 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.718e-05/0.3681, allocations: 22.09 kB / 0.5569 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.3681, allocations: 2.062 kB / 0.5569 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.3682, allocations: 45.44 kB / 0.5569 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.178e-05/0.3683, allocations: 27.69 kB / 0.557 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.103e-05/0.3683, allocations: 19.73 kB / 0.557 GB, free: 35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.3685, allocations: 72.44 kB / 0.5571 GB, free: 34.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3685, allocations: 2.25 kB / 0.5571 GB, free: 34.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3685, allocations: 0 / 0.5571 GB, free: 34.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.3685, allocations: 0 / 0.5571 GB, free: 34.98 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004637/0.369, allocations: 371.2 kB / 0.5574 GB, free: 34.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.369, allocations: 9.984 kB / 0.5574 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.3691, allocations: 49.48 kB / 0.5575 GB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.3691, allocations: 9.219 kB / 0.5575 GB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.952e-05/0.3692, allocations: 166.6 kB / 0.5576 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/0.3694, allocations: 282.9 kB / 0.5579 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.3694, allocations: 7.734 kB / 0.5579 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.3697, allocations: 83.52 kB / 0.558 GB, free: 33.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3697, allocations: 4.594 kB / 0.558 GB, free: 33.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3697, allocations: 4 kB / 0.558 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3697, allocations: 0 / 0.558 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.37, allocations: 133.7 kB / 0.5581 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.3702, allocations: 176 kB / 0.5583 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.3705, allocations: 100 kB / 0.5584 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.3706, allocations: 45.88 kB / 0.5584 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.3706, allocations: 1.906 kB / 0.5584 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.3707, allocations: 38.31 kB / 0.5585 GB, free: 33.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.3707, allocations: 1.375 kB / 0.5585 GB, free: 33.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005119/0.3712, allocations: 150.2 kB / 0.5586 GB, free: 33.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.3712, allocations: 53.22 kB / 0.5587 GB, free: 33.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.558e-05/0.3713, allocations: 100.5 kB / 0.5588 GB, free: 33.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.3713, allocations: 25.7 kB / 0.5588 GB, free: 33.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.584e-05/0.3713, allocations: 80.14 kB / 0.5589 GB, free: 33.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.3714, allocations: 37.33 kB / 0.5589 GB, free: 33.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.3714, allocations: 27.58 kB / 0.5589 GB, free: 33.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.293e-05/0.3715, allocations: 317.4 kB / 0.5592 GB, free: 32.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.3716, allocations: 35.2 kB / 0.5593 GB, free: 32.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.3717, allocations: 35.53 kB / 0.5593 GB, free: 32.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.372, allocations: 76.31 kB / 0.5594 GB, free: 32.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.372, allocations: 0 / 0.5594 GB, free: 32.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003098/0.3723, allocations: 114.8 kB / 0.5595 GB, free: 32.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3724, allocations: 9.25 kB / 0.5595 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3724, allocations: 0 / 0.5595 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3724, allocations: 1.219 kB / 0.5595 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.3726, allocations: 29.67 kB / 0.5595 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3726, allocations: 1.656 kB / 0.5595 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.882e-05/0.3726, allocations: 12.53 kB / 0.5595 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.3727, allocations: 2.688 kB / 0.5595 GB, free: 32.86 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: 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 8.997e-05/0.3727, allocations: 116.7 kB / 0.5596 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.3728, allocations: 6.438 kB / 0.5597 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.3728, allocations: 11.97 kB / 0.5597 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3728, allocations: 1.406 kB / 0.5597 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.3728, allocations: 1.156 kB / 0.5597 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3728, allocations: 0.7812 kB / 0.5597 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.373, allocations: 179.8 kB / 0.5598 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.373, allocations: 1 kB / 0.5598 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.3731, allocations: 31.83 kB / 0.5599 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3731, allocations: 6.094 kB / 0.5599 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3731, allocations: 2.703 kB / 0.5599 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3732, allocations: 4 kB / 0.5599 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3732, allocations: 2.688 kB / 0.5599 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.3735, allocations: 143 kB / 0.56 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.3736, allocations: 87.02 kB / 0.5601 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.3736, allocations: 2.844 kB / 0.5601 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.825e-05/0.3737, allocations: 11.02 kB / 0.5601 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/0.3738, allocations: 12.31 kB / 0.5601 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.3738, allocations: 6.016 kB / 0.5601 GB, free: 32.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.509e-05/0.3738, allocations: 75.28 kB / 0.5602 GB, free: 32.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3738, allocations: 0 / 0.5602 GB, free: 32.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.374, allocations: 23.66 kB / 0.5602 GB, free: 32.23 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: 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.0006662/0.3747, allocations: 0.7043 MB / 0.5609 GB, free: 31.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003788/0.3751, allocations: 99.88 kB / 0.561 GB, free: 31.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3751, allocations: 0 / 0.561 GB, free: 31.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.3753, allocations: 51.59 kB / 0.5611 GB, free: 31.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.3755, allocations: 3.953 kB / 0.5611 GB, free: 31.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006439/0.3761, allocations: 221 kB / 0.5613 GB, free: 31.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.3764, allocations: 0.6863 MB / 0.5619 GB, free: 30.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000216/0.3766, allocations: 39.23 kB / 0.562 GB, free: 30.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.948e-05/0.3767, allocations: 22.33 kB / 0.562 GB, free: 30.68 MB / 446.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3767, allocations: 0 / 0.562 GB, free: 30.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.363/1.74, allocations: 1.899 MB / 0.5639 GB, free: 30.46 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/1.74, allocations: 193.7 kB / 0.564 GB, free: 30.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/3.441, allocations: 0.625 kB / 0.564 GB, free: 30.21 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)