Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.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.Buildings.Constructions.Shadowing.Examples.Embrasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure") translateModel(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009047/0.0009047, allocations: 99.55 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.0009578/0.0009578, 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.186/1.186, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00167/0.00167, allocations: 270.7 kB / 291.2 MB, free: 1.93 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.7536/0.7536, allocations: 144.6 MB / 487 MB, free: 7.215 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003933, allocations: 20.14 kB / 0.5683 GB, free: 38.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1378, allocations: 83.08 MB / 0.6494 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure): time 0.004264/0.1421, allocations: 3.567 MB / 0.6529 GB, free: 52 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004808/0.147, allocations: 3.362 MB / 0.6562 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004096/0.1474, allocations: 4.625 kB / 0.6562 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.1477, allocations: 71.41 kB / 0.6563 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.149, allocations: 473.8 kB / 0.6567 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009636/0.15, allocations: 425.8 kB / 0.6571 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008821/0.1509, allocations: 0.638 MB / 0.6577 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002772/0.1512, allocations: 184.7 kB / 0.6579 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004536/0.1516, allocations: 359.3 kB / 0.6583 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005837/0.1522, allocations: 414.9 kB / 0.6587 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.1523, allocations: 41.2 kB / 0.6587 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008438/0.1532, allocations: 480.5 kB / 0.6592 GB, free: 9.652 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.1534, allocations: 179.3 kB / 0.6593 GB, free: 9.477 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.1536, allocations: 165.3 kB / 0.6595 GB, free: 9.309 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009718/0.1545, allocations: 0.975 MB / 0.6604 GB, free: 8.332 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.1546, allocations: 3.938 kB / 0.6604 GB, free: 8.328 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1546, allocations: 2.281 kB / 0.6604 GB, free: 8.328 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.1546, allocations: 0 / 0.6604 GB, free: 8.328 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002075/0.1567, allocations: 1.041 MB / 0.6615 GB, free: 7.242 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.1567, allocations: 8.531 kB / 0.6615 GB, free: 7.234 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002925/0.1596, allocations: 0.6038 MB / 0.6621 GB, free: 6.629 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.1609, allocations: 0.6506 MB / 0.6627 GB, free: 5.938 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.1612, allocations: 305.3 kB / 0.663 GB, free: 5.586 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.1613, allocations: 79.94 kB / 0.6631 GB, free: 5.508 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.163, allocations: 1.007 MB / 0.664 GB, free: 4.461 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.163, allocations: 4 kB / 0.6641 GB, free: 4.457 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-05/0.1631, allocations: 39.98 kB / 0.6641 GB, free: 4.418 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.1632, allocations: 23.94 kB / 0.6641 GB, free: 4.395 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.1652, allocations: 1.038 MB / 0.6651 GB, free: 3.359 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004461/0.1697, allocations: 2.952 MB / 0.668 GB, free: 332 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003346/0.1731, allocations: 1.428 MB / 0.6694 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002361/0.1754, allocations: 2.597 MB / 0.6719 GB, free: 11.67 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.1765, allocations: 0.5437 MB / 0.6725 GB, free: 11.12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 2.736e-06/0.1766, allocations: 4 kB / 0.6725 GB, free: 11.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.002902/0.1795, allocations: 1.323 MB / 0.6738 GB, free: 9.781 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.1795, allocations: 111.8 kB / 0.6739 GB, free: 9.648 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.1801, allocations: 0.5029 MB / 0.6744 GB, free: 9.141 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.111e-05/0.1801, allocations: 41.7 kB / 0.6744 GB, free: 9.094 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.1804, allocations: 328.1 kB / 0.6747 GB, free: 8.766 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.1806, allocations: 295.8 kB / 0.675 GB, free: 8.473 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.1807, allocations: 16 kB / 0.675 GB, free: 8.457 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1808, allocations: 378.7 kB / 0.6754 GB, free: 8.078 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008518/0.1817, allocations: 393.7 kB / 0.6758 GB, free: 7.691 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009325/0.1826, allocations: 0.5296 MB / 0.6763 GB, free: 7.117 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009088/0.1835, allocations: 438.8 kB / 0.6767 GB, free: 6.691 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1835, allocations: 0 / 0.6767 GB, free: 6.691 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002145/0.1857, allocations: 1.094 MB / 0.6778 GB, free: 5.59 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1857, allocations: 8.281 kB / 0.6778 GB, free: 5.582 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.1857, allocations: 4 kB / 0.6778 GB, free: 5.578 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.1858, allocations: 8 kB / 0.6778 GB, free: 5.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.1869, allocations: 259.5 kB / 0.678 GB, free: 5.316 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.1869, allocations: 8 kB / 0.678 GB, free: 5.309 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008014/0.1877, allocations: 134.9 kB / 0.6782 GB, free: 5.176 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.16e-05/0.1878, allocations: 43.95 kB / 0.6782 GB, free: 5.133 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.weaDat.weatherData.conTim.tNext,weaDat.weatherData.conTim.tNext,radEast.outsidePolarCircle,radSouth.outsidePolarCircle,radWest.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 114 * 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.000303/0.1881, allocations: 223.5 kB / 0.6784 GB, free: 4.906 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.1882, allocations: 71.16 kB / 0.6785 GB, free: 4.836 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002988/0.1912, allocations: 1.411 MB / 0.6799 GB, free: 3.414 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.1912, allocations: 12 kB / 0.6799 GB, free: 3.402 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.1913, allocations: 7.953 kB / 0.6799 GB, free: 3.395 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.1913, allocations: 3.984 kB / 0.6799 GB, free: 3.391 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003456/0.1947, allocations: 2.203 MB / 0.682 GB, free: 1.129 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.1948, allocations: 0 / 0.682 GB, free: 1.129 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.1958, allocations: 247.7 kB / 0.6823 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.1959, allocations: 8 kB / 0.6823 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/0.1959, allocations: 31.97 kB / 0.6823 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.196, allocations: 7.984 kB / 0.6823 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.196, allocations: 0 / 0.6823 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/0.1981, allocations: 1.214 MB / 0.6835 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.1985, allocations: 283.6 kB / 0.6838 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.1986, allocations: 20 kB / 0.6838 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006906/0.1993, allocations: 67.94 kB / 0.6839 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.1994, allocations: 72.89 kB / 0.6839 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.002e-05/0.1995, allocations: 43.97 kB / 0.684 GB, free: 15.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003441/0.1999, allocations: 350.8 kB / 0.6843 GB, free: 14.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1999, allocations: 0 / 0.6843 GB, free: 14.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007669/0.2007, allocations: 299.6 kB / 0.6846 GB, free: 14.48 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: 2 ($whenCondition1,weaDat.weatherData.conTim.tNext) * Number of discrete states: 1 (weaDat.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 123 * 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.001046/0.2017, allocations: 0.5331 MB / 0.6851 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002014/0.2037, allocations: 1.012 MB / 0.6861 GB, free: 13.08 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2038, allocations: 4.25 kB / 0.6861 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.2048, allocations: 0.5677 MB / 0.6867 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.2053, allocations: 91.97 kB / 0.6867 GB, free: 12.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.2078, allocations: 1.872 MB / 0.6886 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.2084, allocations: 0.9859 MB / 0.6895 GB, free: 9.508 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009882/0.2094, allocations: 221.9 kB / 0.6897 GB, free: 9.289 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/0.2097, allocations: 115.3 kB / 0.6899 GB, free: 9.176 MB / 494.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2097, allocations: 0 / 0.6899 GB, free: 9.176 MB / 494.1 MB Notification: Performance of Templates: time 0.01646/0.2262, allocations: 11.23 MB / 0.7008 GB, free: 14.01 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.sim & ./BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe 2>&1) Environment - environmentSimulation: