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.001119/0.00112, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001079/0.001079, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.176/1.176, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001952/0.001952, allocations: 286.4 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.831/0.831, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 90.3 kB / 0.5948 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1274, allocations: 86.98 MB / 0.6797 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001625/0.129, allocations: 0.6396 MB / 0.6804 GB, free: 300 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003243/0.1294, allocations: 110 kB / 0.6805 GB, free: 192 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.341e-05/0.1294, allocations: 0 / 0.6805 GB, free: 192 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.438e-05/0.1294, allocations: 0 / 0.6805 GB, free: 192 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.821e-06/0.1294, allocations: 0 / 0.6805 GB, free: 192 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.1297, allocations: 43.83 kB / 0.6805 GB, free: 148 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.1298, allocations: 59.94 kB / 0.6806 GB, free: 88 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.216e-05/0.1299, allocations: 0 / 0.6806 GB, free: 88 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.283e-05/0.1299, allocations: 30.12 kB / 0.6806 GB, free: 60 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.454e-05/0.1299, allocations: 19.97 kB / 0.6806 GB, free: 40 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.13, allocations: 4 kB / 0.6806 GB, free: 36 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.1301, allocations: 48 kB / 0.6807 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.989e-05/0.1301, allocations: 19.92 kB / 0.6807 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.1302, allocations: 27.84 kB / 0.6807 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.1303, allocations: 68.5 kB / 0.6808 GB, free: 15.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1303, allocations: 0.875 kB / 0.6808 GB, free: 15.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1303, allocations: 0 / 0.6808 GB, free: 15.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1303, allocations: 0 / 0.6808 GB, free: 15.88 MB / 494.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.0004287/0.1307, allocations: 377.5 kB / 0.6811 GB, free: 15.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1308, allocations: 12.03 kB / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.1308, allocations: 34.75 kB / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.1309, allocations: 17.67 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.623e-05/0.1309, allocations: 160.4 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.1312, allocations: 281.6 kB / 0.6816 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.1312, allocations: 8.312 kB / 0.6816 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.1314, allocations: 89.88 kB / 0.6817 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.1314, allocations: 0 / 0.6817 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1314, allocations: 0 / 0.6817 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1314, allocations: 4 kB / 0.6817 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.1318, allocations: 135.8 kB / 0.6819 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.1319, allocations: 169.7 kB / 0.682 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.1322, allocations: 102.5 kB / 0.6821 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.1324, allocations: 44.83 kB / 0.6822 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1324, allocations: 7.984 kB / 0.6822 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1324, allocations: 34.5 kB / 0.6822 GB, free: 14.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.1324, allocations: 0 / 0.6822 GB, free: 14.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004881/0.1329, allocations: 145.9 kB / 0.6823 GB, free: 14.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.1329, allocations: 51.41 kB / 0.6824 GB, free: 13.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.98e-05/0.133, allocations: 97.77 kB / 0.6825 GB, free: 13.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.133, allocations: 33.7 kB / 0.6825 GB, free: 13.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.128e-05/0.133, allocations: 80.14 kB / 0.6826 GB, free: 13.76 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.1331, allocations: 35.48 kB / 0.6826 GB, free: 13.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.1331, allocations: 25.7 kB / 0.6826 GB, free: 13.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.911e-05/0.1332, allocations: 318.8 kB / 0.6829 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.1334, allocations: 31.97 kB / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.1335, allocations: 35.97 kB / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.1338, allocations: 77.47 kB / 0.6831 GB, free: 13.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1338, allocations: 0 / 0.6831 GB, free: 13.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003099/0.1341, allocations: 117.4 kB / 0.6832 GB, free: 13.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1341, allocations: 7.938 kB / 0.6832 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.1341, allocations: 0 / 0.6832 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.1341, allocations: 4 kB / 0.6832 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.1343, allocations: 31.91 kB / 0.6832 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1343, allocations: 3.984 kB / 0.6832 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.568e-05/0.1343, allocations: 4 kB / 0.6832 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1344, allocations: 8 kB / 0.6833 GB, free: 13.05 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.669e-05/0.1344, allocations: 118.5 kB / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.1345, allocations: 3.938 kB / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.1345, allocations: 15.97 kB / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1345, allocations: 0 / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1345, allocations: 0 / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1345, allocations: 3.984 kB / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.1346, allocations: 185.5 kB / 0.6836 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1346, allocations: 0 / 0.6836 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.1348, allocations: 35.86 kB / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.1348, allocations: 3.938 kB / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1348, allocations: 11.92 kB / 0.6836 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1348, allocations: 0 / 0.6836 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.1348, allocations: 0 / 0.6836 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.1351, allocations: 133.1 kB / 0.6837 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.1352, allocations: 92.89 kB / 0.6838 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.1352, allocations: 3.984 kB / 0.6838 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.175e-05/0.1353, allocations: 12 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.1353, allocations: 7.984 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.1353, allocations: 7.984 kB / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 1.885e-05/0.1353, allocations: 75.28 kB / 0.6839 GB, free: 12.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1354, allocations: 0 / 0.6839 GB, free: 12.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002069/0.1356, allocations: 24 kB / 0.684 GB, free: 12.23 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.0005895/0.1362, allocations: 0.6982 MB / 0.6846 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003278/0.1365, allocations: 99.8 kB / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1365, allocations: 0 / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.1367, allocations: 47.91 kB / 0.6848 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.1368, allocations: 10.11 kB / 0.6848 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.1373, allocations: 210.6 kB / 0.685 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.1374, allocations: 0.69 MB / 0.6857 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.1376, allocations: 35.95 kB / 0.6857 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.1376, allocations: 23.41 kB / 0.6857 GB, free: 10.33 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1376, allocations: 0 / 0.6857 GB, free: 10.33 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04748/0.1851, allocations: 1.901 MB / 0.6876 GB, free: 8.566 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002727/0.1855, allocations: 219 kB / 0.6878 GB, free: 8.305 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/1.8, allocations: 0 / 0.6878 GB, free: 8.305 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)