Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001857/0.001857, allocations: 188 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001999/0.001999, allocations: 287.1 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9653/0.9653, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001674, allocations: 90.98 kB / 0.5947 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1637, allocations: 86.98 MB / 0.6796 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002446/0.1661, allocations: 1.317 MB / 0.6809 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.1681, allocations: 1.419 MB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.1682, allocations: 0 / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.1682, allocations: 3.938 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.1684, allocations: 11.12 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.1689, allocations: 197.7 kB / 0.6825 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.11e-05/0.169, allocations: 27.84 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.169, allocations: 4 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.098e-05/0.1691, allocations: 16 kB / 0.6826 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1693, allocations: 16.78 kB / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.1693, allocations: 0 / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.1695, allocations: 147.8 kB / 0.6827 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.1695, allocations: 8.672 kB / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.1696, allocations: 15.92 kB / 0.6827 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.1698, allocations: 140.5 kB / 0.6829 GB, free: 13.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1698, allocations: 0.9062 kB / 0.6829 GB, free: 13.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1698, allocations: 0 / 0.6829 GB, free: 13.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1698, allocations: 4 kB / 0.6829 GB, free: 13.73 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003541/0.1702, allocations: 364.7 kB / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.1702, allocations: 12.03 kB / 0.6832 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.1703, allocations: 84.12 kB / 0.6833 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.1704, allocations: 247.6 kB / 0.6835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/0.1705, allocations: 158.9 kB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.1705, allocations: 158.7 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.969e-05/0.1706, allocations: 105 kB / 0.684 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.1706, allocations: 83.22 kB / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.489e-05/0.1707, allocations: 150.6 kB / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-05/0.1708, allocations: 150.6 kB / 0.6843 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.301e-05/0.1708, allocations: 150.6 kB / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.1711, allocations: 453.9 kB / 0.6849 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.478e-05/0.1712, allocations: 173.1 kB / 0.6851 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.1712, allocations: 92.06 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.1713, allocations: 75.28 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.1713, allocations: 105.8 kB / 0.6853 GB, free: 11.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.1713, allocations: 0 / 0.6853 GB, free: 11.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.14e-05/0.1714, allocations: 33.64 kB / 0.6854 GB, free: 11.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.1715, allocations: 130.7 kB / 0.6855 GB, free: 10.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.1715, allocations: 101.8 kB / 0.6856 GB, free: 10.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1716, allocations: 29.7 kB / 0.6856 GB, free: 10.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.1716, allocations: 84.14 kB / 0.6857 GB, free: 10.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.1716, allocations: 0 / 0.6857 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.1717, allocations: 17.72 kB / 0.6857 GB, free: 10.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1718, allocations: 318.8 kB / 0.686 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.1718, allocations: 4 kB / 0.686 GB, free: 10.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.255e-05/0.1718, allocations: 26.56 kB / 0.686 GB, free: 10.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.611e-05/0.1719, allocations: 26.52 kB / 0.6861 GB, free: 10.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1719, allocations: 0 / 0.6861 GB, free: 10.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001198/0.172, allocations: 57.58 kB / 0.6861 GB, free: 10.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.172, allocations: 10.33 kB / 0.6861 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.172, allocations: 0 / 0.6861 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.1721, allocations: 0 / 0.6861 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.034e-05/0.1721, allocations: 8 kB / 0.6861 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1721, allocations: 0 / 0.6861 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.1723, allocations: 11.84 kB / 0.6861 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1723, allocations: 7.984 kB / 0.6861 GB, free: 10.12 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.925e-05/0.1724, allocations: 194.5 kB / 0.6863 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.1725, allocations: 108.9 kB / 0.6864 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.1725, allocations: 104.1 kB / 0.6865 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.985e-05/0.1726, allocations: 184.2 kB / 0.6867 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.567e-05/0.1726, allocations: 176.3 kB / 0.6869 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.948e-05/0.1727, allocations: 188.3 kB / 0.6871 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.1729, allocations: 413.1 kB / 0.6875 GB, free: 8.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.091e-05/0.173, allocations: 105 kB / 0.6876 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.409e-05/0.173, allocations: 109 kB / 0.6877 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.369e-05/0.1731, allocations: 184.2 kB / 0.6878 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.455e-05/0.1731, allocations: 180.6 kB / 0.688 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.55e-05/0.1732, allocations: 196.3 kB / 0.6882 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.343e-05/0.1733, allocations: 176.3 kB / 0.6884 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.1734, allocations: 307.7 kB / 0.6887 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.328e-05/0.1735, allocations: 182 kB / 0.6888 GB, free: 7.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.833e-05/0.1736, allocations: 180.2 kB / 0.689 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.564e-05/0.1736, allocations: 109 kB / 0.6891 GB, free: 6.883 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/0.1737, allocations: 180.2 kB / 0.6893 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.1737, allocations: 101 kB / 0.6894 GB, free: 6.594 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.082e-05/0.1738, allocations: 87.27 kB / 0.6895 GB, free: 6.508 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1738, allocations: 0 / 0.6895 GB, free: 6.508 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002993/0.1741, allocations: 55.98 kB / 0.6895 GB, free: 6.453 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004949/0.1746, allocations: 335.1 kB / 0.6898 GB, free: 6.152 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.414e-05/0.1747, allocations: 15.94 kB / 0.6898 GB, free: 6.137 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1747, allocations: 0 / 0.6898 GB, free: 6.137 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.1747, allocations: 0 / 0.6898 GB, free: 6.137 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.1751, allocations: 459.6 kB / 0.6903 GB, free: 5.684 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002129/0.1753, allocations: 185.5 kB / 0.6905 GB, free: 5.477 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.1755, allocations: 0.6729 MB / 0.6911 GB, free: 4.777 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.042e-05/0.1755, allocations: 3.938 kB / 0.6911 GB, free: 4.773 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.187e-05/0.1756, allocations: 11.44 kB / 0.6911 GB, free: 4.766 MB / 494.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1756, allocations: 0 / 0.6911 GB, free: 4.766 MB / 494.1 MB Notification: Performance of Templates: time 0.003672/0.1792, allocations: 1.621 MB / 0.6927 GB, free: 3.188 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)