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.001503/0.001503, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 291.1 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.958/0.958, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 101.6 kB / 0.5954 GB, free: 27.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1372, allocations: 86.97 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001712/0.139, allocations: 0.573 MB / 0.6809 GB, free: 4 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003607/0.1394, allocations: 107.6 kB / 0.681 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.75e-05/0.1394, allocations: 6 kB / 0.681 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.1394, allocations: 0 / 0.681 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.11e-06/0.1395, allocations: 3.938 kB / 0.681 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.1398, allocations: 39.89 kB / 0.681 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.1399, allocations: 63.94 kB / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.14, allocations: 4.609 kB / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.14, allocations: 19.98 kB / 0.6811 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.528e-05/0.14, allocations: 29.67 kB / 0.6811 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.1401, allocations: 0 / 0.6811 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1402, allocations: 43.97 kB / 0.6812 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.707e-05/0.1402, allocations: 23.97 kB / 0.6812 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.1403, allocations: 28.72 kB / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.1404, allocations: 67.83 kB / 0.6813 GB, free: 15.58 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1404, allocations: 0 / 0.6813 GB, free: 15.58 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1404, allocations: 0.7188 kB / 0.6813 GB, free: 15.58 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1404, allocations: 0 / 0.6813 GB, free: 15.58 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.0004765/0.1409, allocations: 373.1 kB / 0.6816 GB, free: 15.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.141, allocations: 12.03 kB / 0.6816 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.141, allocations: 47.44 kB / 0.6817 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.1411, allocations: 8.844 kB / 0.6817 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.577e-05/0.1412, allocations: 161 kB / 0.6819 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002521/0.1414, allocations: 289.6 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.1414, allocations: 384 / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.1417, allocations: 77.95 kB / 0.6822 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1417, allocations: 3.984 kB / 0.6822 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1417, allocations: 8 kB / 0.6822 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1417, allocations: 3.938 kB / 0.6822 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/0.1421, allocations: 139.7 kB / 0.6824 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.1423, allocations: 169.7 kB / 0.6825 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.1426, allocations: 102.5 kB / 0.6826 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.1427, allocations: 36.84 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.1428, allocations: 3.984 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.1428, allocations: 42.5 kB / 0.6827 GB, free: 13.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.1428, allocations: 0 / 0.6827 GB, free: 13.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005156/0.1433, allocations: 149.8 kB / 0.6828 GB, free: 13.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.1433, allocations: 55.41 kB / 0.6829 GB, free: 13.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.215e-05/0.1434, allocations: 97.77 kB / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1434, allocations: 25.7 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.1434, allocations: 80.14 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.1435, allocations: 39.44 kB / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.1435, allocations: 29.69 kB / 0.6831 GB, free: 13.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.962e-05/0.1436, allocations: 318.8 kB / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.1438, allocations: 27.97 kB / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.1439, allocations: 35.97 kB / 0.6835 GB, free: 13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.1442, allocations: 68.83 kB / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.1442, allocations: 3.984 kB / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003302/0.1445, allocations: 121.4 kB / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1446, allocations: 7.938 kB / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1446, allocations: 4 kB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1446, allocations: 0 / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.1447, allocations: 19.98 kB / 0.6837 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1448, allocations: 0 / 0.6837 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.06e-05/0.1448, allocations: 11.98 kB / 0.6837 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.1448, allocations: 8 kB / 0.6837 GB, free: 12.75 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 8.183e-05/0.1449, allocations: 122.4 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.145, allocations: 7.938 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.145, allocations: 7.969 kB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.145, allocations: 0 / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.145, allocations: 0 / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.145, allocations: 0 / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.1452, allocations: 181.5 kB / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1452, allocations: 0 / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.1453, allocations: 31.97 kB / 0.6841 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.521e-05/0.1453, allocations: 15.88 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1453, allocations: 0 / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1453, allocations: 0 / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1453, allocations: 0 / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.1457, allocations: 141.8 kB / 0.6842 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.1457, allocations: 92.89 kB / 0.6843 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.1458, allocations: 0 / 0.6843 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.883e-05/0.1458, allocations: 11.98 kB / 0.6843 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.1459, allocations: 11.98 kB / 0.6843 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.1459, allocations: 4 kB / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.623e-05/0.1459, allocations: 75.28 kB / 0.6844 GB, free: 11.97 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1459, allocations: 0 / 0.6844 GB, free: 11.97 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.1462, allocations: 27.94 kB / 0.6844 GB, free: 11.94 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.0007039/0.1469, allocations: 0.6983 MB / 0.6851 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000339/0.1472, allocations: 99.88 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1473, allocations: 0 / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.1474, allocations: 59.83 kB / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.1476, allocations: 0 / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004862/0.1481, allocations: 194.6 kB / 0.6855 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.1483, allocations: 0.6862 MB / 0.6861 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000158/0.1485, allocations: 43.92 kB / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.1485, allocations: 19.42 kB / 0.6862 GB, free: 10.05 MB / 494.1 MB Notification: Performance of SimCode: time 1.573e-06/0.1485, allocations: 0 / 0.6862 GB, free: 10.05 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01859/0.1671, allocations: 2.001 MB / 0.6881 GB, free: 8.141 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.272/7.439, allocations: 18.34 kB / 0.6882 GB, free: 8.129 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)