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: translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009272/0.0009277, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001011/0.001011, allocations: 177.3 kB / 15.95 MB, free: 216 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.2/1.2, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001656/0.001656, allocations: 266.8 kB / 291.2 MB, free: 1.914 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.789/0.789, allocations: 144.6 MB / 487 MB, free: 7.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000415/0.0004151, allocations: 13.45 kB / 0.5683 GB, free: 38.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1354, allocations: 83.08 MB / 0.6494 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.001468/0.1369, allocations: 1.245 MB / 0.6506 GB, free: 2.328 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003566/0.1373, allocations: 167.6 kB / 0.6508 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.892e-05/0.1373, allocations: 0 / 0.6508 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.1373, allocations: 3.938 kB / 0.6508 GB, free: 2.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.182e-05/0.1374, allocations: 4 kB / 0.6508 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.1376, allocations: 40.67 kB / 0.6508 GB, free: 2.117 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.552e-05/0.1377, allocations: 23.91 kB / 0.6509 GB, free: 2.094 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.519e-05/0.1378, allocations: 17.62 kB / 0.6509 GB, free: 2.078 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.392e-05/0.1378, allocations: 4 kB / 0.6509 GB, free: 2.074 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.343e-05/0.1379, allocations: 24.88 kB / 0.6509 GB, free: 2.051 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.1379, allocations: 4 kB / 0.6509 GB, free: 2.047 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.219e-05/0.138, allocations: 35.97 kB / 0.6509 GB, free: 2.012 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.958e-06/0.138, allocations: 5.516 kB / 0.651 GB, free: 2.008 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.1381, allocations: 33.64 kB / 0.651 GB, free: 1.969 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.501e-05/0.1382, allocations: 43.86 kB / 0.651 GB, free: 1.926 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1382, allocations: 0 / 0.651 GB, free: 1.926 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1382, allocations: 0.7188 kB / 0.651 GB, free: 1.926 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.1382, allocations: 4 kB / 0.651 GB, free: 1.922 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.0004207/0.1386, allocations: 349.4 kB / 0.6514 GB, free: 1.535 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1387, allocations: 8.625 kB / 0.6514 GB, free: 1.527 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.1387, allocations: 4 kB / 0.6514 GB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.1388, allocations: 171.4 kB / 0.6515 GB, free: 1.316 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.1388, allocations: 8.547 kB / 0.6515 GB, free: 1.309 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.1389, allocations: 1.5 kB / 0.6515 GB, free: 1.309 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.1391, allocations: 70.31 kB / 0.6516 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.1391, allocations: 3.938 kB / 0.6516 GB, free: 1.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1391, allocations: 4.75 kB / 0.6516 GB, free: 1.227 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1391, allocations: 0 / 0.6516 GB, free: 1.227 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.1393, allocations: 50.27 kB / 0.6517 GB, free: 1.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.1397, allocations: 282.4 kB / 0.6519 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.14, allocations: 69.72 kB / 0.652 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/0.1402, allocations: 170.4 kB / 0.6522 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1403, allocations: 31.88 kB / 0.6522 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.1403, allocations: 0 / 0.6522 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003681/0.1406, allocations: 113.2 kB / 0.6523 GB, free: 436 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.1407, allocations: 51.41 kB / 0.6524 GB, free: 372 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.403e-05/0.1408, allocations: 113.8 kB / 0.6525 GB, free: 248 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.1408, allocations: 30.2 kB / 0.6525 GB, free: 212 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.1408, allocations: 91.42 kB / 0.6526 GB, free: 120 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.1408, allocations: 11.84 kB / 0.6526 GB, free: 108 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.1409, allocations: 0 / 0.6526 GB, free: 108 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.141, allocations: 318.8 kB / 0.6529 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-05/0.1411, allocations: 23.98 kB / 0.6529 GB, free: 15.76 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-05/0.1411, allocations: 25.17 kB / 0.6529 GB, free: 15.74 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.704e-05/0.1412, allocations: 30.19 kB / 0.653 GB, free: 15.71 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1413, allocations: 0 / 0.653 GB, free: 15.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002113/0.1415, allocations: 87.25 kB / 0.6531 GB, free: 15.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.1415, allocations: 4 kB / 0.6531 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1415, allocations: 0 / 0.6531 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.1415, allocations: 4 kB / 0.6531 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.418e-05/0.1416, allocations: 11.98 kB / 0.6531 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1416, allocations: 3.938 kB / 0.6531 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.843e-05/0.1417, allocations: 15.89 kB / 0.6531 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.1417, allocations: 3.938 kB / 0.6531 GB, free: 15.58 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.308e-05/0.1417, allocations: 117.8 kB / 0.6532 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.1418, allocations: 0 / 0.6532 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.142, allocations: 93.88 kB / 0.6533 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.142, allocations: 0 / 0.6533 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1421, allocations: 4 kB / 0.6533 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.1421, allocations: 8.031 kB / 0.6533 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.1422, allocations: 169.6 kB / 0.6535 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1422, allocations: 4 kB / 0.6535 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.053e-05/0.1423, allocations: 8 kB / 0.6535 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1423, allocations: 3.984 kB / 0.6535 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.1423, allocations: 0 / 0.6535 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1423, allocations: 0 / 0.6535 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1423, allocations: 7.938 kB / 0.6535 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.1426, allocations: 183.4 kB / 0.6537 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.1426, allocations: 77.11 kB / 0.6537 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.1426, allocations: 7.984 kB / 0.6538 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.1427, allocations: 8 kB / 0.6538 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.1428, allocations: 11.98 kB / 0.6538 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.1428, allocations: 0 / 0.6538 GB, free: 14.78 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.157e-05/0.1429, allocations: 95.2 kB / 0.6539 GB, free: 14.69 MB / 462.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1429, allocations: 0 / 0.6539 GB, free: 14.69 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.1431, allocations: 12 kB / 0.6539 GB, free: 14.68 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.0001538/0.1433, allocations: 119.3 kB / 0.654 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.1435, allocations: 63.89 kB / 0.654 GB, free: 14.49 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1435, allocations: 0 / 0.654 GB, free: 14.49 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.1436, allocations: 27.98 kB / 0.6541 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.1438, allocations: 9.547 kB / 0.6541 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.1441, allocations: 124.7 kB / 0.6542 GB, free: 14.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.1443, allocations: 0.6809 MB / 0.6549 GB, free: 13.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.019e-05/0.1443, allocations: 8 kB / 0.6549 GB, free: 13.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.1443, allocations: 15.42 kB / 0.6549 GB, free: 13.57 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1443, allocations: 0 / 0.6549 GB, free: 13.57 MB / 462.1 MB Notification: Performance of Templates: time 0.002644/0.147, allocations: 0.8493 MB / 0.6557 GB, free: 12.73 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.makefile Environment - environmentSimulation: (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1) Environment - environmentSimulation: