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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_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.001165/0.001165, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001322/0.001322, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.152/1.152, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001867/0.001867, allocations: 285.8 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8293/0.8293, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 95.52 kB / 0.5946 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1205, allocations: 86.98 MB / 0.6796 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.00144/0.1219, allocations: 0.6493 MB / 0.6802 GB, free: 428 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003101/0.1223, allocations: 112.4 kB / 0.6803 GB, free: 316 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.026e-05/0.1223, allocations: 0 / 0.6803 GB, free: 316 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.296e-05/0.1223, allocations: 0 / 0.6803 GB, free: 316 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.686e-06/0.1223, allocations: 1.719 kB / 0.6803 GB, free: 316 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.1225, allocations: 27.95 kB / 0.6803 GB, free: 288 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.706e-05/0.1226, allocations: 59.94 kB / 0.6804 GB, free: 228 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.685e-05/0.1227, allocations: 0 / 0.6804 GB, free: 228 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.829e-05/0.1227, allocations: 28.59 kB / 0.6804 GB, free: 200 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.009e-05/0.1227, allocations: 19.97 kB / 0.6804 GB, free: 180 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.1228, allocations: 7.031 kB / 0.6804 GB, free: 176 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.457e-05/0.1229, allocations: 47.94 kB / 0.6805 GB, free: 128 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.261e-05/0.1229, allocations: 23.92 kB / 0.6805 GB, free: 104 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.1229, allocations: 19.92 kB / 0.6805 GB, free: 84 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.1231, allocations: 75.81 kB / 0.6806 GB, free: 8 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.1231, allocations: 3.938 kB / 0.6806 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1231, allocations: 0 / 0.6806 GB, free: 4 kB / 478.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1231, allocations: 0 / 0.6806 GB, free: 4 kB / 478.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.0003923/0.1235, allocations: 371.2 kB / 0.6809 GB, free: 15.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.1235, allocations: 12.02 kB / 0.681 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.127e-05/0.1236, allocations: 42.75 kB / 0.681 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.1236, allocations: 13.5 kB / 0.681 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.738e-05/0.1237, allocations: 161.1 kB / 0.6812 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.1239, allocations: 285.5 kB / 0.6814 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.1239, allocations: 5.25 kB / 0.6814 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.1241, allocations: 78.58 kB / 0.6815 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1241, allocations: 3.938 kB / 0.6815 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1241, allocations: 5.5 kB / 0.6815 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.1241, allocations: 0 / 0.6815 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.1244, allocations: 143.8 kB / 0.6817 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.1246, allocations: 170.2 kB / 0.6818 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.1249, allocations: 98.47 kB / 0.6819 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.125, allocations: 44.83 kB / 0.682 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.125, allocations: 0 / 0.682 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.125, allocations: 38.44 kB / 0.682 GB, free: 14.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 8.21e-07/0.125, allocations: 336 / 0.682 GB, free: 14.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004532/0.1255, allocations: 149.5 kB / 0.6821 GB, free: 14.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.1255, allocations: 51.41 kB / 0.6822 GB, free: 14.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.657e-05/0.1256, allocations: 97.77 kB / 0.6823 GB, free: 14.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1256, allocations: 25.7 kB / 0.6823 GB, free: 13.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.135e-05/0.1256, allocations: 84.14 kB / 0.6824 GB, free: 13.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/0.1257, allocations: 43.47 kB / 0.6824 GB, free: 13.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.1257, allocations: 25.7 kB / 0.6825 GB, free: 13.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.442e-05/0.1258, allocations: 318.8 kB / 0.6828 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.1259, allocations: 27.98 kB / 0.6828 GB, free: 13.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.126, allocations: 39.91 kB / 0.6828 GB, free: 13.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.1263, allocations: 77.41 kB / 0.6829 GB, free: 13.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1263, allocations: 0 / 0.6829 GB, free: 13.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002935/0.1266, allocations: 117.5 kB / 0.683 GB, free: 13.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.1266, allocations: 7.938 kB / 0.683 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.1266, allocations: 0 / 0.683 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.1266, allocations: 3.984 kB / 0.683 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1267, allocations: 23.98 kB / 0.683 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.1268, allocations: 3.938 kB / 0.6831 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.421e-05/0.1268, allocations: 8 kB / 0.6831 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.1268, allocations: 11.98 kB / 0.6831 GB, free: 13.18 MB / 494.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 6.072e-05/0.1269, allocations: 118.4 kB / 0.6832 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.1269, allocations: 3.938 kB / 0.6832 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.127, allocations: 11.95 kB / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.127, allocations: 4 kB / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.127, allocations: 0 / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-06/0.127, allocations: 0 / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.1271, allocations: 173.6 kB / 0.6834 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1271, allocations: 4 kB / 0.6834 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.1272, allocations: 27.98 kB / 0.6834 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.1272, allocations: 7.922 kB / 0.6834 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1272, allocations: 4 kB / 0.6834 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1272, allocations: 0 / 0.6834 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1272, allocations: 0 / 0.6834 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.1276, allocations: 144.9 kB / 0.6835 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.1276, allocations: 92.89 kB / 0.6836 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.1276, allocations: 4 kB / 0.6836 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.56e-05/0.1277, allocations: 4 kB / 0.6836 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.1277, allocations: 23.89 kB / 0.6837 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.1277, allocations: 8 kB / 0.6837 GB, free: 12.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2e-05/0.1278, allocations: 75.28 kB / 0.6837 GB, free: 12.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1278, allocations: 0 / 0.6837 GB, free: 12.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001962/0.128, allocations: 24 kB / 0.6838 GB, free: 12.37 MB / 494.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.0005613/0.1285, allocations: 0.7021 MB / 0.6845 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002759/0.1288, allocations: 79.94 kB / 0.6845 GB, free: 11.56 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1288, allocations: 4 kB / 0.6845 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.129, allocations: 43.91 kB / 0.6846 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.1291, allocations: 9.719 kB / 0.6846 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.1295, allocations: 220.4 kB / 0.6848 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.1297, allocations: 0.6848 MB / 0.6855 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.1298, allocations: 43.92 kB / 0.6855 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.1299, allocations: 19.42 kB / 0.6855 GB, free: 10.48 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1299, allocations: 0 / 0.6855 GB, free: 10.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.602/3.731, allocations: 1.853 MB / 0.6873 GB, free: 8.738 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004874/3.732, allocations: 224.2 kB / 0.6875 GB, free: 8.477 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/5.293, allocations: 0 / 0.6875 GB, free: 8.477 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)