Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008557/0.000856, allocations: 99.86 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.0008832/0.0008832, allocations: 177.3 kB / 15.94 MB, free: 228 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.199/1.199, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001625/0.001625, allocations: 274.4 kB / 291.2 MB, free: 1.875 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.7349/0.7349, allocations: 144.6 MB / 487 MB, free: 7.215 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 12.97 kB / 0.5683 GB, free: 38.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1296, allocations: 83.09 MB / 0.6494 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002017/0.1317, allocations: 1.308 MB / 0.6507 GB, free: 2.312 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.133, allocations: 1.059 MB / 0.6517 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.133, allocations: 0 / 0.6517 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.1332, allocations: 19.91 kB / 0.6518 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.1334, allocations: 56.94 kB / 0.6518 GB, free: 1.172 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.1337, allocations: 129 kB / 0.6519 GB, free: 1.051 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.1339, allocations: 129.8 kB / 0.6521 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.134, allocations: 20.78 kB / 0.6521 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.866e-05/0.1341, allocations: 59.89 kB / 0.6521 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.1342, allocations: 63.25 kB / 0.6522 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.1343, allocations: 8 kB / 0.6522 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.997e-05/0.1344, allocations: 55.91 kB / 0.6523 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.746e-05/0.1345, allocations: 71.73 kB / 0.6523 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.1345, allocations: 57.58 kB / 0.6524 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.1347, allocations: 191.6 kB / 0.6526 GB, free: 416 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.1347, allocations: 0 / 0.6526 GB, free: 416 kB / 446.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1347, allocations: 0 / 0.6526 GB, free: 416 kB / 446.1 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.1347, allocations: 0 / 0.6526 GB, free: 416 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006137/0.1354, allocations: 493.2 kB / 0.653 GB, free: 15.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.1354, allocations: 12.03 kB / 0.6531 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.566e-05/0.1355, allocations: 24.22 kB / 0.6531 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.1357, allocations: 246.6 kB / 0.6533 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.1357, allocations: 20.47 kB / 0.6533 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.1358, allocations: 16.53 kB / 0.6533 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.1361, allocations: 199.9 kB / 0.6535 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.1361, allocations: 3.984 kB / 0.6535 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.1361, allocations: 8 kB / 0.6535 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.1361, allocations: 4.75 kB / 0.6536 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007703/0.1369, allocations: 0.741 MB / 0.6543 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007552/0.1377, allocations: 0.5692 MB / 0.6548 GB, free: 13.94 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.1381, allocations: 301 kB / 0.6551 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.1381, allocations: 20.19 kB / 0.6551 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/0.1384, allocations: 167.4 kB / 0.6553 GB, free: 13.45 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/0.1384, allocations: 0.7812 kB / 0.6553 GB, free: 13.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=34): time 0.0005587/0.139, allocations: 374.5 kB / 0.6557 GB, free: 13.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.1391, allocations: 133.4 kB / 0.6558 GB, free: 12.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.1393, allocations: 293.4 kB / 0.6561 GB, free: 12.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.1394, allocations: 30.39 kB / 0.6561 GB, free: 12.58 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.263e-05/0.1394, allocations: 125.6 kB / 0.6562 GB, free: 12.45 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.615e-05/0.1395, allocations: 118.3 kB / 0.6563 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.269e-05/0.1395, allocations: 5.188 kB / 0.6563 GB, free: 12.33 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1397, allocations: 342.8 kB / 0.6567 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1398, allocations: 81.27 kB / 0.6567 GB, free: 11.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.14, allocations: 119.5 kB / 0.6568 GB, free: 11.78 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.1401, allocations: 111 kB / 0.657 GB, free: 11.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1401, allocations: 0 / 0.657 GB, free: 11.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003574/0.1405, allocations: 269.2 kB / 0.6572 GB, free: 11.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1405, allocations: 4 kB / 0.6572 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1405, allocations: 0 / 0.6572 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1405, allocations: 7.938 kB / 0.6572 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.1407, allocations: 60.59 kB / 0.6573 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1408, allocations: 0.6875 kB / 0.6573 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.1409, allocations: 28.36 kB / 0.6573 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.1409, allocations: 13.64 kB / 0.6573 GB, free: 11.3 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: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 0.0001375/0.1411, allocations: 169.6 kB / 0.6575 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.1411, allocations: 27.62 kB / 0.6575 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005714/0.1417, allocations: 384.5 kB / 0.6579 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1417, allocations: 4 kB / 0.6579 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.1417, allocations: 0 / 0.6579 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1417, allocations: 3.984 kB / 0.6579 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.142, allocations: 325.3 kB / 0.6582 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.142, allocations: 0 / 0.6582 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.1422, allocations: 59.91 kB / 0.6583 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1422, allocations: 0.7812 kB / 0.6583 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.1422, allocations: 11.98 kB / 0.6583 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1422, allocations: 5.062 kB / 0.6583 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1422, allocations: 3.938 kB / 0.6583 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.1426, allocations: 322.3 kB / 0.6586 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.1428, allocations: 148.6 kB / 0.6587 GB, free: 9.773 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.1428, allocations: 12 kB / 0.6587 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.1429, allocations: 15.98 kB / 0.6587 GB, free: 9.746 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.143, allocations: 27.91 kB / 0.6588 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.143, allocations: 8 kB / 0.6588 GB, free: 9.711 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.1432, allocations: 236.4 kB / 0.659 GB, free: 9.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1432, allocations: 4 kB / 0.659 GB, free: 9.477 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.1435, allocations: 56 kB / 0.6591 GB, free: 9.422 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 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007722/0.1443, allocations: 401.2 kB / 0.6594 GB, free: 9.164 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.1446, allocations: 227.8 kB / 0.6597 GB, free: 8.941 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1446, allocations: 4 kB / 0.6597 GB, free: 8.938 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.1448, allocations: 123.9 kB / 0.6598 GB, free: 8.816 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.145, allocations: 26.53 kB / 0.6598 GB, free: 8.793 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.1456, allocations: 0.5623 MB / 0.6604 GB, free: 8.211 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.1459, allocations: 0.7574 MB / 0.6611 GB, free: 7.426 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000263/0.1462, allocations: 138.9 kB / 0.6612 GB, free: 7.289 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.1463, allocations: 43.41 kB / 0.6613 GB, free: 7.246 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1463, allocations: 4 kB / 0.6613 GB, free: 7.242 MB / 462.1 MB Notification: Performance of Templates: time 0.005288/0.1516, allocations: 2.769 MB / 0.664 GB, free: 4.496 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) Environment - environmentSimulation: