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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008402/0.0008402, allocations: 100.3 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.0008577/0.0008577, 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.207/1.207, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001642/0.001642, allocations: 266.7 kB / 291.2 MB, free: 1.988 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.7499/0.7499, allocations: 144.6 MB / 487 MB, free: 7.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.000402, allocations: 19.81 kB / 0.5683 GB, free: 38.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1302, allocations: 83.08 MB / 0.6494 GB, free: 3.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.0006591/0.1309, allocations: 301.2 kB / 0.6497 GB, free: 3.277 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003084/0.1312, allocations: 104.9 kB / 0.6498 GB, free: 3.176 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.862e-05/0.1313, allocations: 2.781 kB / 0.6498 GB, free: 3.176 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.1313, allocations: 0 / 0.6498 GB, free: 3.176 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.32e-06/0.1313, allocations: 4 kB / 0.6498 GB, free: 3.172 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.1316, allocations: 27.95 kB / 0.6499 GB, free: 3.145 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.445e-05/0.1317, allocations: 43.89 kB / 0.6499 GB, free: 3.102 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.1317, allocations: 0 / 0.6499 GB, free: 3.102 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.721e-05/0.1317, allocations: 23.92 kB / 0.6499 GB, free: 3.078 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.242e-05/0.1318, allocations: 33.42 kB / 0.65 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.1318, allocations: 0 / 0.65 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.123e-05/0.1319, allocations: 35.97 kB / 0.65 GB, free: 3.012 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.1319, allocations: 23.95 kB / 0.65 GB, free: 2.988 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.132, allocations: 30.2 kB / 0.65 GB, free: 2.953 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.112e-05/0.1321, allocations: 51.86 kB / 0.6501 GB, free: 2.902 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.1321, allocations: 0.5 kB / 0.6501 GB, free: 2.902 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1321, allocations: 0.5938 kB / 0.6501 GB, free: 2.902 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.1321, allocations: 5.156 kB / 0.6501 GB, free: 2.898 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003802/0.1325, allocations: 347.4 kB / 0.6504 GB, free: 2.512 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.1325, allocations: 9.125 kB / 0.6504 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.1326, allocations: 15.91 kB / 0.6505 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.966e-05/0.1326, allocations: 159.1 kB / 0.6506 GB, free: 2.293 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/0.1329, allocations: 282.5 kB / 0.6509 GB, free: 1.957 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.1329, allocations: 8 kB / 0.6509 GB, free: 1.949 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.1331, allocations: 77.58 kB / 0.651 GB, free: 1.867 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.1331, allocations: 0.7188 kB / 0.651 GB, free: 1.867 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1332, allocations: 4 kB / 0.651 GB, free: 1.863 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.1332, allocations: 5.156 kB / 0.651 GB, free: 1.859 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.1335, allocations: 135.7 kB / 0.6511 GB, free: 1.727 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.1336, allocations: 178.5 kB / 0.6513 GB, free: 1.504 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.1339, allocations: 95.08 kB / 0.6514 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.1339, allocations: 4.516 kB / 0.6514 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.134, allocations: 40.73 kB / 0.6514 GB, free: 1.352 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.134, allocations: 0 / 0.6514 GB, free: 1.352 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004656/0.1344, allocations: 149.7 kB / 0.6515 GB, free: 1.199 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.1345, allocations: 52 kB / 0.6516 GB, free: 1.137 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.287e-05/0.1345, allocations: 93.84 kB / 0.6517 GB, free: 1.035 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1345, allocations: 31.2 kB / 0.6517 GB, free: 1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.1346, allocations: 80.33 kB / 0.6518 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.788e-05/0.1346, allocations: 31.55 kB / 0.6518 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-06/0.1346, allocations: 4.656 kB / 0.6518 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.1347, allocations: 315.6 kB / 0.6521 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.1349, allocations: 31.98 kB / 0.6522 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.135, allocations: 32.69 kB / 0.6522 GB, free: 0.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1351, allocations: 36.84 kB / 0.6522 GB, free: 476 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1351, allocations: 3.938 kB / 0.6522 GB, free: 472 kB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002794/0.1354, allocations: 114.9 kB / 0.6523 GB, free: 352 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1354, allocations: 7.953 kB / 0.6523 GB, free: 344 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1354, allocations: 4.688 kB / 0.6523 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.1355, allocations: 0 / 0.6523 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.1356, allocations: 24.84 kB / 0.6524 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1356, allocations: 0 / 0.6524 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.478e-05/0.1357, allocations: 4.75 kB / 0.6524 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.1357, allocations: 4 kB / 0.6524 GB, free: 308 kB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.523e-05/0.1358, allocations: 120.3 kB / 0.6525 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.1358, allocations: 11.84 kB / 0.6525 GB, free: 168 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.1358, allocations: 23.86 kB / 0.6525 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.1358, allocations: 0 / 0.6525 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1358, allocations: 0 / 0.6525 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1358, allocations: 1.531 kB / 0.6525 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.136, allocations: 181.6 kB / 0.6527 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.136, allocations: 0 / 0.6527 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.1361, allocations: 23.92 kB / 0.6527 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1361, allocations: 5.031 kB / 0.6527 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1361, allocations: 3.984 kB / 0.6527 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1361, allocations: 4.578 kB / 0.6527 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1361, allocations: 0 / 0.6527 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.1364, allocations: 146.9 kB / 0.6529 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.716e-05/0.1365, allocations: 81.11 kB / 0.653 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.1365, allocations: 7.984 kB / 0.653 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.357e-05/0.1366, allocations: 7.438 kB / 0.653 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.1366, allocations: 11.94 kB / 0.653 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.1366, allocations: 7.984 kB / 0.653 GB, free: 15.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.756e-05/0.1367, allocations: 79.28 kB / 0.6531 GB, free: 15.51 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1367, allocations: 0 / 0.6531 GB, free: 15.51 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002119/0.1369, allocations: 23.94 kB / 0.6531 GB, free: 15.49 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: 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 (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.0001501/0.137, allocations: 124.2 kB / 0.6532 GB, free: 15.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.1374, allocations: 79.88 kB / 0.6533 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1374, allocations: 0.6562 kB / 0.6533 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.1375, allocations: 49.53 kB / 0.6533 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.076e-05/0.1376, allocations: 1.406 kB / 0.6533 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.1379, allocations: 172.3 kB / 0.6535 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.1382, allocations: 0.6926 MB / 0.6542 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.1384, allocations: 39.94 kB / 0.6542 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1384, allocations: 23.42 kB / 0.6542 GB, free: 14.26 MB / 462.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1384, allocations: 0 / 0.6542 GB, free: 14.26 MB / 462.1 MB Notification: Performance of Templates: time 0.002843/0.1413, allocations: 0.935 MB / 0.6551 GB, free: 13.32 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile Environment - environmentSimulation: (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) Environment - environmentSimulation: