Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002027/0.002027, allocations: 283 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.944/0.944, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 93.73 kB / 0.5952 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1508, allocations: 86.97 MB / 0.6802 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002323/0.1532, allocations: 1.238 MB / 0.6814 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1545, allocations: 1.004 MB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.1546, allocations: 3.938 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.1546, allocations: 0 / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.155, allocations: 108.1 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.206e-06/0.155, allocations: 4 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.205e-05/0.155, allocations: 3.938 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.1551, allocations: 4 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.362e-05/0.1551, allocations: 3.984 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.68e-05/0.1552, allocations: 11.98 kB / 0.6825 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.402e-06/0.1552, allocations: 0 / 0.6825 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.1554, allocations: 107.9 kB / 0.6826 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.729e-06/0.1554, allocations: 0 / 0.6826 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.357e-05/0.1554, allocations: 3.938 kB / 0.6826 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.1556, allocations: 99.88 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1556, allocations: 4 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1556, allocations: 4 kB / 0.6827 GB, free: 14.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.1556, allocations: 3.938 kB / 0.6827 GB, free: 14.06 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.0002839/0.1559, allocations: 351.7 kB / 0.6831 GB, free: 13.67 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1559, allocations: 12.03 kB / 0.6831 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.156, allocations: 76.22 kB / 0.6831 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.1561, allocations: 239.6 kB / 0.6834 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.892e-05/0.1562, allocations: 158.9 kB / 0.6835 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.1563, allocations: 150.9 kB / 0.6837 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.33e-05/0.1563, allocations: 109.1 kB / 0.6838 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.1563, allocations: 75.28 kB / 0.6838 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.1564, allocations: 150.6 kB / 0.684 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.891e-05/0.1565, allocations: 154.5 kB / 0.6841 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.316e-05/0.1565, allocations: 154.6 kB / 0.6843 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.1568, allocations: 445.9 kB / 0.6847 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.764e-05/0.1568, allocations: 173.2 kB / 0.6849 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.89e-05/0.1569, allocations: 80.14 kB / 0.6849 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.1569, allocations: 79.28 kB / 0.685 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.157, allocations: 109.8 kB / 0.6851 GB, free: 11.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.157, allocations: 0 / 0.6851 GB, free: 11.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.13e-05/0.157, allocations: 33.62 kB / 0.6852 GB, free: 11.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.1571, allocations: 134.7 kB / 0.6853 GB, free: 11.24 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.578e-05/0.1572, allocations: 89.86 kB / 0.6854 GB, free: 11.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.1572, allocations: 25.7 kB / 0.6854 GB, free: 11.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.1572, allocations: 88.27 kB / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.132e-06/0.1573, allocations: 0 / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/0.1573, allocations: 9.719 kB / 0.6855 GB, free: 11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1574, allocations: 310.8 kB / 0.6858 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.326e-06/0.1574, allocations: 3.938 kB / 0.6858 GB, free: 10.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-06/0.1574, allocations: 0.5156 kB / 0.6858 GB, free: 10.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.227e-05/0.1574, allocations: 79.28 kB / 0.6859 GB, free: 10.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.162e-05/0.1575, allocations: 79.28 kB / 0.6859 GB, free: 10.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.201e-05/0.1575, allocations: 41.56 kB / 0.686 GB, free: 10.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.1576, allocations: 79.28 kB / 0.6861 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.523e-05/0.1576, allocations: 79.28 kB / 0.6861 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.901e-05/0.1576, allocations: 150.6 kB / 0.6863 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.801e-05/0.1577, allocations: 79.34 kB / 0.6863 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.393e-05/0.1577, allocations: 154.6 kB / 0.6865 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.448e-05/0.1578, allocations: 87.22 kB / 0.6866 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.1579, allocations: 83.27 kB / 0.6867 GB, free: 9.781 MB / 494.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.719e-05/0.158, allocations: 257.7 kB / 0.6869 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/0.158, allocations: 104.9 kB / 0.687 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.1581, allocations: 116 kB / 0.6871 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.206e-05/0.1581, allocations: 180.3 kB / 0.6873 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-05/0.1582, allocations: 188.1 kB / 0.6875 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.465e-05/0.1583, allocations: 184.3 kB / 0.6876 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.1585, allocations: 401.2 kB / 0.688 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.86e-05/0.1585, allocations: 109 kB / 0.6881 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.1586, allocations: 104.9 kB / 0.6882 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.217e-05/0.1586, allocations: 188.2 kB / 0.6884 GB, free: 7.863 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.807e-05/0.1587, allocations: 180.3 kB / 0.6886 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.985e-05/0.1587, allocations: 180.2 kB / 0.6888 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.674e-05/0.1588, allocations: 176.3 kB / 0.6889 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.1589, allocations: 315.7 kB / 0.6892 GB, free: 6.984 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.159, allocations: 186 kB / 0.6894 GB, free: 6.777 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.474e-05/0.1591, allocations: 180.2 kB / 0.6896 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.1592, allocations: 105 kB / 0.6897 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.1592, allocations: 176.3 kB / 0.6898 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.1593, allocations: 108.9 kB / 0.6899 GB, free: 6.191 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.262e-05/0.1593, allocations: 83.28 kB / 0.69 GB, free: 6.109 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1593, allocations: 0 / 0.69 GB, free: 6.109 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.1596, allocations: 43.92 kB / 0.6901 GB, free: 6.066 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.0004537/0.1601, allocations: 311.6 kB / 0.6904 GB, free: 5.789 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 3.306e-05/0.1601, allocations: 4 kB / 0.6904 GB, free: 5.785 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1601, allocations: 0 / 0.6904 GB, free: 5.785 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.1601, allocations: 4 kB / 0.6904 GB, free: 5.781 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.1605, allocations: 460.4 kB / 0.6908 GB, free: 5.328 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.1607, allocations: 168.8 kB / 0.691 GB, free: 5.137 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.1609, allocations: 0.6729 MB / 0.6916 GB, free: 4.438 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.484e-06/0.1609, allocations: 0 / 0.6916 GB, free: 4.438 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.408e-05/0.1609, allocations: 11.44 kB / 0.6916 GB, free: 4.426 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.161, allocations: 4 kB / 0.6916 GB, free: 4.422 MB / 494.1 MB Notification: Performance of Templates: time 0.0029/0.1639, allocations: 0.9934 MB / 0.6926 GB, free: 3.465 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)