Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.0007363/0.0007364, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.0008167/0.0008168, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001689/0.001689, allocations: 278.8 kB / 291.3 MB, free: 1.977 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8221/0.8221, allocations: 144.7 MB / 487.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.000405, allocations: 17 kB / 0.5686 GB, free: 38.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1284, allocations: 83.08 MB / 0.6497 GB, free: 3.457 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.00159/0.13, allocations: 1.241 MB / 0.6509 GB, free: 2.207 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004174/0.1304, allocations: 159.7 kB / 0.6511 GB, free: 2.051 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.344e-05/0.1305, allocations: 0 / 0.6511 GB, free: 2.051 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.1305, allocations: 5.438 kB / 0.6511 GB, free: 2.047 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.404e-05/0.1306, allocations: 3.984 kB / 0.6511 GB, free: 2.043 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.1309, allocations: 43.89 kB / 0.6511 GB, free: 2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.394e-05/0.1309, allocations: 31.92 kB / 0.6511 GB, free: 1.969 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.022e-05/0.131, allocations: 5 kB / 0.6512 GB, free: 1.965 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.272e-05/0.1311, allocations: 21.12 kB / 0.6512 GB, free: 1.945 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.877e-05/0.1311, allocations: 11.92 kB / 0.6512 GB, free: 1.934 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.1311, allocations: 4 kB / 0.6512 GB, free: 1.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1312, allocations: 36.69 kB / 0.6512 GB, free: 1.895 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.1313, allocations: 11.97 kB / 0.6512 GB, free: 1.883 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.1313, allocations: 34.8 kB / 0.6513 GB, free: 1.844 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.1314, allocations: 39.94 kB / 0.6513 GB, free: 1.805 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1314, allocations: 0 / 0.6513 GB, free: 1.805 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1314, allocations: 0.6562 kB / 0.6513 GB, free: 1.805 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.1314, allocations: 0 / 0.6513 GB, free: 1.805 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004406/0.1319, allocations: 350.9 kB / 0.6516 GB, free: 1.418 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1319, allocations: 15.97 kB / 0.6517 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.132, allocations: 34.56 kB / 0.6517 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.132, allocations: 7.984 kB / 0.6517 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.1321, allocations: 170.9 kB / 0.6519 GB, free: 1.145 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.1322, allocations: 4.484 kB / 0.6519 GB, free: 1.141 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.1322, allocations: 8.594 kB / 0.6519 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.1324, allocations: 67.16 kB / 0.6519 GB, free: 1.062 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1324, allocations: 0 / 0.6519 GB, free: 1.062 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.1324, allocations: 4.656 kB / 0.6519 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1325, allocations: 0 / 0.6519 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.1327, allocations: 54.95 kB / 0.652 GB, free: 1.008 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005381/0.1332, allocations: 278.3 kB / 0.6523 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.1336, allocations: 60.12 kB / 0.6523 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.1338, allocations: 34.52 kB / 0.6523 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.134, allocations: 170.8 kB / 0.6525 GB, free: 392 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.134, allocations: 40.39 kB / 0.6526 GB, free: 344 kB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1341, allocations: 0 / 0.6526 GB, free: 344 kB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003702/0.1344, allocations: 112 kB / 0.6527 GB, free: 228 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.1345, allocations: 60.09 kB / 0.6527 GB, free: 156 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.612e-05/0.1346, allocations: 107.9 kB / 0.6528 GB, free: 40 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.1346, allocations: 25.7 kB / 0.6528 GB, free: 8 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.373e-05/0.1346, allocations: 88.12 kB / 0.6529 GB, free: 15.92 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.1347, allocations: 11.84 kB / 0.6529 GB, free: 15.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.1347, allocations: 0 / 0.6529 GB, free: 15.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1348, allocations: 319.7 kB / 0.6532 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.1349, allocations: 26.12 kB / 0.6533 GB, free: 15.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.026e-05/0.135, allocations: 24.61 kB / 0.6533 GB, free: 15.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.793e-05/0.1351, allocations: 28.11 kB / 0.6533 GB, free: 15.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1351, allocations: 0 / 0.6533 GB, free: 15.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002085/0.1353, allocations: 89.58 kB / 0.6534 GB, free: 15.42 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1353, allocations: 5.719 kB / 0.6534 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.1353, allocations: 5.094 kB / 0.6534 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1354, allocations: 0 / 0.6534 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1355, allocations: 15.98 kB / 0.6534 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1355, allocations: 0 / 0.6534 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.777e-05/0.1356, allocations: 11.91 kB / 0.6534 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.1356, allocations: 7.984 kB / 0.6534 GB, free: 15.38 MB / 462.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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.867e-05/0.1356, allocations: 113.8 kB / 0.6536 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.1357, allocations: 4 kB / 0.6536 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.1359, allocations: 97.48 kB / 0.6537 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.136, allocations: 0 / 0.6537 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.136, allocations: 4 kB / 0.6537 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.136, allocations: 3.938 kB / 0.6537 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.1362, allocations: 173.7 kB / 0.6538 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1362, allocations: 0 / 0.6538 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.092e-05/0.1363, allocations: 15.98 kB / 0.6538 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1363, allocations: 0 / 0.6538 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.1363, allocations: 0 / 0.6538 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.1363, allocations: 4 kB / 0.6538 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1363, allocations: 3.938 kB / 0.6538 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.1366, allocations: 191.3 kB / 0.654 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.1367, allocations: 77.11 kB / 0.6541 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.1367, allocations: 4.422 kB / 0.6541 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.1368, allocations: 11.98 kB / 0.6541 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.1368, allocations: 7.984 kB / 0.6541 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.1368, allocations: 0 / 0.6541 GB, free: 14.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.995e-05/0.1369, allocations: 91.59 kB / 0.6542 GB, free: 14.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1369, allocations: 0 / 0.6542 GB, free: 14.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.1371, allocations: 12 kB / 0.6542 GB, free: 14.47 MB / 462.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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005532/0.1377, allocations: 0.7436 MB / 0.655 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.1379, allocations: 59.89 kB / 0.655 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1379, allocations: 4 kB / 0.655 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.536e-05/0.138, allocations: 31.97 kB / 0.655 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.1383, allocations: 1.547 kB / 0.655 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008779/0.1392, allocations: 454.4 kB / 0.6555 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.1394, allocations: 0.6809 MB / 0.6561 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.489e-05/0.1395, allocations: 8.219 kB / 0.6562 GB, free: 12.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.1395, allocations: 19.42 kB / 0.6562 GB, free: 12.38 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1395, allocations: 0 / 0.6562 GB, free: 12.38 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/0.1505, allocations: 1.632 MB / 0.6578 GB, free: 10.88 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.1507, allocations: 183.3 kB / 0.6579 GB, free: 10.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/1.758, allocations: 0 / 0.6579 GB, free: 10.64 MB / 462.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1) Environment - environmentSimulation: